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
9 months agoPauline
9 months agoRyan
9 months agoKaycee
9 months agoHoward
10 months agoNenita
10 months agoIsabella
10 months agoAracelis
10 months agoFrank
10 months agoGeorgene
10 months agoTyisha
10 months agoClement
10 months ago