EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
View Server 2
ingestor
Commits
5d67c79a
Commit
5d67c79a
authored
Nov 22, 2021
by
Bernhard Mallinger
Browse files
Introduce health check view
parent
226b8090
Pipeline
#18828
passed with stages
in 1 minute and 29 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app.py
View file @
5d67c79a
...
...
@@ -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
{}
chart/Chart.yaml
View file @
5d67c79a
...
...
@@ -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
...
...
chart/templates/deployment.yaml
View file @
5d67c79a
...
...
@@ -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
...
...
chart/values.yaml
View file @
5d67c79a
...
...
@@ -23,7 +23,7 @@ resources:
livenessProbe
:
failureThreshold
:
3
httpGet
:
path
:
/
path
:
/
probe
port
:
80
scheme
:
HTTP
periodSeconds
:
10
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment