From 3e4b3bfb048dfda4ddfccf015473e564daff9037 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Sat, 9 Feb 2019 12:23:12 -0800 Subject: [PATCH] Raise nginx-ingress liveness/readiness timeout * Under heavy load, avoid timeouts causing nginx-ingress restarts https://github.com/kubernetes/ingress-nginx/pull/3737 --- CHANGES.md | 4 ++++ addons/nginx-ingress/aws/deployment.yaml | 4 ++-- addons/nginx-ingress/azure/deployment.yaml | 4 ++-- addons/nginx-ingress/bare-metal/deployment.yaml | 4 ++-- addons/nginx-ingress/digital-ocean/daemonset.yaml | 4 ++-- addons/nginx-ingress/google-cloud/deployment.yaml | 4 ++-- 6 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f06daac3..46faa2a4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,10 @@ Notable changes between versions. * Update etcd from v3.3.11 to [v3.3.12](https://github.com/etcd-io/etcd/releases/tag/v3.3.12) * Update Calico from v3.5.0 to v3.5.1 +#### Addons + +* Raise nginx-ingress liveness/readiness timeout to 5 seconds + ## v1.13.3 * Kubernetes [v1.13.3](https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.13.md#v1133) diff --git a/addons/nginx-ingress/aws/deployment.yaml b/addons/nginx-ingress/aws/deployment.yaml index c06e798d..cd841eb5 100644 --- a/addons/nginx-ingress/aws/deployment.yaml +++ b/addons/nginx-ingress/aws/deployment.yaml @@ -58,7 +58,7 @@ spec: initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 readinessProbe: failureThreshold: 3 httpGet: @@ -67,7 +67,7 @@ spec: scheme: HTTP periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 securityContext: capabilities: add: diff --git a/addons/nginx-ingress/azure/deployment.yaml b/addons/nginx-ingress/azure/deployment.yaml index c06e798d..cd841eb5 100644 --- a/addons/nginx-ingress/azure/deployment.yaml +++ b/addons/nginx-ingress/azure/deployment.yaml @@ -58,7 +58,7 @@ spec: initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 readinessProbe: failureThreshold: 3 httpGet: @@ -67,7 +67,7 @@ spec: scheme: HTTP periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 securityContext: capabilities: add: diff --git a/addons/nginx-ingress/bare-metal/deployment.yaml b/addons/nginx-ingress/bare-metal/deployment.yaml index 5c22a8d2..7ba6b866 100644 --- a/addons/nginx-ingress/bare-metal/deployment.yaml +++ b/addons/nginx-ingress/bare-metal/deployment.yaml @@ -53,7 +53,7 @@ spec: periodSeconds: 10 successThreshold: 1 failureThreshold: 3 - timeoutSeconds: 1 + timeoutSeconds: 5 readinessProbe: httpGet: path: /healthz @@ -62,7 +62,7 @@ spec: periodSeconds: 10 successThreshold: 1 failureThreshold: 3 - timeoutSeconds: 1 + timeoutSeconds: 5 securityContext: capabilities: add: diff --git a/addons/nginx-ingress/digital-ocean/daemonset.yaml b/addons/nginx-ingress/digital-ocean/daemonset.yaml index 5909112c..e733b3b5 100644 --- a/addons/nginx-ingress/digital-ocean/daemonset.yaml +++ b/addons/nginx-ingress/digital-ocean/daemonset.yaml @@ -58,7 +58,7 @@ spec: initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 readinessProbe: failureThreshold: 3 httpGet: @@ -67,7 +67,7 @@ spec: scheme: HTTP periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 securityContext: capabilities: add: diff --git a/addons/nginx-ingress/google-cloud/deployment.yaml b/addons/nginx-ingress/google-cloud/deployment.yaml index c06e798d..cd841eb5 100644 --- a/addons/nginx-ingress/google-cloud/deployment.yaml +++ b/addons/nginx-ingress/google-cloud/deployment.yaml @@ -58,7 +58,7 @@ spec: initialDelaySeconds: 10 periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 readinessProbe: failureThreshold: 3 httpGet: @@ -67,7 +67,7 @@ spec: scheme: HTTP periodSeconds: 10 successThreshold: 1 - timeoutSeconds: 1 + timeoutSeconds: 5 securityContext: capabilities: add: