Adding default limitsranges configuration

This commit is contained in:
Baptiste Bonnot 2025-04-29 09:58:28 +02:00
parent b3526d3c4f
commit 9ea60c64c6
Signed by: baptiste.bonnot
GPG key ID: 2681291F9206E471
2 changed files with 37 additions and 0 deletions

View 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