Linux Foundation CKA Exam - Topic 1 Question 70 Discussion
Score: 4%TaskCheck to see how many nodes are ready (not including nodes tainted NoSchedule ) and write the number to /opt/KUSC00402/kusc00402.txt.
A) Explanation:
Solution:
kubectl describe nodes | grep ready|wc -l
kubectl describe nodes | grep -i taint | grep -i noschedule |wc -l
echo 3 > /opt/KUSC00402/kusc00402.txt
#
kubectl get node | grep -i ready |wc -l
# taintsnoSchedule
kubectl describe nodes | grep -i taints | grep -i noschedule |wc -l
#
echo 2 > /opt/KUSC00402/kusc00402.txt
Gerald
7 months agoSabine
7 months agoLuisa
7 months agoLatrice
7 months agoLatricia
8 months agoVirgilio
8 months agoOllie
8 months agoMargart
8 months agoEdwin
8 months agoCallie
8 months agoNakisha
8 months agoEarleen
8 months agoRolf
8 months agoValentin
9 months agoRyan
9 months agoTony
2 years agoGeorgiana
2 years agoAmira
2 years agoMiesha
2 years agoWilliam
2 years agoLyndia
2 years agoVashti
2 years agoElsa
2 years agoFrederic
2 years agoAngella
2 years agoEdwin
2 years agoAdria
2 years agoHubert
2 years agoCletus
2 years agoLorean
2 years agoLatonia
2 years agoAngella
2 years ago