Created
May 13, 2022 04:46
-
-
Save radikaled/63eb83a2a3a76458b6ef0578b0740f74 to your computer and use it in GitHub Desktop.
Azure Files NFS Pod Volume
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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