Switch limit-range to the new task template. Add supporting yaml files.

This commit is contained in:
nerdondon
2017-03-27 23:07:47 -07:00
committed by Andrew Chen
parent 128610c48d
commit d638dfb3cf
4 changed files with 100 additions and 33 deletions
@@ -0,0 +1,26 @@
apiVersion: v1
kind: LimitRange
metadata:
name: mylimits
spec:
limits:
- max:
cpu: "2"
memory: 1Gi
min:
cpu: 200m
memory: 6Mi
type: Pod
- default:
cpu: 300m
memory: 200Mi
defaultRequest:
cpu: 200m
memory: 100Mi
max:
cpu: "2"
memory: 1Gi
min:
cpu: 100m
memory: 3Mi
type: Container