Fix nginx template missing latest changes (#6000)

This commit is contained in:
Florian Ruynat
2020-04-22 17:41:52 +02:00
committed by GitHub
parent d7df577898
commit b8cd9403df
3 changed files with 29 additions and 7 deletions

View File

@@ -39,6 +39,11 @@ spec:
- name: ingress-nginx-controller
image: {{ ingress_nginx_controller_image_repo }}:{{ ingress_nginx_controller_image_tag }}
imagePullPolicy: {{ k8s_image_pull_policy }}
lifecycle:
preStop:
exec:
command:
- /wait-shutdown
args:
- /nginx-ingress-controller
- --configmap=$(POD_NAMESPACE)/ingress-nginx
@@ -84,16 +89,18 @@ spec:
path: /healthz
port: 10254
scheme: HTTP
initialDelaySeconds: 5
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 10
readinessProbe:
failureThreshold: 3
readinessProbe:
httpGet:
path: /healthz
port: 10254
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 10
failureThreshold: 3