feat: add memory.limit and GOMEMLIMIT for api-server
This commit is contained in:
parent
a92ea2a1ef
commit
4e1ae2b454
@ -6,3 +6,10 @@ spec:
|
|||||||
requests:
|
requests:
|
||||||
cpu: 200m
|
cpu: 200m
|
||||||
memory: 1536Mi
|
memory: 1536Mi
|
||||||
|
limits:
|
||||||
|
memory: 3Gi
|
||||||
|
env:
|
||||||
|
- name: GOMEMLIMIT
|
||||||
|
valueFrom:
|
||||||
|
resourceFieldRef:
|
||||||
|
resource: limits.memory
|
||||||
|
@ -208,6 +208,8 @@ aws-efs-csi-driver:
|
|||||||
|
|
||||||
useHelmHooksForCSIDriver: false
|
useHelmHooksForCSIDriver: false
|
||||||
|
|
||||||
|
# we use the old 1.7 atm
|
||||||
|
replicaCount: 1
|
||||||
# image:
|
# image:
|
||||||
# tag: "v2.0.9"
|
# tag: "v2.0.9"
|
||||||
|
|
||||||
|
@ -62,6 +62,8 @@ aws-ebs-csi-driver:
|
|||||||
|
|
||||||
aws-efs-csi-driver:
|
aws-efs-csi-driver:
|
||||||
enabled: {{ default false (index .Values "storage" "aws-efs-csi-driver" "enabled")}}
|
enabled: {{ default false (index .Values "storage" "aws-efs-csi-driver" "enabled")}}
|
||||||
|
# Temp for old 1.7 chart we use atm
|
||||||
|
replicaCount: {{ ternary 2 1 .Values.global.highAvailable }}
|
||||||
controller:
|
controller:
|
||||||
replicaCount: {{ ternary 2 1 .Values.global.highAvailable }}
|
replicaCount: {{ ternary 2 1 .Values.global.highAvailable }}
|
||||||
{{- if .Values.global.highAvailable }}
|
{{- if .Values.global.highAvailable }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user