Linux Foundation CKA Exam - Topic 4 Question 32 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
Natalie
7 months agoPauline
8 months agoRyan
8 months agoKaycee
8 months agoHoward
8 months agoNenita
8 months agoIsabella
8 months agoAracelis
8 months agoFrank
9 months agoGeorgene
9 months agoTyisha
9 months agoClement
9 months ago