Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Linux Foundation CKA Exam - Topic 4 Question 89 Discussion

Posted by Jessenia on Aug 14, 2025 at 08:57 PM

Check to see how many worker nodes are ready (not including nodes tainted NoSchedule) and write the number to /opt/KUCC00104/kucc00104.txt.

Suggested Answer: A

Get Premium CKA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
14 comments · newest first
TH
Theron 11 months ago
Not sure if I trust those numbers...
YV
Yvette 11 months ago
Totally agree, 5 seems low for our setup.
MA
Mari 11 months ago
I thought it would be more than that.
LU
Ludivina 11 months ago
Wait, are we excluding tainted nodes? That changes things!
TE
Tegan 11 months ago
Just checked, there are 5 worker nodes ready!
LA
Lashaun 12 months ago
I think we need to write the output to a file using `echo` or something similar, but I’m not clear on the full command sequence.
JO
Johnathon 12 months ago
I believe we can use a combination of `kubectl` commands and `grep` to get the count, but I might be mixing up the syntax.
IO
Iola 1 year ago
I remember practicing a similar question where we had to count nodes, but I can't recall the exact command for excluding tainted ones.
KA
Katheryn 1 year ago
I think we need to use `kubectl get nodes` to check the status, but I'm not sure how to filter out the tainted nodes.
CA
Carri 1 year ago
This seems simple enough. I'll just run `kubectl get nodes` and pipe the output through `grep` to count the ready nodes, excluding the tainted ones. Then I'll use `echo` to write the result to the file.
DA
Danica 1 year ago
Okay, I think I've got this. I'll use `kubectl get nodes -o wide` to see the node status, then count the ones that aren't tainted. Finally, I'll use `echo` to write the number to the file.
TR
Tresa 1 year ago
Hmm, I'm not sure how to check for tainted nodes. I'll need to look up the command for that. And where exactly do I need to write the output to?
VA
Vanesa 1 year ago
This looks straightforward. I'll start by checking the node status with `kubectl get nodes` and filtering out the tainted nodes. Then I'll write the count to the specified file.
AR
Aretha 1 year ago
Okay, so I need to check the worker nodes that are ready, excluding the ones with the NoSchedule taint, and write the count to a specific file. Sounds straightforward enough.
0/2000 characters

Save Cancel