17 lines
422 B
YAML
17 lines
422 B
YAML
apiVersion: v1
|
|
kind: LimitRange
|
|
metadata:
|
|
name: cpu-memory-resource-constraint
|
|
spec:
|
|
limits:
|
|
- default: # this section defines default limits
|
|
cpu: 500m
|
|
memory: 600Mi
|
|
defaultRequest: # this section defines default requests
|
|
cpu: 500m
|
|
memory: 600Mi
|
|
# max: # max and min define the limit range
|
|
# cpu: "1"
|
|
# min:
|
|
# cpu: 100m
|
|
type: Container
|