Hmm, I think the second part of the solution is correct, but the first part seems a bit convoluted. Couldn't we just use 'kubectl get nodes --no-headers | wc -l' to get the total number of ready nodes?
The solution looks good, but I'm not sure about the need to check for nodes tainted with 'NoSchedule'. Shouldn't we just count the ready nodes regardless of their taints?
Tony
22 days agoAmira
3 days agoMiesha
4 days agoWilliam
25 days agoLyndia
5 days agoVashti
10 days agoElsa
12 days agoFrederic
1 months agoAngella
1 months agoEdwin
1 months agoHubert
11 days agoCletus
12 days agoLorean
25 days agoLatonia
1 months agoAngella
1 months ago