mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
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`. ```
This commit is contained in:
commit
6917ed47fe
@ -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