@@ -956,11 +956,11 @@ GitHub project has [instructions](https://github.com/quobyte/quobyte-csi#quobyte
956
956
# ## rbd
957
957
958
958
An `rbd` volume allows a
959
- [Rados Block Device](https://docs.ceph.com/en/latest/rbd/) (RBD) volume to mount into your
960
- Pod. Unlike `emptyDir`, which is erased when a pod is removed, the contents of
961
- an `rbd` volume are preserved and the volume is unmounted. This
962
- means that a RBD volume can be pre-populated with data, and that data can
963
- be shared between pods.
959
+ [Rados Block Device](https://docs.ceph.com/en/latest/rbd/) (RBD) volume to mount
960
+ into your Pod. Unlike `emptyDir`, which is erased when a pod is removed, the
961
+ contents of an `rbd` volume are preserved and the volume is unmounted. This
962
+ means that a RBD volume can be pre-populated with data, and that data can be
963
+ shared between pods.
964
964
965
965
{{< note >}}
966
966
You must have a Ceph installation running before you can use RBD.
@@ -975,6 +975,38 @@ Simultaneous writers are not allowed.
975
975
See the [RBD example](https://github.com/kubernetes/examples/tree/master/volumes/rbd)
976
976
for more details.
977
977
978
+ # ### RBD CSI migration {#rbd-csi-migration}
979
+
980
+ {{< feature-state for_k8s_version="v1.23" state="alpha" >}}
981
+
982
+ The `CSIMigration` feature for `RBD`, when enabled, redirects all plugin
983
+ operations from the existing in-tree plugin to the `rbd.csi.ceph.com` {{<
984
+ glossary_tooltip text="CSI" term_id="csi" >}} driver. In order to use this
985
+ feature, the
986
+ [Ceph CSI driver](https://github.com/ceph/ceph-csi)
987
+ must be installed on the cluster and the `CSIMigration` and `CSIMigrationRBD`
988
+ [feature gates](/docs/reference/command-line-tools-reference/feature-gates/)
989
+ must be enabled.
990
+
991
+ {{< note >}}
992
+
993
+ As a Kubernetes cluster operator that administers storage, here are the
994
+ prerequisites that you must complete before you attempt migration to the
995
+ RBD CSI driver :
996
+
997
+ * You must install the Ceph CSI driver (`rbd.csi.ceph.com`), v3.5.0 or above,
998
+ into your Kubernetes cluster.
999
+ * considering the `clusterID` field is a required parameter for CSI driver for
1000
+ its operations, but in-tree StorageClass has `monitors` field as a required
1001
+ parameter, a Kubernetes storage admin has to create a clusterID based on the
1002
+ monitors hash ( ex:`#echo -n
1003
+ ' <monitors_string>' | md5sum`) in the CSI config map and keep the monitors
1004
+ under this clusterID configuration.
1005
+ * Also, if the value of `adminId` in the in-tree Storageclass is different from
1006
+ ` admin` , the `adminSecretName` mentioned in the in-tree Storageclass has to be
1007
+ patched with the base64 value of the `adminId` parameter value, otherwise this
1008
+ step can be skipped. {{< /note >}}
1009
+
978
1010
# ## secret
979
1011
980
1012
A `secret` volume is used to pass sensitive information, such as passwords, to
0 commit comments