Skip to content

Instantly share code, notes, and snippets.

@PradeepTammali
Created November 24, 2020 11:25
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 PradeepTammali/4bfa2bd33cedd2c22add30aa883664fd to your computer and use it in GitHub Desktop.
Save PradeepTammali/4bfa2bd33cedd2c22add30aa883664fd to your computer and use it in GitHub Desktop.
---
kind: Pod
apiVersion: v1
metadata:
name: test
spec:
containers:
- name: busybox
image: busybox
args:
- sleep
- "1000000"
imagePullPolicy: Always
resources:
requests:
cpu: '0.5'
memory: 500Mi
limits:
cpu: '0.5'
memory: 500Mi
volumeMounts:
- name: logs
mountPath: "/dynvolume"
restartPolicy: "Never"
volumes:
- name: logs
persistentVolumeClaim:
claimName: pvc-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment