Create 2 nginx image pods in which one of them is labelled with env=prod and another one labelled with env=dev and verify the same.
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
15 comments · newest first
LO
Loreta
1 year ago
Double-check the pod names in the YAML files, might cause issues!
AL
Alysa
1 year ago
I love how easy it is to label pods now!
AN
Anjelica
1 year ago
Wait, are we really using the old generator? Thought that was deprecated!
AP
Apolonia
1 year ago
Looks good, but why remove those entries? Seems unnecessary.
CH
Chan
1 year ago
Just ran the commands, both pods created successfully!
PA
Pamella
1 year ago
I believe we have to verify the pods using `kubectl get po --show-labels`, but I'm not sure if I need to include any additional flags.
DA
Dan
1 year ago
I practiced a similar question where we had to create multiple pods, but I can't recall if we needed to specify the restart policy explicitly.
DE
Desire
1 year ago
I'm a bit unsure about the exact syntax for the labels in the kubectl command. Did we use `--labels` or just `labels=`?
RE
Reuben
1 year ago
I think I remember that I need to create two separate YAML files for each pod, one for prod and one for dev.
VA
Val
1 year ago
Hmm, this looks like a straightforward multiple-choice question on file formats. I'll need to carefully read through the options and think about which ones are most likely to be correct.
GL
Glennis
1 year ago
Whoa, this is a tough one. I'm not super confident in my ability to interpolate bond spreads. Maybe I'll try to eliminate some of the options first before attempting the full calculation.
ME
Mendy
1 year ago
Okay, let me think this through step-by-step. Porter received $35,000 in wages, $4,000 in unemployment compensation, and $2,000 in supplemental unemployment benefits. So the total gross income would be $35,000 + $4,000 + $2,000 = $41,000. I'm pretty confident that's the right answer.
CO
Cordelia
1 year ago
I think the best first step is to analyze the precursors and indicators, but I'm not entirely sure. This feels like one of those tricky scenarios.
SI
Sina
1 year ago
Alright, let me think this through step-by-step. PMON is the process monitor, so that's a must-have. RECO is the recoverer process, which is also essential. And LREG is the listener registration process, which I believe is required as well. I'll go with those three.
TI
Tish
1 year ago
I think a lot depends on the context, but ensuring understanding sounds plausible. However, I don't recall that being a common tactic for deceitful responses.