EOX GitLab Instance

Commit 5d67c79a authored by Bernhard Mallinger's avatar Bernhard Mallinger
Browse files

Introduce health check view

parent 226b8090
Pipeline #18828 passed with stages
in 1 minute and 29 seconds
......@@ -106,3 +106,8 @@ def ingest():
except Exception as e:
save_endpoint_report(filename, data_from_request, False)
return Response(str(e), status=400)
@application.route("/probe")
def probe():
return {}
......@@ -19,7 +19,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
......
......@@ -39,11 +39,11 @@ spec:
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
httpGet:
path: /
path: /probe
port: http
startupProbe:
httpGet:
path: /
path: /probe
port: http
failureThreshold: 30
periodSeconds: 10
......
......@@ -23,7 +23,7 @@ resources:
livenessProbe:
failureThreshold: 3
httpGet:
path: /
path: /probe
port: 80
scheme: HTTP
periodSeconds: 10
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment