Rook ceph
Jump to navigation
Jump to search
Uninstalling - note finalizer change
https://rook.io/docs/rook/v1.12/Getting-Started/ceph-teardown/#troubleshooting
helm upgrade --install --namespace rook-ceph rook-ceph rook-release/rook-ceph --set csi.kubeletDirPath="/var/snap/microk8s/common/var/lib/kubelet/"
helm upgrade --install --namespace rook-ceph rook-ceph-cluster \ --set operatorNamespace=rook-ceph rook-release/rook-ceph-cluster --set cephBlockPoolsVolumeSnapshotClass.enabled="true" \ --set-string cephBlockPoolsVolumeSnapshotClass.labels."velero\.io/csi-volumesnapshot-class=true"
Bump CPU
host=k8s1; lxc stop $host --force; lxc config set $host limits.cpu=16 limits.memory=32GB; lxc start $host
https://rook.io/v1.11/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot/
https://github.com/ceph/ceph-csi/blob/devel/docs/snap-clone.md#create-rbd-snapshot-and-clone-volume
Add label to snapshot class
https://velero.io/docs/main/csi/
kubectl edit volumesnapshotclass ceph-block
add label
velero.io/csi-volumesnapshot-class: "true"