CHORE(web-apps): disable ResourceQuota to resolve quota issues
- Add ResourceQuota template with enabled: false - Remove existing ResourceQuota constraints - Fix pod creation failures due to quota limits
This commit is contained in:
13
charts/web-app/templates/resourcequota.yaml
Normal file
13
charts/web-app/templates/resourcequota.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
{{- if .Values.resourceQuota.enabled }}
|
||||
apiVersion: v1
|
||||
kind: ResourceQuota
|
||||
metadata:
|
||||
name: {{ include "web-app.fullname" . }}-quota
|
||||
namespace: {{ .Values.namespace | default .Release.Namespace }}
|
||||
labels:
|
||||
{{- include "web-app.labels" . | nindent 4 }}
|
||||
spec:
|
||||
hard:
|
||||
{{- toYaml .Values.resourceQuota.hard | nindent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -113,3 +113,7 @@ affinity:
|
||||
- weight: 100
|
||||
podAffinityTerm:
|
||||
topologyKey: kubernetes.io/hostname
|
||||
|
||||
# ResourceQuota - Disabled by default (set to false to remove existing quotas)
|
||||
resourceQuota:
|
||||
enabled: false
|
||||
|
||||
Reference in New Issue
Block a user