From 48e533c5e94fdd34fe854a816ed64f3de9886fed Mon Sep 17 00:00:00 2001 From: Guy Elsmore-Paddock Date: Thu, 6 Jun 2019 13:08:20 -0400 Subject: [PATCH] Increase Liveness Failure Threshold from `3` to `12` This gives pods a chance to recover from temporary issues. This should also give upgrades being performed on startup up to two full minutes before being forcibly interrupted. --- nextcloud-aks/configs/app-nextcloud-apache.template.yaml | 1 + nextcloud-aks/configs/app-nextcloud-fpm-nginx.template.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/nextcloud-aks/configs/app-nextcloud-apache.template.yaml b/nextcloud-aks/configs/app-nextcloud-apache.template.yaml index 39e9cbd..9277881 100644 --- a/nextcloud-aks/configs/app-nextcloud-apache.template.yaml +++ b/nextcloud-aks/configs/app-nextcloud-apache.template.yaml @@ -113,6 +113,7 @@ spec: initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 10 + failureThreshold: 12 imagePullSecrets: # NOTE: This secret is added by `setup_aks_acr_service_principal.sh`. - name: "${ACR_DOCKER_CREDS_SECRET}" diff --git a/nextcloud-aks/configs/app-nextcloud-fpm-nginx.template.yaml b/nextcloud-aks/configs/app-nextcloud-fpm-nginx.template.yaml index 62f23ab..8791ccc 100644 --- a/nextcloud-aks/configs/app-nextcloud-fpm-nginx.template.yaml +++ b/nextcloud-aks/configs/app-nextcloud-fpm-nginx.template.yaml @@ -128,6 +128,7 @@ spec: initialDelaySeconds: 10 periodSeconds: 10 timeoutSeconds: 10 + failureThreshold: 12 imagePullSecrets: # NOTE: This secret is added by `setup_aks_acr_service_principal.sh`. - name: "${ACR_DOCKER_CREDS_SECRET}"