Koschei: fix syntax of health checks in deployment config
This commit is contained in:
parent
68348e180d
commit
7dd0a2aa93
1 changed files with 4 additions and 2 deletions
|
@ -46,10 +46,12 @@ spec:
|
|||
memory: "{{ max_mem }}Mi"
|
||||
readinessProbe:
|
||||
initialDelaySeconds: 5
|
||||
exec:
|
||||
command: ["/bin/bash", "-c", "[[ -e /var/run/koschei-watchdog ]]"]
|
||||
livenessProbe:
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 5
|
||||
exec:
|
||||
command: ["/bin/bash", "-c", "(($(stat -c%Y /var/run/koschei-watchdog) + {{ koschei_watchdog_timeout }} > $(date +%s)))"]
|
||||
volumes:
|
||||
- name: config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue