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