Skip to content

Commit

Permalink
Doc update Openshift IBM Cloud
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
msfrucht committed Jul 31, 2024
1 parent 7811b9f commit 545a0e2
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
18 changes: 18 additions & 0 deletions site/content/docs/main/csi-snapshot-data-movement.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
18 changes: 18 additions & 0 deletions site/content/docs/v1.13/csi-snapshot-data-movement.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
18 changes: 18 additions & 0 deletions site/content/docs/v1.14/csi-snapshot-data-movement.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 545a0e2

Please sign in to comment.