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