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
2 months agoGeorgiana
1 months agoAmira
1 months agoMiesha
1 months agoWilliam
2 months agoLyndia
1 months agoVashti
1 months agoElsa
2 months agoFrederic
2 months agoAngella
2 months agoEdwin
2 months agoAdria
26 days agoHubert
2 months agoCletus
2 months agoLorean
2 months agoLatonia
3 months agoAngella
3 months ago