adding a second Ceph cluster to MicroK8s #5002
-
I have two Ceph clusters (one dedicated to provisioning block devices to MicroK8s and another that is one big CephFS volume for documents and other media). The first one has already been added to my MicroK8s cluster and that added both the CephFS and RBD plugins, the latter of which is all I actually needed for that purpose. Now I want to add the second one so I can optionally mount some of its directories within my containers but I haven't found much documentation about how to add multiple Ceph clusters. I did read that they need to be in separate namespaces. Are there any Ceph CSI resources that should be shared between both clusters or do I need a completely separate Ceph CSI deployment for the second cluster? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@duffrecords you can add one more cluster with a different clusterID and use that clusterID in the storageclass to create PVC from. the clusterID is an arbitrary value to point to which the ceph cluster is to be considered to provision the pvc. |
Beta Was this translation helpful? Give feedback.
-
So is it just a matter of editing the existing ConfigMap and creating a StorageClass and then the existing |
Beta Was this translation helpful? Give feedback.
@duffrecords you can add one more cluster with a different clusterID
ceph-csi/deploy/csi-config-map-sample.yaml
Line 70 in a32ba13