Update Restic documentation for RancherOS (#1348)

Signed-off-by: Imran Pochi <pochiimran@yahoo.co.in>
pull/1326/head
Imran Pochi 2019-04-09 23:52:50 +05:30 committed by KubeKween
parent 13eaad0e64
commit b444d3c2f1
1 changed files with 15 additions and 0 deletions

View File

@ -40,6 +40,21 @@ cross-volume-type data migrations. Stay tuned as this evolves!
1. Run one of the following for your platform to create the daemonset:
Please note: In RancherOS , the path is not `/var/lib/kubelet/pods` , rather it is `/opt/rke/var/lib/kubelet/pods`
thereby requires modifying the restic-daemonset.yaml before applying.
```
hostPath:
path: /var/lib/kubelet/pods
```
to
```
hostPath:
path: /opt/rke/var/lib/kubelet/pods
```
- AWS: `kubectl apply -f config/aws/20-restic-daemonset.yaml`
- Azure: `kubectl apply -f config/azure/20-restic-daemonset.yaml`
- GCP: `kubectl apply -f config/gcp/20-restic-daemonset.yaml`