본문으로 건너뛰기

Rook Ceph

Rook

https://rook.io/docs/rook/latest-release/Getting-Started/storage-architecture/#architecture

Rook Operator 설치

helm repo add rook-release https://charts.rook.io/release
helm repo update rook-release \
&& helm search repo rook-release/rook-ceph -l | head -n 10
helm pull rook-release/rook-ceph --version v1.15.6
helm show values rook-release/rook-ceph --version v1.15.6 > rook-ceph-v1.15.6.yaml
rook-ceph-values.yaml
crds:
enabled: true

resources:
requests:
cpu: 200m
memory: 128Mi
limits:
cpu: "1"
memory: 512Mi

tolerations: []

csi:
enableRbdDriver: false
enableCephfsDriver: false

kubeletDirPath: /var/lib/kubelet

enforceHostNetwork: false
helm template rook-ceph rook-ceph-v1.15.6.tgz \
-n rook-ceph \
-f rook-ceph-values.yaml \
> rook-ceph.yaml
helm upgrade rook-ceph rook-ceph-v1.15.6.tgz \
--install \
--history-max 5 \
-n rook-ceph \
-f rook-ceph-values.yaml

업그레이드

  • rook-ceph(Operator)을 업그레이드 합니다.
  • CR을 업그레이드 합니다.

삭제

helm uninstall rook-ceph -n rook-ceph
kubectl get crd -oname | grep --color=never 'ceph.rook.io\|objectbucket.io' | xargs kubectl delete