Adding default limitsranges configuration
This commit is contained in:
parent
b3526d3c4f
commit
9ea60c64c6
2 changed files with 37 additions and 0 deletions
17
config/app/limits-ranges.yaml
Normal file
17
config/app/limits-ranges.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue