mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 23:41:43 +01:00
fix: Fix probe timings for nubus ums-umc-server
This commit is contained in:
@@ -2,12 +2,9 @@
|
|||||||
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
|
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
nubusUmcServer:
|
nubusUmcServer:
|
||||||
# extraVolumes:
|
|
||||||
# - name: custom-liveness-probe
|
|
||||||
# extraVolumeMounts:
|
|
||||||
# - name: custom-liveness-probe
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness: &probe
|
||||||
|
periodSeconds: 600 # every 10 minutes
|
||||||
tcpSocket: ~
|
tcpSocket: ~
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
@@ -17,3 +14,9 @@ nubusUmcServer:
|
|||||||
import requests
|
import requests
|
||||||
data = {"options": {"username": "b1-pw-test", "method": "email" }}
|
data = {"options": {"username": "b1-pw-test", "method": "email" }}
|
||||||
requests.post("http://localhost:8090/command/passwordreset/send_token", json=data).raise_for_status()
|
requests.post("http://localhost:8090/command/passwordreset/send_token", json=data).raise_for_status()
|
||||||
|
startup:
|
||||||
|
<<: *probe
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 30
|
||||||
|
failureThreshold: 5
|
||||||
|
successThreshold: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user