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

Merge pull request #63033 from bmoyles0117/fix-liveness-probe-for-metadata-agent-off-master

Automatic merge from submit-queue (batch tested with PRs 63033, 62993). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix bash command for liveness probes in the metadata agents. **What this PR does / why we need it**: This PR resolves an error in the way that the bash liveness probe is defined. **Release note**: ```release-note Fix the liveness probe to use `/bin/bash -c` instead of `/bin/bash c`. ```
parents 4344d337 e2beef53
...@@ -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