chore: update

This commit is contained in:
Xor290
2026-08-16 20:01:14 +02:00
parent d8794358c5
commit d23d2cbe37
17 changed files with 530 additions and 126 deletions
@@ -0,0 +1,36 @@
apiVersion: v1
kind: ResourceQuota
metadata:
name: demo-quota
spec:
hard:
requests.cpu: {{ .Values.quota.requestsCpu | quote }}
requests.memory: {{ .Values.quota.requestsMemory | quote }}
limits.cpu: {{ .Values.quota.limitsCpu | quote }}
limits.memory: {{ .Values.quota.limitsMemory | quote }}
pods: {{ .Values.quota.maxPods | quote }}
persistentvolumeclaims: {{ .Values.quota.maxPVCs | quote }}
---
# Défauts requests/limits pour tout container qui ne les préciserait pas —
# nécessaire pour que le ResourceQuota ci-dessus n'empêche pas la création
# de pods qui omettraient ces champs.
apiVersion: v1
kind: LimitRange
metadata:
name: demo-limits
spec:
limits:
- type: Container
defaultRequest:
cpu: {{ .Values.limitRange.defaultRequestCpu | quote }}
memory: {{ .Values.limitRange.defaultRequestMemory | quote }}
default:
cpu: {{ .Values.limitRange.defaultLimitCpu | quote }}
memory: {{ .Values.limitRange.defaultLimitMemory | quote }}
min:
cpu: {{ .Values.limitRange.minCpu | quote }}
memory: {{ .Values.limitRange.minMemory | quote }}
max:
cpu: {{ .Values.limitRange.maxCpu | quote }}
memory: {{ .Values.limitRange.maxMemory | quote }}