fix: increase default memory limit to ingress envoy to 512MB, enable podDisruptionBudgets on demand
This commit is contained in:
parent
33133f359c
commit
1f68cea76b
@ -23,10 +23,11 @@ istio-ingress:
|
|||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
cpu: 50m
|
||||||
memory: 64Mi
|
memory: 64Mi
|
||||||
limits:
|
limits:
|
||||||
# cpu: 100m
|
# cpu: 100m
|
||||||
memory: 256Mi
|
memory: 512Mi
|
||||||
externalTrafficPolicy: Local
|
externalTrafficPolicy: Local
|
||||||
podAntiAffinityLabelSelector:
|
podAntiAffinityLabelSelector:
|
||||||
- key: app
|
- key: app
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
{{- define "istio-ingress-values" }}
|
{{- define "istio-ingress-values" }}
|
||||||
|
|
||||||
|
{{- with index .Values "istio-ingress" "global" }}
|
||||||
|
global:
|
||||||
|
{{- toYaml . | nindent 2 }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- if index .Values "istio-ingress" "public" }}
|
{{- if index .Values "istio-ingress" "public" }}
|
||||||
istio-ingress:
|
istio-ingress:
|
||||||
enabled: {{ index .Values "istio-ingress" "public" "enabled" }}
|
enabled: {{ index .Values "istio-ingress" "public" "enabled" }}
|
||||||
|
@ -1,7 +1,15 @@
|
|||||||
{{- define "istio-values" }}
|
{{- define "istio-values" }}
|
||||||
|
|
||||||
|
{{- if .Values.HighAvailableControlplane }}
|
||||||
|
global:
|
||||||
|
defaultPodDisruptionBudget:
|
||||||
|
enabled: true
|
||||||
|
|
||||||
istio-discovery:
|
istio-discovery:
|
||||||
pilot:
|
pilot:
|
||||||
replicaCount: {{ ternary 2 1 .Values.HighAvailableControlplane }}
|
replicaCount: 2
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user