Skip to content

Instantly share code, notes, and snippets.

@justindav1s
Last active February 5, 2020 11:34
Show Gist options
  • Save justindav1s/33b911af0dc779e784f7ec8ad4b3595e to your computer and use it in GitHub Desktop.
Save justindav1s/33b911af0dc779e784f7ec8ad4b3595e to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: LimitRange
metadata:
name: limit-ranges
spec:
limits:
- type: Container
max:
cpu: "800m"
memory: "1Gi"
min:
cpu: "100m"
memory: "99Mi"
default:
cpu: "700m"
memory: "900Mi"
defaultRequest:
cpu: "110m"
memory: "111Mi"
- type: Pod
max:
cpu: "2"
memory: "2Gi"
- type: PersistentVolumeClaim
max:
storage: 2Gi
min:
storage: 1Gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment