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
|
||||
{{- end }}
|
||||
env:
|
||||
- name: TERMINATION_DRAIN_DURATION_SECONDS
|
||||
value: "60"
|
||||
# https://github.com/istio/istio/issues/26524
|
||||
#- name: TERMINATION_DRAIN_DURATION_SECONDS
|
||||
# value: "60"
|
||||
- name: ISTIO_META_HTTP10
|
||||
value: '"1"'
|
||||
- name: ISTIO_META_ROUTER_MODE
|
||||
@ -53,6 +54,16 @@ spec:
|
||||
rollingUpdate:
|
||||
maxSurge: 100%
|
||||
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:
|
||||
gateways:
|
||||
istio-ingressgateway:
|
||||
|
Loading…
Reference in New Issue
Block a user