mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #20474 from mqliang/ununtu-check-pods-torn-down
Auto commit by PR queue bot
This commit is contained in:
commit
f2ed6f6ce8
@ -553,7 +553,7 @@ function provision-masterandnode() {
|
||||
function check-pods-torn-down() {
|
||||
local kubectl="${KUBE_ROOT}/cluster/kubectl.sh"
|
||||
local attempt=0
|
||||
while [[ ! -z "$(kubectl get pods | tail -n +2)" ]]; do
|
||||
while [[ ! -z "$(kubectl get pods --show-all --all-namespaces| tail -n +2)" ]]; do
|
||||
if (( attempt > 120 )); then
|
||||
echo "timeout waiting for tearing down pods" >> ~/kube/err.log
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user