Skip to content

Instantly share code, notes, and snippets.

@noseka1
Created July 31, 2020 22:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noseka1/c72ed2c245a2cd84a72891045e8e3279 to your computer and use it in GitHub Desktop.
Save noseka1/c72ed2c245a2cd84a72891045e8e3279 to your computer and use it in GitHub Desktop.
Mount NFS on pod
apiVersion: v1
kind: Pod
metadata:
name: nfs-client
spec:
containers:
- image: quay.io/noseka1/openshift-toolbox:basic
name: openshift-toolbox
volumeMounts:
- name: nfs-volume
mountPath: /home/toolbox
volumes:
- name: nfs-volume
nfs:
server: 10.130.2.5
path: /home/toolbox
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment