tips:ceph-on-k0s

This is an old revision of the document!


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
  • tips/ceph-on-k0s.1730359948.txt.gz
  • Last modified: 2024/10/31 08:32
  • by igor