Skip to content

Instantly share code, notes, and snippets.

@vigneshragupathy
Created November 23, 2019 12:57
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 vigneshragupathy/76f42e185c516284f0babbdc3b67cd1a to your computer and use it in GitHub Desktop.
Save vigneshragupathy/76f42e185c516284f0babbdc3b67cd1a to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: Pod
metadata:
creationTimestamp: null
labels:
run: nginx-pod
name: nginx-pod
spec:
containers:
- image: nginx
name: nginx-pod
resources: {}
volumeMounts:
- mountPath: "/usr/share/nginx/html"
name: vikki-pv-volume
dnsPolicy: ClusterFirst
restartPolicy: Always
volumes:
- name: vikki-pv-volume
persistentVolumeClaim:
claimName: vikki-pv-volume-claim
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment