Koschei: Use a different watchdog file path
This commit is contained in:
parent
7dd0a2aa93
commit
b99245d8bd
1 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ spec:
|
|||
- name: FEDORA_MESSAGING_CONF
|
||||
value: /etc/koschei/fedora-messaging.toml
|
||||
- name: WATCHDOG_PATH
|
||||
value: /var/run/koschei-watchdog
|
||||
value: /var/tmp/koschei-watchdog
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/koschei
|
||||
|
@ -47,12 +47,12 @@ spec:
|
|||
readinessProbe:
|
||||
initialDelaySeconds: 5
|
||||
exec:
|
||||
command: ["/bin/bash", "-c", "[[ -e /var/run/koschei-watchdog ]]"]
|
||||
command: ["/bin/bash", "-c", "[[ -e /var/tmp/koschei-watchdog ]]"]
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
exec:
|
||||
command: ["/bin/bash", "-c", "(($(stat -c%Y /var/run/koschei-watchdog) + {{ koschei_watchdog_timeout }} > $(date +%s)))"]
|
||||
command: ["/bin/bash", "-c", "(($(stat -c%Y /var/tmp/koschei-watchdog) + {{ koschei_watchdog_timeout }} > $(date +%s)))"]
|
||||
volumes:
|
||||
- name: config
|
||||
secret:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue