Unverified Commit bdb3e8af authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #63080 from kawych/automated-cherry-pick-of-#63033-upstream-release-1.10

Automatic merge from submit-queue. Automated cherry pick of #63033: Fix bash command for liveness probes in the metadata agents. Cherry pick of #63033 on release-1.10. #63033: Fix bash command for liveness probes in the metadata agents.
parents c1d064a7 729c0b05
...@@ -50,7 +50,7 @@ spec: ...@@ -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: ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment