@@ -830,11 +830,11 @@ GitHub project has [instructions](https://github.com/quobyte/quobyte-csi#quobyte
830
830
# ## rbd
831
831
832
832
An `rbd` volume allows a
833
- [Rados Block Device](https://docs.ceph.com/en/latest/rbd/) (RBD) volume to mount into your
834
- Pod. Unlike `emptyDir`, which is erased when a pod is removed, the contents of
835
- an `rbd` volume are preserved and the volume is unmounted. This
836
- means that a RBD volume can be pre-populated with data, and that data can
837
- be shared between pods.
833
+ [Rados Block Device](https://docs.ceph.com/en/latest/rbd/) (RBD) volume to mount
834
+ into your Pod. Unlike `emptyDir`, which is erased when a pod is removed, the
835
+ contents of an `rbd` volume are preserved and the volume is unmounted. This
836
+ means that a RBD volume can be pre-populated with data, and that data can be
837
+ shared between pods.
838
838
839
839
{{< note >}}
840
840
You must have a Ceph installation running before you can use RBD.
@@ -849,6 +849,38 @@ Simultaneous writers are not allowed.
849
849
See the [RBD example](https://github.com/kubernetes/examples/tree/master/volumes/rbd)
850
850
for more details.
851
851
852
+ # ### RBD CSI migration {#rbd-csi-migration}
853
+
854
+ {{< feature-state for_k8s_version="v1.23" state="alpha" >}}
855
+
856
+ The `CSIMigration` feature for `RBD`, when enabled, redirects all plugin
857
+ operations from the existing in-tree plugin to the `rbd.csi.ceph.com` {{<
858
+ glossary_tooltip text="CSI" term_id="csi" >}} driver. In order to use this
859
+ feature, the
860
+ [Ceph CSI driver](https://github.com/ceph/ceph-csi)
861
+ must be installed on the cluster and the `CSIMigration` and `CSIMigrationRBD`
862
+ [feature gates](/docs/reference/command-line-tools-reference/feature-gates/)
863
+ must be enabled.
864
+
865
+ {{< note >}}
866
+
867
+ As a Kubernetes cluster operator that administers storage, here are the
868
+ prerequisites that you must complete before you attempt migration to the
869
+ RBD CSI driver :
870
+
871
+ * You must install the Ceph CSI driver (`rbd.csi.ceph.com`), v3.5.0 or above,
872
+ into your Kubernetes cluster.
873
+ * considering the `clusterID` field is a required parameter for CSI driver for
874
+ its operations, but in-tree StorageClass has `monitors` field as a required
875
+ parameter, a Kubernetes storage admin has to create a clusterID based on the
876
+ monitors hash ( ex:`#echo -n
877
+ ' <monitors_string>' | md5sum`) in the CSI config map and keep the monitors
878
+ under this clusterID configuration.
879
+ * Also, if the value of `adminId` in the in-tree Storageclass is different from
880
+ ` admin` , the `adminSecretName` mentioned in the in-tree Storageclass has to be
881
+ patched with the base64 value of the `adminId` parameter value, otherwise this
882
+ step can be skipped. {{< /note >}}
883
+
852
884
# ## secret
853
885
854
886
A `secret` volume is used to pass sensitive information, such as passwords, to
0 commit comments