mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-05-01 12:55:46 +00:00
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 <msfrucht@us.ibm.com>
This commit is contained in:
@@ -121,6 +121,24 @@ oc annotate namespace <velero namespace> openshift.io/node-selector=""
|
||||
oc create -n <velero namespace> -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.
|
||||
|
||||
@@ -121,6 +121,24 @@ oc annotate namespace <velero namespace> openshift.io/node-selector=""
|
||||
oc create -n <velero namespace> -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.
|
||||
|
||||
@@ -121,6 +121,24 @@ oc annotate namespace <velero namespace> openshift.io/node-selector=""
|
||||
oc create -n <velero namespace> -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.
|
||||
|
||||
Reference in New Issue
Block a user