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,11 +46,13 @@ spec:
|
||||||
memory: "{{ max_mem }}Mi"
|
memory: "{{ max_mem }}Mi"
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
command: ["/bin/bash", "-c", "[[ -e /var/run/koschei-watchdog ]]"]
|
exec:
|
||||||
|
command: ["/bin/bash", "-c", "[[ -e /var/run/koschei-watchdog ]]"]
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 5
|
periodSeconds: 5
|
||||||
command: ["/bin/bash", "-c", "(($(stat -c%Y /var/run/koschei-watchdog) + {{ koschei_watchdog_timeout }} > $(date +%s)))"]
|
exec:
|
||||||
|
command: ["/bin/bash", "-c", "(($(stat -c%Y /var/run/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