Difference between revisions of "Rook ceph"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | ``` | ||
+ | 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" | ||
+ | ``` | ||
+ | |||
https://rook.io/v1.11/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot/ | https://rook.io/v1.11/Storage-Configuration/Ceph-CSI/ceph-csi-snapshot/ | ||
Line 13: | Line 23: | ||
velero.io/csi-volumesnapshot-class: "true" | velero.io/csi-volumesnapshot-class: "true" | ||
``` | ``` | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
# Notes | # Notes | ||
https://github.com/rook/rook/issues/3203 | https://github.com/rook/rook/issues/3203 |
Revision as of 15:03, 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"
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"