Supporting multiple kubelet root dirs across a cluster with CephFS in Kubernetes #4565
Labels
component/deployment
Helm chart, kubernetes templates and configuration Issues/PRs
wontfix
This will not be worked on
Description:
We're running a Kubernetes (k8s) cluster with some machines where each machine has a different kubelet root directory configured as follows:
Machine 1: /container/k8s
Machine 2: /data/k8s
Machine 3: /var/lib/kubelet
The default CephFS configuration examples typically use a single hostPath like this:
Yaml
hostPath:
path: /var/lib/kubelet/...
However, this doesn't account for our multi-root directory setup. How can we configure ceph-csi (specifically for CephFS) to work seamlessly across all nodes considering their differing kubelet root directories?
Question:
What is the recommended approach to ensure that ceph-csi with CephFS can handle multiple kubelet root directories on a 3-node k8s cluster? Are there any best practices or specific configurations within ceph-csi or Kubernetes to accommodate such a scenario?
The text was updated successfully, but these errors were encountered: