Created
July 28, 2022 10:48
-
-
Save revolunet/5247519186eb9ece71ad074ee8141be9 to your computer and use it in GitHub Desktop.
pod + volume
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: | |
annotations: | |
labels: | |
application: sre | |
component: pe-debug | |
name: pe-debug | |
namespace: sre | |
spec: | |
containers: | |
- command: | |
- bash | |
- "sleep 100000" | |
env: | |
- name: hello | |
value: world | |
envFrom: | |
- secretRef: | |
name: cronjob-storage | |
image: alpine | |
name: debug-container | |
volumeMounts: | |
- mountPath: /mnt/pefiles | |
name: pefiles | |
volumes: | |
- name: pefiles | |
persistentVolumeClaim: | |
claimName: pefiles | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment