Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 23 additions & 27 deletions modules/persistent-storage-local-install.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,39 +59,35 @@ Once finished, the Local Storage Operator will be listed in the *Installed Opera
.From the CLI
. Install the Local Storage Operator from the CLI.

.. Create an object YAML file to define a Namespace, OperatorGroup, and Subscription for the Local Storage Operator,
.. Create an object YAML file to define an Operator group and subscription for the Local Storage Operator,
such as `local-storage.yaml`:
+
.Example local-storage
[source,yaml]
----
apiVersion: v1
kind: Namespace
metadata:
name: local-storage
apiVersion: operators.coreos.com/v1alpha2
kind: OperatorGroup
metadata:
name: local-operator-group
namespace: local-storage
spec:
targetNamespaces:
- local-storage
---
apiVersion: operators.coreos.com/v1alpha2
kind: OperatorGroup
metadata:
name: local-operator-group
namespace: local-storage
spec:
targetNamespaces:
- local-storage
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: local-storage-operator
namespace: local-storage
spec:
channel: "{product-version}" <1>
installPlanApproval: Automatic
name: local-storage-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: local-storage-operator
namespace: local-storage
spec:
channel: <channel_version> <1>
installPlanApproval: Automatic <2>
name: local-storage-operator
source: redhat-operators
sourceNamespace: openshift-marketplace
----
<1> This field can be edited to match your release selection of {product-title}.
<2> The user approval policy for an install plan.

. Create the Local Storage Operator object by entering the following command:
+
Expand All @@ -102,9 +98,9 @@ $ oc apply -f local-storage.yaml
+
At this point, the Operator Lifecycle Manager (OLM) is now aware of the Local Storage Operator. A ClusterServiceVersion (CSV) for the Operator should appear in the target namespace, and APIs provided by the Operator should be available for creation.
+
. Verify local storage installation by checking that all Pods and the Local Storage Operator have been created:
. Verify local storage installation by checking that all pods and the Local Storage Operator have been created:

.. Check that all the required Pods have been created:
.. Check that all the required pods have been created:
+
[source,terminal]
----
Expand Down