Skip to content

pv migrate

Émilien Devos edited this page Mar 23, 2022 · 2 revisions

create another PVC like this:

kubectl get pvc -n cloud nextcloud-nextcloud -o yaml

values.yaml:

sshd:
  tolerations:
    - effect: NoExecute
      key: dedicated-server
      operator: Equal
      value: "true"
rsync:
  tolerations:
    - effect: NoExecute
      key: dedicated-server
      operator: Equal
      value: "true"

command:

./pv-migrate migrate -f ./values.yaml -n cloud -N cloud -s svc nextcloud-nextcloud-0 nextcloud-nextcloud-1
Clone this wiki locally