Open fireba11 opened 2 years ago
Due to #23 checking all namespaces got 2 unknown entries .. at least it should. The actual output is somewhat messed up:
$ ./check_kube_deployments.sh Unknown: deployment#1 has condition Progressing: True - ReplicaSet "deployment#1-77db4cb58c" has successfully progressed. OK: deployment#2 has condition Available: True - Deployment has minimum availability. OK: deployment#3 has condition Available: True - Deployment has minimum availability. OK: deployment#4 has condition Available: True - Deployment has minimum availability. OK: deployment#5 has condition Available: True - Deployment has minimum availability. Unknown: deployment#6 has condition Progressing: True - ReplicaSet "deployment#6-78994478dc" has successfully progressed. OK:deployment#7 has condition Available: True - Deployment has minimum availability. OK: deployment#8 has condition Available: True - Deployment has minimum availability. OK: deployment#9 has condition Available: True - Deployment has minimum availability. OK: deployment#10 has condition Available: True - Deployment has minimum availability. OK: deployment#11 has condition Available: True - Deployment has minimum availability. OK: deployment#12 has condition Available: True - Deployment has minimum availability. OK: deployment#13 has condition Available: True - Deployment has minimum availability. OK: deployment#14 has condition Available: True - Deployment has minimum availability. OK: deployment#19 has condition Available: True - Deployment has minimum availability. Unknown: deployment#15 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability. OK: deployment#16 has condition Available: True - Deployment has minimum availability. OK: deployment#17 has condition Available: True - Deployment has minimum availability. Unknown: deployment#18 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability. Unknown: deployment#15 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability. Unknown: deployment#18 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability.
note the duplicated deployment#15, also there should be only 2 Unknown entries (checked by namespace and found two with the issue früm #23)
Due to #23 checking all namespaces got 2 unknown entries .. at least it should. The actual output is somewhat messed up:
$ ./check_kube_deployments.sh Unknown: deployment#1 has condition Progressing: True - ReplicaSet "deployment#1-77db4cb58c" has successfully progressed. OK: deployment#2 has condition Available: True - Deployment has minimum availability. OK: deployment#3 has condition Available: True - Deployment has minimum availability. OK: deployment#4 has condition Available: True - Deployment has minimum availability. OK: deployment#5 has condition Available: True - Deployment has minimum availability. Unknown: deployment#6 has condition Progressing: True - ReplicaSet "deployment#6-78994478dc" has successfully progressed. OK:deployment#7 has condition Available: True - Deployment has minimum availability. OK: deployment#8 has condition Available: True - Deployment has minimum availability. OK: deployment#9 has condition Available: True - Deployment has minimum availability. OK: deployment#10 has condition Available: True - Deployment has minimum availability. OK: deployment#11 has condition Available: True - Deployment has minimum availability. OK: deployment#12 has condition Available: True - Deployment has minimum availability. OK: deployment#13 has condition Available: True - Deployment has minimum availability. OK: deployment#14 has condition Available: True - Deployment has minimum availability. OK: deployment#19 has condition Available: True - Deployment has minimum availability. Unknown: deployment#15 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability. OK: deployment#16 has condition Available: True - Deployment has minimum availability. OK: deployment#17 has condition Available: True - Deployment has minimum availability. Unknown: deployment#18 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability. Unknown: deployment#15 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability. Unknown: deployment#18 has condition Available Available: True True - Deployment has minimum availability. Deployment has minimum availability.
note the duplicated deployment#15, also there should be only 2 Unknown entries (checked by namespace and found two with the issue früm #23)