Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/airflow] allow specification of probe scheme (#22242)
Browse files Browse the repository at this point in the history
Signed-off-by: Mathew Wicks <[email protected]>
  • Loading branch information
thesuperzapper authored May 4, 2020
1 parent 1a877e5 commit 5d826a3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stable/airflow/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 6.8.1
version: 6.9.0
appVersion: 1.10.4
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
Expand Down
4 changes: 3 additions & 1 deletion stable/airflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,11 +469,13 @@ The following table lists the configurable parameters of the Airflow chart and t
| `web.annotations` | annotations for the web deployment | `{}` |
| `web.podAnnotations` | pod-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.minReadySeconds` | minReadySeconds in the web deployment | `120` |
| `web.livenessProbe.scheme` | scheme to use for connecting to the host (HTTP or HTTPS) | `HTTP` |
| `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` |
| `web.livenessProbe.failureThreshold` | Minimum consecutive successes for the probe to be considered failed | `5` |
| `web.readinessProbe.scheme` | scheme to use for connecting to the host (HTTP or HTTPS) | `HTTP` |
| `web.readinessProbe.periodSeconds` | interval between probes | `60` |
| `web.readinessProbe.timeoutSeconds` | time allowed for a result to return | `1` |
| `web.readinessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful | `1` |
Expand Down
2 changes: 2 additions & 0 deletions stable/airflow/templates/deployments-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ spec:
{{- end }}
livenessProbe:
httpGet:
scheme: {{ .Values.web.livenessProbe.scheme }}
{{- if .Values.ingress.web.livenessPath }}
path: "{{ .Values.ingress.web.livenessPath }}"
{{- else }}
Expand All @@ -221,6 +222,7 @@ spec:

readinessProbe:
httpGet:
scheme: {{ .Values.web.readinessProbe.scheme }}
path: "{{ .Values.ingress.web.path }}/health"
port: web
initialDelaySeconds: {{ .Values.web.initialDelaySeconds }}
Expand Down
2 changes: 2 additions & 0 deletions stable/airflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,13 @@ web:
initialDelaySeconds: "360"
minReadySeconds: 120
readinessProbe:
scheme: HTTP
periodSeconds: 60
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 5
livenessProbe:
scheme: HTTP
periodSeconds: 60
timeoutSeconds: 1
successThreshold: 1
Expand Down

0 comments on commit 5d826a3

Please sign in to comment.