Difference between revisions of "Rook ceph"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
--set operatorNamespace=rook-ceph rook-release/rook-ceph-cluster --set cephBlockPoolsVolumeSnapshotClass.enabled="true" \ | --set operatorNamespace=rook-ceph rook-release/rook-ceph-cluster --set cephBlockPoolsVolumeSnapshotClass.enabled="true" \ | ||
--set-string cephBlockPoolsVolumeSnapshotClass.labels."velero\.io/csi-volumesnapshot-class=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 | ||
``` | ``` | ||
Revision as of 15:57, 5 July 2023
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"