You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CKS: option to deploy the Ceph CSI RBD driver when a cluster is created #14905
As an operator of a zone whose primary storage is Ceph RBD, I would like CKS to deploy the Ceph CSI RBD driver (ceph-csi) when it creates a cluster, so the cluster gets Ceph-backed PersistentVolumes without a manual install.
Today the only storage CKS sets up is the CloudStack CSI driver (enablecsi). It attaches each volume to the node VM through the hypervisor. Clusters that should use the Ceph cluster directly need ceph-csi installed by hand after every create:
the driver's manifests and images,
a ConfigMap with the Ceph monitors,
a Secret with a Ceph user and its key,
a StorageClass for the pool.
Proposal:
createKubernetesCluster takes the Ceph monitors, an RBD pool, a Ceph user and its key.
The binaries ISO carries the ceph-csi manifests and images for a pinned release, so nodes don't pull them from the internet.
On create, CKS applies them with a default StorageClass on that pool. The key never goes on a command line or into the node's user data.
Deleting the cluster deletes its PVCs that have reclaim policy Delete, as it does for the CloudStack CSI driver, so their RBD images don't stay behind in the pool.
Activity