Apply graceful shutdown fixes interim like Contour
This commit is contained in:
parent
be013b67ce
commit
2f258a3194
@ -30,8 +30,9 @@ spec:
|
|||||||
name: istio-private-ingressgateway
|
name: istio-private-ingressgateway
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
- name: TERMINATION_DRAIN_DURATION_SECONDS
|
# https://github.com/istio/istio/issues/26524
|
||||||
value: "60"
|
#- name: TERMINATION_DRAIN_DURATION_SECONDS
|
||||||
|
# value: "60"
|
||||||
- name: ISTIO_META_HTTP10
|
- name: ISTIO_META_HTTP10
|
||||||
value: '"1"'
|
value: '"1"'
|
||||||
- name: ISTIO_META_ROUTER_MODE
|
- name: ISTIO_META_ROUTER_MODE
|
||||||
@ -53,6 +54,16 @@ spec:
|
|||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: 100%
|
maxSurge: 100%
|
||||||
maxUnavailable: 25%
|
maxUnavailable: 25%
|
||||||
|
overlays:
|
||||||
|
- apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
name: istio-private-ingressgateway
|
||||||
|
patches:
|
||||||
|
- path: spec.template.spec.containers.[name:istio-proxy].lifecycle
|
||||||
|
value: {"preStop": {"exec": {"command": ["sh", "-c", "curl -X POST http://localhost:15000/healthcheck/fail && sleep 30"]}}}
|
||||||
|
- path: spec.template.spec.terminationGracePeriodSeconds
|
||||||
|
value: 90
|
||||||
|
|
||||||
values:
|
values:
|
||||||
gateways:
|
gateways:
|
||||||
istio-ingressgateway:
|
istio-ingressgateway:
|
||||||
|
Loading…
Reference in New Issue
Block a user