mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-21 09:34:40 +00:00
Fix bash command for liveness probes in the metadata agents.
This commit is contained in:
parent
e52e68a0eb
commit
e2beef533f
@ -50,7 +50,7 @@ spec:
|
|||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- c
|
- -c
|
||||||
- |
|
- |
|
||||||
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
|
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
|
||||||
exit 1;
|
exit 1;
|
||||||
@ -113,7 +113,7 @@ spec:
|
|||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- c
|
- -c
|
||||||
- |
|
- |
|
||||||
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
|
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
|
||||||
exit 1;
|
exit 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user