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 71 Discussion

Posted by Mireya on Sep 13, 2024 at 11:15 AM

Score: 4%

Task

Schedule a pod as follows:

* Name: nginx-kusc00401

* Image: nginx

* Node selector: disk=ssd

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
31 comments · newest first
KA
Kara 11 months ago
Surprised to see "spinning" in there, thought SSDs were the standard now!
JA
Jamal 11 months ago
Looks good to me, but I’d double-check the YAML syntax.
IS
Isreal 12 months ago
Wait, why are we using "IfNotPresent"? Shouldn't it be "Always"?
EL
Elenore 12 months ago
Totally agree, that’s a crucial detail!
CE
Celia 1 year ago
Just a heads up, the node selector should be "disk=ssd", not "disk=spinning".
NA
Natalie 1 year ago
I think I got the pod name and image right, but I’m a bit confused about the node selector. Should it be "disk=ssd" or something else?
CA
Carma 1 year ago
I feel confident about the pod definition, but I might have mixed up the imagePullPolicy. Was it "IfNotPresent" or "Always"?
LE
Leah 1 year ago
This question seems similar to one we did on pod scheduling. I think I need to double-check the node selector part.
PA
Pansy 1 year ago
I remember we practiced node selectors in class, but I’m not sure if "disk=ssd" is the right syntax here.
AL
Allene 1 year ago
This seems straightforward enough. I'll create the YAML file, double-check the node selector, and then use kubectl to create the pod. Shouldn't take too long to complete.
JA
Jaleesa 1 year ago
Wait, the question says "disk=ssd", but the solution has "disk=spinning". I'm a bit confused about which one to use. I'll need to re-read the question carefully.
CH
Chi 1 year ago
Okay, I think I've got this. I'll create a YAML file with the pod name, image, and node selector as specified, and then use kubectl to apply the configuration.
ER
Erick 1 year ago
Hmm, I'm a bit unsure about the node selector. Does "disk=ssd" mean I need to have a node with an SSD disk? I'll need to double-check the node labels before proceeding.
AL
Alise 1 year ago
This looks straightforward. I'll start by creating a YAML file with the required pod specifications and then use kubectl to create the pod.
MA
Marvel 1 year ago
Hmm, I'm a bit unsure about the difference between the Result Object and the ResultItem Object. I'll need to review that before answering.
LA
Lashonda 2 years ago
Haha, 'nginx-kusc00401' - sounds like someone's trying to hide a secret message in the pod name. What, are they running a secret nginx server or something?
JA
Jackie 2 years ago
↳ replying to Lashonda
User 3: Who knows, maybe there's a hidden message in every pod name.
JO
Johanna 2 years ago
↳ replying to Lashonda
User 2: Or maybe they just like to keep things interesting with their pod names.
LA
Launa 2 years ago
↳ replying to Lashonda
Maybe it's a covert operation, hiding in plain sight.
GE
Gertude 2 years ago
I prefer using node selector for pods to ensure they run on suitable nodes.
CH
Cheryll 2 years ago
Wait, is 'IfNotPresent' the correct image pull policy? I thought it was 'Always'... Better double-check that.
CH
Chuck 2 years ago
↳ replying to Cheryll
I double-checked, and 'IfNotPresent' is indeed the correct image pull policy for this pod.
SH
Sherman 2 years ago
↳ replying to Cheryll
Let me check the documentation to confirm the correct image pull policy.
NE
Nelida 2 years ago
↳ replying to Cheryll
Are you sure? I remember it being 'Always' for nginx pods.
RO
Roy 2 years ago
↳ replying to Cheryll
I think 'IfNotPresent' is the correct image pull policy for this pod.
HY
Hyman 2 years ago
I agree, using node selector can help optimize resource allocation.
RY
Ryan 2 years ago
Hmm, the node selector is supposed to be 'disk=ssd', not 'disk=spinning'. I hope the actual exam doesn't have any silly typos like this!
GE
Germaine 2 years ago
↳ replying to Ryan
Herman: Agreed, attention to detail is key in these exams.
HE
Herman 2 years ago
↳ replying to Ryan
Yeah, that would be frustrating. Just have to stay focused and double check everything.
RE
Reuben 2 years ago
↳ replying to Ryan
I noticed that typo too. Hopefully it won't happen in the actual exam.
VE
Veronika 2 years ago
I think scheduling a pod with specific node selector is important for performance.
0/2000 characters

Save Cancel