Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions chart/templates/webserver/webserver-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ spec:
containerPort: {{ .Values.ports.airflowUI }}
livenessProbe:
httpGet:
path: {{ if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health
path: {{ if .Values.webserver.livenessProbe.path }}{{- with urlParse (tpl .Values.webserver.livenessProbe.path .) }}{{ .path }}{{ end }}{{ else if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health
port: {{ .Values.ports.airflowUI }}
{{- if .Values.config.webserver.base_url}}
httpHeaders:
Expand All @@ -214,7 +214,7 @@ spec:
periodSeconds: {{ .Values.webserver.livenessProbe.periodSeconds }}
readinessProbe:
httpGet:
path: {{ if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health
path: {{ if .Values.webserver.readinessProbe.path }}{{- with urlParse (tpl .Values.webserver.readinessProbe.path .) }}{{ .path }}{{ end }}{{ else if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health
port: {{ .Values.ports.airflowUI }}
{{- if .Values.config.webserver.base_url }}
httpHeaders:
Expand All @@ -228,7 +228,7 @@ spec:
periodSeconds: {{ .Values.webserver.readinessProbe.periodSeconds }}
startupProbe:
httpGet:
path: {{ if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health
path: {{ if .Values.webserver.startupProbe.path }}{{- with urlParse (tpl .Values.webserver.startupProbe.path .) }}{{ .path }}{{ end }}{{ else if .Values.config.webserver.base_url }}{{- with urlParse (tpl .Values.config.webserver.base_url .) }}{{ .path }}{{ end }}{{ end }}/health
port: {{ .Values.ports.airflowUI }}
{{- if .Values.config.webserver.base_url}}
httpHeaders:
Expand Down
15 changes: 15 additions & 0 deletions chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6665,6 +6665,11 @@
"type": "integer",
"default": 5
},
"path": {
"description": "Webserver Liveness probe path.",
"type": "string",
"default": null
},
"periodSeconds": {
"description": "Webserver Liveness probe period seconds.",
"type": "integer",
Expand Down Expand Up @@ -6697,6 +6702,11 @@
"type": "integer",
"default": 5
},
"path": {
"description": "Webserver Readiness probe path.",
"type": "string",
"default": null
},
"periodSeconds": {
"description": "Webserver Readiness probe period seconds.",
"type": "integer",
Expand Down Expand Up @@ -6729,6 +6739,11 @@
"type": "integer",
"default": 6
},
"path": {
"description": "Webserver Startup probe path.",
"type": "string",
"default": null
},
"periodSeconds": {
"description": "Webserver Startup probe period seconds.",
"type": "integer",
Expand Down
3 changes: 3 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1885,13 +1885,15 @@ webserver:
initialDelaySeconds: 15
timeoutSeconds: 5
failureThreshold: 5
# path: "{{ .Values.config.webserver.base_url }}"
periodSeconds: 10
scheme: HTTP

readinessProbe:
initialDelaySeconds: 15
timeoutSeconds: 5
failureThreshold: 5
# path: "{{ .Values.config.webserver.base_url }}"
periodSeconds: 10
scheme: HTTP

Expand All @@ -1901,6 +1903,7 @@ webserver:
initialDelaySeconds: 0
timeoutSeconds: 20
failureThreshold: 6
# path: "{{ .Values.config.webserver.base_url }}"
periodSeconds: 10
scheme: HTTP

Expand Down