ceph come storage backend

Su ceph creare un pool per kubernetes (che ho chiamato appunto kubernetes)

ubuntu@joint-mongoose:~$ helm repo add ceph-csi https://ceph.github.io/csi-charts
ubuntu@joint-mongoose:~$ helm show values ceph-csi/ceph-csi-rbd > ceph-csi-helm.yaml
# kubelet working directory,can be set using `--root-dir` when starting kubelet.
kubeletDir: /var/lib/k0s/kubelet

Editare lo yaml, aggiungendo le informazioni necessarie etc… ripiglia il default e fai un diff

Installare il chart:

ubuntu@joint-mongoose:~$ helm install --namespace "ceph-csi-rbd" "ceph-csi-rbd" ceph-csi/ceph-csi-rbd
NAME: ceph-csi-rbd
LAST DEPLOYED: Wed Oct 30 10:58:07 2024
NAMESPACE: ceph-csi-rbd
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
Examples on how to configure a storage class and start using the driver are here:
https://github.com/ceph/ceph-csi/tree/v3.12.2/examples/rbd