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 1 Question 42 Discussion

Posted by Shonda on Apr 23, 2023 at 12:16 PM

Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.

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
32 comments · newest first
IS
Isaiah 12 months ago
Surprised that’s the way to do it! Thought it would be more complex.
CH
Chu 1 year ago
Wait, does that mean it won't restart if it crashes?
FL
Flo 1 year ago
That's the right command for a one-off pod!
DE
Denna 1 year ago
Looks good, but why use `--restart=Never`?
VA
Valda 1 year ago
Just created the namespace with `kubectl create namespace development`!
CR
Crista 1 year ago
I recall needing to specify the namespace with `-n`, but I can't remember if I need to include anything else for the pod creation.
JE
Jean 1 year ago
I might be mixing it up, but I feel like there was a different command for creating a pod directly. Was it `kubectl run` or something else?
LO
Lonna 1 year ago
I practiced something similar last week, and I believe the `--restart=Never` flag is important for running a single pod.
GA
Gaynell 1 year ago
I think I remember that creating a namespace is done with `kubectl create namespace`, but I'm not entirely sure about the syntax for the pod creation.
DO
Domitila 1 year ago
I'm a little confused by the wording here. Does "data sync" mean the same thing as "recipe"? And when exactly does the refresh happen - when both are complete, or in a specific order? I'll have to make an educated guess on this one.
SH
Sharen 1 year ago
This seems like a tricky one. I'll need to think it through carefully to make sure I don't miss anything.
TA
Tasia 1 year ago
Finally, a chance to show off my Kubernetes skills. Time to make some magic happen!
CR
Cristy 1 year ago
↳ replying to Tasia
Thanks! It's always fun to work with Kubernetes.
JE
Jestine 1 year ago
↳ replying to Tasia
Nice job! Kubernetes skills on point.
DE
Detra 1 year ago
↳ replying to Tasia
I just created the namespace 'development' and the pod with nginx image called nginx in that namespace!
AL
Allene 2 years ago
Namespaces and pods, the dynamic duo of Kubernetes. Let's get this done!
EM
Emile 2 years ago
Piece of cake! Just gotta remember those pesky '-n' flags, am I right?
MA
Marion 1 year ago
↳ replying to Emile
Just keep practicing and you'll remember them in no time.
YO
Yolande 1 year ago
↳ replying to Emile
Don't worry, you'll get the hang of it with practice.
MI
Mindy 1 year ago
↳ replying to Emile
Yeah, those flags can be tricky sometimes.
AR
Arthur 2 years ago
Ah, the ol' namespace and pod creation dance. I can do this in my sleep!
JA
Jaime 1 year ago
↳ replying to Arthur
All set! The nginx pod is up and running in the 'development' namespace.
JO
Josefa 1 year ago
↳ replying to Arthur
Don't forget to specify the image as nginx!
TH
Theola 1 year ago
↳ replying to Arthur
Now I'm running the nginx pod in the 'development' namespace.
TO
Tonja 1 year ago
↳ replying to Arthur
I just created the namespace 'development'.
BE
Belen 1 year ago
↳ replying to Arthur
Nice job! Namespace and pod creation complete.
SI
Simona 1 year ago
↳ replying to Arthur
The nginx pod is up and running in the 'development' namespace.
CH
Chanel 2 years ago
↳ replying to Arthur
Now I'm going to run the nginx pod in the 'development' namespace.
CE
Celestina 2 years ago
↳ replying to Arthur
I just created the namespace 'development'.
RI
Rickie 2 years ago
The command to create the pod with image nginx on the 'development' namespace is kubectl run nginx --image=nginx --restart=Never -n development.
RO
Ronny 2 years ago
I agree, it helps in organizing resources and managing permissions.
KR
Kristal 2 years ago
I think creating a namespace called 'development' is important for organization.
0/2000 characters

Save Cancel