Created
October 13, 2021 06:29
-
-
Save bharathirajatut/41785b9ff3d06806061fa2910a5aaccc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
kind: Pod | |
apiVersion: v1 | |
metadata: | |
name: local-pvc-pod1 | |
spec: | |
containers: | |
- name: php | |
image: php:8-apache | |
volumeMounts: | |
- mountPath: "/data" | |
name: local-volume1 | |
volumes: | |
- name: local-volume1 | |
persistentVolumeClaim: | |
claimName: local-pvc1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment