From 97c325b834ca2d56e352b33e7fd15484b7f10bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Lesage?= Date: Sun, 29 Sep 2024 23:01:58 +0200 Subject: [PATCH] Configure Node Agent DaemonSet for k0s MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Lesage --- site/content/docs/main/file-system-backup.md | 21 +++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/site/content/docs/main/file-system-backup.md b/site/content/docs/main/file-system-backup.md index 71e3c2d9e1..3c31a56340 100644 --- a/site/content/docs/main/file-system-backup.md +++ b/site/content/docs/main/file-system-backup.md @@ -78,7 +78,7 @@ backup which created the backup repository, then Velero will not be able to conn ### Configure Node Agent DaemonSet spec After installation, some PaaS/CaaS platforms based on Kubernetes also require modifications the node-agent DaemonSet spec. -The steps in this section are only needed if you are installing on RancherOS, Nutanix, OpenShift, VMware Tanzu Kubernetes Grid +The steps in this section are only needed if you are installing on RancherOS, k0s, Nutanix, OpenShift, VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS), or Microsoft Azure. @@ -100,6 +100,25 @@ hostPath: path: /opt/rke/var/lib/kubelet/pods ``` + +**k0s** + + +Update the host path for volumes in the node-agent DaemonSet in the Velero namespace from `/var/lib/kubelet/pods` to +`/var/lib/k0s/kubelet/pods/`. + +```yaml +hostPath: + path: /var/lib/kubelet/pods +``` + +to + +```yaml +hostPath: + path: /var/lib/k0s/kubelet/pods/ +``` + **Nutanix**