From 67ea2df50abaa242fa4ecd6cefd6577539f5ec3e Mon Sep 17 00:00:00 2001 From: Stijn De Haes Date: Tue, 19 Nov 2019 17:41:42 +0100 Subject: [PATCH] [stable/airflow] make the minReadySeconds changeable (#19004) Signed-off-by: Stijn De Haes --- stable/airflow/Chart.yaml | 2 +- stable/airflow/README.md | 1 + stable/airflow/templates/deployments-web.yaml | 2 +- stable/airflow/values.yaml | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stable/airflow/Chart.yaml b/stable/airflow/Chart.yaml index 55a854793e..954513a759 100644 --- a/stable/airflow/Chart.yaml +++ b/stable/airflow/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Airflow is a platform to programmatically author, schedule and monitor workflows name: airflow -version: 4.7.0 +version: 4.8.0 appVersion: 1.10.4 icon: https://airflow.apache.org/_images/pin_large.png home: https://airflow.apache.org/ diff --git a/stable/airflow/README.md b/stable/airflow/README.md index 16f7db175a..cd712a104e 100644 --- a/stable/airflow/README.md +++ b/stable/airflow/README.md @@ -375,6 +375,7 @@ The following table lists the configurable parameters of the Airflow chart and t | `web.labels` | labels for the web deployment | `{}` | | `web.annotations` | annotations for the web deployment | `{}` | | `web.initialStartupDelay` | amount of time webserver pod should sleep before initializing webserver | `60` | +| `web.minReadySeconds` | minReadySeconds in the web deployment | `120` | `web.livenessProbe.periodSeconds` | interval between probes | `60` | | `web.livenessProbe.timeoutSeconds` | time allowed for a result to return | `1` | | `web.livenessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful | `1` | diff --git a/stable/airflow/templates/deployments-web.yaml b/stable/airflow/templates/deployments-web.yaml index dc9664dbf8..e21b0dbd35 100644 --- a/stable/airflow/templates/deployments-web.yaml +++ b/stable/airflow/templates/deployments-web.yaml @@ -17,7 +17,7 @@ metadata: {{- end }} spec: replicas: {{ .Values.airflow.webReplicas }} - minReadySeconds: 120 + minReadySeconds: {{ .Values.web.minReadySeconds }} strategy: # Smooth rolling update of the Web UI type: RollingUpdate diff --git a/stable/airflow/values.yaml b/stable/airflow/values.yaml index e64aea996a..3d38deea5f 100644 --- a/stable/airflow/values.yaml +++ b/stable/airflow/values.yaml @@ -241,6 +241,7 @@ web: annotations: {} initialStartupDelay: "60" initialDelaySeconds: "360" + minReadySeconds: 120 readinessProbe: periodSeconds: 60 timeoutSeconds: 1