Created
December 2, 2019 10:27
-
-
Save karngyan/321374b64cf48e68b0839f3a6cb5a220 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: pod-user1 | |
spec: | |
containers: | |
- name: pod-user1 | |
image: ubuntu:18.04 | |
command: | |
- "/bin/sh" | |
args: | |
- "-c" | |
- "sleep infinity" | |
volumeMounts: | |
- name: efs-pvc | |
mountPath: "/mnt" | |
subPath: user1 | |
restartPolicy: "Never" | |
volumes: | |
- name: efs-pvc | |
persistentVolumeClaim: | |
claimName: efs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment