From b444d3c2f1fdf1976798c15ddf8f802a6f18e90c Mon Sep 17 00:00:00 2001 From: Imran Pochi Date: Tue, 9 Apr 2019 23:52:50 +0530 Subject: [PATCH] Update Restic documentation for RancherOS (#1348) Signed-off-by: Imran Pochi --- docs/restic.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/restic.md b/docs/restic.md index 34391d758..53393f178 100644 --- a/docs/restic.md +++ b/docs/restic.md @@ -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`