mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 15:31:38 +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-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
|
||||
|
||||
Reference in New Issue
Block a user