Cka real test practice (8) Check the number of available nodes

Topic Eight

Check how many worker nodes are ready (excluding nodes marked with Taint: NoSchedule), and write the number to /opt/KUSC00402/kusc00402.txt

Answer

method one

Method Two

grep -i is case insensitive

grep -v reverse

grep -c statistics

 verify

 

Guess you like

Origin blog.csdn.net/m0_65307735/article/details/129613856