mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Even better
This commit is contained in:
parent
c9688155f6
commit
bd8eaa7f18
@ -1243,7 +1243,7 @@ def all_kube_system_pods_running():
|
|||||||
status = pod['status']['phase']
|
status = pod['status']['phase']
|
||||||
# Evicted nodes should re-spawn
|
# Evicted nodes should re-spawn
|
||||||
if status != 'Running' and \
|
if status != 'Running' and \
|
||||||
pod['status'].get('reason', '') != 'Evicted':
|
pod['status'].get('reason', '') != 'Evicted':
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user