mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
105 lines
3.9 KiB
Plaintext
105 lines
3.9 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// persistent-storage-csi-vsphere.adoc
|
|
// persistent-storage-csi-azure.adoc
|
|
|
|
ifeval::["{context}" == "persistent-storage-csi-vsphere"]
|
|
:vsphere:
|
|
endif::[]
|
|
ifeval::["{context}" == "persistent-storage-csi-azure"]
|
|
:azure:
|
|
endif::[]
|
|
|
|
[id="csi-tp-enable_{context}"]
|
|
= Enabling the {FeatureName} CSI Driver Operator
|
|
To enable the {FeatureName} Container Storage Interface (CSI) Driver Operator, you must enable feature gates with the `TechPreviewNoUpgrade` feature set.
|
|
|
|
.Procedure
|
|
|
|
. Enable feature gates with the `TechPreviewNoUpgrade` feature set (see _Nodes_ -> _Enabling features using feature gates_).
|
|
|
|
+
|
|
[IMPORTANT]
|
|
====
|
|
After turning Technology Preview features on by using feature gates, they cannot be turned off and cluster upgrades are prevented.
|
|
====
|
|
. Verify the cluster operator storage:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get co storage
|
|
----
|
|
+
|
|
[source, terminal]
|
|
----
|
|
NAME VERSION AVAILABLE PROGRESSING DEGRADED SINCE
|
|
storage 4.9.0-0.nightly-2021-09-08-162532 True False False 4h26m
|
|
----
|
|
+
|
|
* `AVAILABLE` should be "True".
|
|
* `PROGRESSING` should be "False".
|
|
* `DEGRADED` should be "False".
|
|
|
|
. Verify the status of the pods in the `openshift-cluster-csi-drivers` namespace to ensure that they are running:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get pod -n openshift-cluster-csi-drivers
|
|
----
|
|
+
|
|
ifdef::vsphere[]
|
|
[source, terminal]
|
|
----
|
|
NAME READY STATUS RESTARTS AGE
|
|
vmware-vsphere-csi-driver-controller-5646dbbf54-cnsx7 9/9 Running 0 4h29m
|
|
vmware-vsphere-csi-driver-node-ch22q 3/3 Running 0 4h37m
|
|
vmware-vsphere-csi-driver-node-gfjrb 3/3 Running 0 4h37m
|
|
vmware-vsphere-csi-driver-node-ktlmp 3/3 Running 0 4h37m
|
|
vmware-vsphere-csi-driver-node-lgksl 3/3 Running 0 4h37m
|
|
vmware-vsphere-csi-driver-node-vb4gv 3/3 Running 0 4h37m
|
|
vmware-vsphere-csi-driver-operator-7c7fc474c-p544t 1/1 Running 0 4h29m
|
|
----
|
|
endif::vsphere[]
|
|
|
|
ifdef::azure[]
|
|
[source, terminal]
|
|
----
|
|
NAME READY STATUS RESTARTS AGE
|
|
azure-disk-csi-driver-controller-5949bf45fd-pm4qb 11/11 Running 0 39m
|
|
azure-disk-csi-driver-node-2tcxr 3/3 Running 0 53m
|
|
azure-disk-csi-driver-node-2xjzm 3/3 Running 0 53m
|
|
azure-disk-csi-driver-node-6wrgk 3/3 Running 0 53m
|
|
azure-disk-csi-driver-node-frvx2 3/3 Running 0 53m
|
|
azure-disk-csi-driver-node-lf5kb 3/3 Running 0 53m
|
|
azure-disk-csi-driver-node-mqdhh 3/3 Running 0 53m
|
|
azure-disk-csi-driver-operator-7d966fc6c5-x74x5 1/1 Running 0 44m
|
|
----
|
|
endif::azure[]
|
|
|
|
. Verify that the storage class is installed:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get storageclass
|
|
----
|
|
+
|
|
ifdef::vsphere[]
|
|
[source,terminal]
|
|
----
|
|
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
|
|
thin (default) kubernetes.io/vsphere-volume Delete Immediate false 5h43m
|
|
thin-csi csi.vsphere.vmware.com Delete WaitForFirstConsumer false 4h38m <1>
|
|
----
|
|
<1> vSphere storage class
|
|
endif::vsphere[]
|
|
|
|
ifdef::azure[]
|
|
[source,terminal]
|
|
----
|
|
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
|
|
managed-premium (default) kubernetes.io/azure-disk Delete WaitForFirstConsumer true 76m
|
|
managed-csi disk.csi.azure.com Delete WaitForFirstConsumer true 51m <1>
|
|
----
|
|
<1> Azure storage class
|
|
endif::azure[]
|