mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 23:57:49 +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:
|
||||
command:
|
||||
- /bin/bash
|
||||
- c
|
||||
- -c
|
||||
- |
|
||||
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
|
||||
exit 1;
|
||||
@ -113,7 +113,7 @@ spec:
|
||||
exec:
|
||||
command:
|
||||
- /bin/bash
|
||||
- c
|
||||
- -c
|
||||
- |
|
||||
if [[ -f /var/run/metadata-agent/health/unhealthy ]]; then
|
||||
exit 1;
|
||||
|
Loading…
Reference in New Issue
Block a user