OpenShift Container Storage is now OpenShift Data Foundation starting with version 4.9.
Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 2. Installing the OpenShift Data Foundation Logical Volume Manager Operator using RHACM
The OpenShift Data Foundation Logical Volume Manager Operator is deployed on single node OpenShift (SNO) clusters using Red Hat Advanced Cluster Management for Kubernetes (RHACM). You create a Policy on RHACM that deploys and configures the operator when it is applied to managed clusters which match the selector specified in the PlacementRule
. The policy is also be applied to clusters that are imported later and satisfy the PlacementRule
.
Prerequisites
-
Access to the RHACM cluster using an account with
cluster-admin
and operator installation permissions. - Dedicated disks on each SNO cluster to be used by OpenShift Data Foundation Logical Volume Manager Operator.
Ensure that no other storage provisioner is installed on the SNO cluster. OpenShift Data Foundation Logical Volume Manager Operator should be the only storage provisioner as it uses all available disks on the node.
Procedure
Log in to the RHACM CLI using your OpenShift credentials.
For more information, see Install Red Hat Advanced Cluster Management for Kubernetes.
Create a namespace.
oc create ns lvm-policy-ns
# oc create ns lvm-policy-ns
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create the policy YAML in the namespace.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Run the following command:
oc create -f policy-lvm-operator.yaml -n lvm-policy-ns
# oc create -f policy-lvm-operator.yaml -n lvm-policy-ns
Copy to Clipboard Copied! Toggle word wrap Toggle overflow This creates a
Policy
, aPlacementRule
, and aPlacementBinding
. ThePolicy
creates aNamespace
,OperatorGroup
,Subscription
, andLVMCluster
resource. This deploys the operator on the SNO clusters which match the selection criteria and configures it to set up the required resources in order to provision storage. The operator uses all the unused disks after installation.