Files
nplus/samples/resources/default.yaml

20 lines
361 B
YAML
Raw Permalink Normal View History

2025-01-24 16:18:47 +01:00
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