From 545a0e2112865bbb09aebbb37b1bf23b08dd0076 Mon Sep 17 00:00:00 2001 From: Michael Fruchtman Date: Wed, 31 Jul 2024 14:22:04 -0700 Subject: [PATCH 1/3] Doc update Openshift IBM Cloud Updates the documentation for CSI snapshot data movement for OpenShift on IBM Cloud. The default hostpath /var/lib/kubelet/pods cannot find PersistentVolumeClaims with volumeMode: Block on host. The correct hostpath for OpenShift on IBM Cloud is /var/data/kubelet/pods. Signed-off-by: Michael Fruchtman --- .../docs/main/csi-snapshot-data-movement.md | 18 ++++++++++++++++++ .../docs/v1.13/csi-snapshot-data-movement.md | 18 ++++++++++++++++++ .../docs/v1.14/csi-snapshot-data-movement.md | 18 ++++++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/site/content/docs/main/csi-snapshot-data-movement.md b/site/content/docs/main/csi-snapshot-data-movement.md index 78967ccde..f17283416 100644 --- a/site/content/docs/main/csi-snapshot-data-movement.md +++ b/site/content/docs/main/csi-snapshot-data-movement.md @@ -121,6 +121,24 @@ oc annotate namespace openshift.io/node-selector="" oc create -n -f ds.yaml ``` +**OpenShift on IBM Cloud** + + +Update the host path for volumes in the node-agent DaemonSet in the Velero namespace from `/var/lib/kubelet/pods` to +`/var/data/kubelet/pods`. + +```yaml +hostPath: + path: /var/lib/kubelet/pods +``` + +to + +```yaml +hostPath: + path: /var/data/kubet/pods +``` + **VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS)** You need to enable the `Allow Privileged` option in your plan configuration so that Velero is able to mount the hostpath. diff --git a/site/content/docs/v1.13/csi-snapshot-data-movement.md b/site/content/docs/v1.13/csi-snapshot-data-movement.md index b6a03ad12..b9743f2dc 100644 --- a/site/content/docs/v1.13/csi-snapshot-data-movement.md +++ b/site/content/docs/v1.13/csi-snapshot-data-movement.md @@ -121,6 +121,24 @@ oc annotate namespace openshift.io/node-selector="" oc create -n -f ds.yaml ``` +**OpenShift on IBM Cloud** + + +Update the host path for volumes in the node-agent DaemonSet in the Velero namespace from `/var/lib/kubelet/pods` to +`/var/data/kubelet/pods`. + +```yaml +hostPath: + path: /var/lib/kubelet/pods +``` + +to + +```yaml +hostPath: + path: /var/data/kubet/pods +``` + **VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS)** You need to enable the `Allow Privileged` option in your plan configuration so that Velero is able to mount the hostpath. diff --git a/site/content/docs/v1.14/csi-snapshot-data-movement.md b/site/content/docs/v1.14/csi-snapshot-data-movement.md index 78967ccde..f17283416 100644 --- a/site/content/docs/v1.14/csi-snapshot-data-movement.md +++ b/site/content/docs/v1.14/csi-snapshot-data-movement.md @@ -121,6 +121,24 @@ oc annotate namespace openshift.io/node-selector="" oc create -n -f ds.yaml ``` +**OpenShift on IBM Cloud** + + +Update the host path for volumes in the node-agent DaemonSet in the Velero namespace from `/var/lib/kubelet/pods` to +`/var/data/kubelet/pods`. + +```yaml +hostPath: + path: /var/lib/kubelet/pods +``` + +to + +```yaml +hostPath: + path: /var/data/kubet/pods +``` + **VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS)** You need to enable the `Allow Privileged` option in your plan configuration so that Velero is able to mount the hostpath. From c1e3d6f40e3c373c32aed2bb29c55636bd214387 Mon Sep 17 00:00:00 2001 From: Michael Fruchtman Date: Wed, 31 Jul 2024 14:31:22 -0700 Subject: [PATCH 2/3] Add OpenShift on IBM Cloud to list Signed-off-by: Michael Fruchtman --- site/content/docs/main/csi-snapshot-data-movement.md | 2 +- site/content/docs/v1.13/csi-snapshot-data-movement.md | 2 +- site/content/docs/v1.14/csi-snapshot-data-movement.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/content/docs/main/csi-snapshot-data-movement.md b/site/content/docs/main/csi-snapshot-data-movement.md index f17283416..f586ba0e5 100644 --- a/site/content/docs/main/csi-snapshot-data-movement.md +++ b/site/content/docs/main/csi-snapshot-data-movement.md @@ -41,7 +41,7 @@ velero install --use-node-agent ### 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, Nutanix, OpenShift, OpenShift on IBM Cloud, VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS), or Microsoft Azure. diff --git a/site/content/docs/v1.13/csi-snapshot-data-movement.md b/site/content/docs/v1.13/csi-snapshot-data-movement.md index b9743f2dc..7c005e168 100644 --- a/site/content/docs/v1.13/csi-snapshot-data-movement.md +++ b/site/content/docs/v1.13/csi-snapshot-data-movement.md @@ -41,7 +41,7 @@ velero install --use-node-agent ### 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, Nutanix, OpenShift, OpenShift on IBM Cloud, VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS), or Microsoft Azure. diff --git a/site/content/docs/v1.14/csi-snapshot-data-movement.md b/site/content/docs/v1.14/csi-snapshot-data-movement.md index f17283416..f586ba0e5 100644 --- a/site/content/docs/v1.14/csi-snapshot-data-movement.md +++ b/site/content/docs/v1.14/csi-snapshot-data-movement.md @@ -41,7 +41,7 @@ velero install --use-node-agent ### 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, Nutanix, OpenShift, OpenShift on IBM Cloud, VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS), or Microsoft Azure. From 49a7fe74a97613098db3f15a6e427c94a1deab6a Mon Sep 17 00:00:00 2001 From: Michael Fruchtman Date: Thu, 1 Aug 2024 09:32:21 -0700 Subject: [PATCH 3/3] s/kubet/kubelet Signed-off-by: Michael Fruchtman --- site/content/docs/main/csi-snapshot-data-movement.md | 2 +- site/content/docs/v1.13/csi-snapshot-data-movement.md | 2 +- site/content/docs/v1.14/csi-snapshot-data-movement.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/site/content/docs/main/csi-snapshot-data-movement.md b/site/content/docs/main/csi-snapshot-data-movement.md index f586ba0e5..5912391da 100644 --- a/site/content/docs/main/csi-snapshot-data-movement.md +++ b/site/content/docs/main/csi-snapshot-data-movement.md @@ -136,7 +136,7 @@ to ```yaml hostPath: - path: /var/data/kubet/pods + path: /var/data/kubelet/pods ``` **VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS)** diff --git a/site/content/docs/v1.13/csi-snapshot-data-movement.md b/site/content/docs/v1.13/csi-snapshot-data-movement.md index 7c005e168..cc45b24f9 100644 --- a/site/content/docs/v1.13/csi-snapshot-data-movement.md +++ b/site/content/docs/v1.13/csi-snapshot-data-movement.md @@ -136,7 +136,7 @@ to ```yaml hostPath: - path: /var/data/kubet/pods + path: /var/data/kubelet/pods ``` **VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS)** diff --git a/site/content/docs/v1.14/csi-snapshot-data-movement.md b/site/content/docs/v1.14/csi-snapshot-data-movement.md index f586ba0e5..5912391da 100644 --- a/site/content/docs/v1.14/csi-snapshot-data-movement.md +++ b/site/content/docs/v1.14/csi-snapshot-data-movement.md @@ -136,7 +136,7 @@ to ```yaml hostPath: - path: /var/data/kubet/pods + path: /var/data/kubelet/pods ``` **VMware Tanzu Kubernetes Grid Integrated Edition (formerly VMware Enterprise PKS)**