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
|
- name: FEDORA_MESSAGING_CONF
|
||||||
value: /etc/koschei/fedora-messaging.toml
|
value: /etc/koschei/fedora-messaging.toml
|
||||||
- name: WATCHDOG_PATH
|
- name: WATCHDOG_PATH
|
||||||
value: /var/run/koschei-watchdog
|
value: /var/tmp/koschei-watchdog
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /etc/koschei
|
mountPath: /etc/koschei
|
||||||
|
@ -47,12 +47,12 @@ spec:
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
exec:
|
exec:
|
||||||
command: ["/bin/bash", "-c", "[[ -e /var/run/koschei-watchdog ]]"]
|
command: ["/bin/bash", "-c", "[[ -e /var/tmp/koschei-watchdog ]]"]
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
exec:
|
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:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
secret:
|
secret:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue