Created
June 24, 2021 10:11
-
-
Save ThomasSchoenbeck/1e5899a88fbcdae3a628023359e3d340 to your computer and use it in GitHub Desktop.
volume test pod
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: alpine-volume-test-pod | |
labels: | |
app: alpine-volume-test | |
spec: | |
containers: | |
- name: alpine-volume-test-container | |
image: <image-registry>/alpine:3.13.5 | |
command: ["sh", "-c", "tail -f /dev/null"] | |
resources: | |
limits: | |
cpu: 100m | |
memory: 256Mi | |
requests: | |
cpu: 10m | |
memory: 12Mi | |
imagePullPolicy: Always | |
volumeMounts: | |
- name: testmount | |
mountPath: /selfmnt/ | |
volumes: | |
- name: testmount | |
persistentVolumeClaim: | |
claimName: <claim-name> | |
imagePullSecrets: | |
- name: <secret-name> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment