mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 22:20:51 +00:00
Fix bash command for liveness probes in the metadata agents.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user