Add livenessPath config to airflow web deployment (#14575)

Signed-off-by: Kevin Pullin <kevin.pullin@gmail.com>
This commit is contained in:
Kevin Pullin
2019-06-06 13:58:02 -07:00
committed by Kubernetes Prow Robot
parent 350abaff4d
commit 2de596cd1d
4 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Airflow is a platform to programmatically author, schedule and monitor workflows
name: airflow
version: 2.8.7
version: 2.8.8
appVersion: 1.10.2
icon: https://airflow.apache.org/_images/pin_large.png
home: https://airflow.apache.org/
+1
View File
@@ -351,6 +351,7 @@ The following table lists the configurable parameters of the Airflow chart and t
| `ingress.web.host` | hostname for the webserver ui | "" |
| `ingress.web.path` | path of the werbserver ui (read `values.yaml`) | `` |
| `ingress.web.annotations` | annotations for the web ui ingress | `{}` |
| `ingress.web.livenessPath` | path to the web liveness probe | `{{ ingress.web.path }}/health` |
| `ingress.web.tls.enabled` | enables TLS termination at the ingress | `false` |
| `ingress.web.tls.secretName` | name of the secret containing the TLS certificate & key | `` |
| `ingress.flower.host` | hostname for the flower ui | "" |
@@ -141,7 +141,11 @@ spec:
{{- end }}
livenessProbe:
httpGet:
{{- if .Values.ingress.web.livenessPath }}
path: "{{ .Values.ingress.web.livenessPath }}"
{{- else }}
path: "{{ .Values.ingress.web.path }}/health"
{{- end }}
port: web
## Keep 6 minutes the delay to allow clean wait of postgres and redis containers
initialDelaySeconds: {{ .Values.web.initialDelaySeconds }}
+4
View File
@@ -286,6 +286,10 @@ ingress:
## Example for Traefik:
# traefik.frontend.rule.type: PathPrefix
# kubernetes.io/ingress.class: traefik
##
## Configure the web liveness path.
## Defaults to the templated value `{{ ingress.web.path }}/health`
livenessPath:
tls:
## Set to "true" to enable TLS termination at the ingress
enabled: false