init
This commit is contained in:
17
limit-range/container-cpu.yaml
Normal file
17
limit-range/container-cpu.yaml
Normal file
@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: LimitRange
|
||||
metadata:
|
||||
name: container-cpu
|
||||
namespace: custom-namespace
|
||||
spec:
|
||||
limits:
|
||||
- default: # defines default limits
|
||||
cpu: 500m
|
||||
defaultRequest: # default requests
|
||||
cpu: 500m
|
||||
max: # define the limit range
|
||||
cpu: "1"
|
||||
min:
|
||||
cpu: 100m
|
||||
type: Container
|
||||
|
||||
Reference in New Issue
Block a user