Difference between revisions of "Velero microk8s"
Jump to navigation
Jump to search
(Created page with "https://discuss.kubernetes.io/t/backup-a-cluster-with-velero/19034") |
|||
Line 1: | Line 1: | ||
+ | https://microk8s.io/docs/velero | ||
+ | |||
+ | ``` | ||
+ | sudo microk8s kubectl -n velero patch daemonset.apps/restic --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/volumes/0/hostPath/path", "value":"/var/snap/microk8s/common/var/lib/kubelet/pods"}] | ||
+ | |||
+ | ``` | ||
+ | |||
https://discuss.kubernetes.io/t/backup-a-cluster-with-velero/19034 | https://discuss.kubernetes.io/t/backup-a-cluster-with-velero/19034 |
Revision as of 03:44, 2 July 2023
https://microk8s.io/docs/velero
sudo microk8s kubectl -n velero patch daemonset.apps/restic --type='json' -p='[{"op": "replace", "path": "/spec/template/spec/volumes/0/hostPath/path", "value":"/var/snap/microk8s/common/var/lib/kubelet/pods"}]
https://discuss.kubernetes.io/t/backup-a-cluster-with-velero/19034