Skip to content

Instantly share code, notes, and snippets.

@radikaled
Created May 13, 2022 04:46
Show Gist options
  • Save radikaled/63eb83a2a3a76458b6ef0578b0740f74 to your computer and use it in GitHub Desktop.
Save radikaled/63eb83a2a3a76458b6ef0578b0740f74 to your computer and use it in GitHub Desktop.
Azure Files NFS Pod Volume
apiVersion: v1
kind: Pod
metadata:
name: example
labels:
app: httpd
namespace: nfs
spec:
volumes:
- name: nfs
persistentVolumeClaim:
claimName: nfs-claim
containers:
- name: httpd
image: 'image-registry.openshift-image-registry.svc:5000/openshift/httpd:latest'
volumeMounts:
- mountPath: "/var/www/html"
name: nfs
ports:
- containerPort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment