Public Information
This commit is contained in:
19
samples/resources/default.yaml
Normal file
19
samples/resources/default.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
apiVersion: v1
|
||||
kind: LimitRange
|
||||
metadata:
|
||||
name: defaults-resources
|
||||
spec:
|
||||
limits:
|
||||
- default: # limits
|
||||
memory: "2Gi"
|
||||
cpu: "4"
|
||||
defaultRequest: # requests
|
||||
memory: 512Mi
|
||||
cpu: "5m"
|
||||
max: # max and min define the limit range
|
||||
cpu: "4000m"
|
||||
memory: "4Gi"
|
||||
min:
|
||||
cpu: "1m"
|
||||
memory: "128Mi"
|
||||
type: Container
|
||||
Reference in New Issue
Block a user