mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Merge pull request #62086 from oomichi/make-warn-better
Automatic merge from submit-queue (batch tested with PRs 59027, 62333, 57661, 62086, 61584). 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>. Make FAIL_SWAP_ON warning message clear **What this PR does / why we need it**: When operating local-up-cluster.sh to prepare e2e tests, the warning message can be output. This commit makes the message clear. **Release note**: NONE
This commit is contained in:
commit
ffd4fb8701
@ -141,7 +141,7 @@ fi
|
||||
|
||||
# warn if users are running with swap allowed
|
||||
if [ "${FAIL_SWAP_ON}" == "false" ]; then
|
||||
echo "WARNING : The kubelet is configured to not fail if swap is enabled; production deployments should disable swap."
|
||||
echo "WARNING : The kubelet is configured to not fail even if swap is enabled; production deployments should disable swap."
|
||||
fi
|
||||
|
||||
if [ "$(id -u)" != "0" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user