fix: Fix probe timings for nubus ums-umc-server

This commit is contained in:
Lilly Sell
2025-06-26 13:34:26 +02:00
parent b48241dd38
commit b8036439d7

View File

@@ -2,12 +2,9 @@
# SPDX-FileCopyrightText: 2023 Bundesministerium des Innern und für Heimat, PG ZenDiS "Projektgruppe für Aufbau ZenDiS"
# SPDX-License-Identifier: Apache-2.0
nubusUmcServer:
# extraVolumes:
# - name: custom-liveness-probe
# extraVolumeMounts:
# - name: custom-liveness-probe
probes:
liveness:
liveness: &probe
periodSeconds: 600 # every 10 minutes
tcpSocket: ~
exec:
command:
@@ -17,3 +14,9 @@ nubusUmcServer:
import requests
data = {"options": {"username": "b1-pw-test", "method": "email" }}
requests.post("http://localhost:8090/command/passwordreset/send_token", json=data).raise_for_status()
startup:
<<: *probe
initialDelaySeconds: 30
periodSeconds: 30
failureThreshold: 5
successThreshold: 1