Create a deployment spec file that will:
Launch 7 replicas of the nginx Image with the label app_runtime_stage=dev
deployment name: kual00201
Save a copy of this spec file to /opt/KUAL00201/spec_deployment.yaml
(or /opt/KUAL00201/spec_deployment.json).
When you are done, clean up (delete) any new Kubernetes API object that you produced during this task.
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
40 comments · newest first
IL
Ilona
11 months ago
I thought we were using a different image for dev?
KI
Kimberlie
12 months ago
Don’t forget to clean up after! That’s super important.
AL
Alishia
12 months ago
Wait, are we sure about the deployment name? Sounds a bit off.
LE
Lenora
1 year ago
Totally agree, that’s the way to do it!
CL
Clarinda
1 year ago
Just need to set replicas to 7 and label it correctly.
ER
Erasmo
1 year ago
I recall that cleaning up after creating the deployment is important, but I hope I remember the right command to delete it.
AM
Amie
1 year ago
I’m a bit confused about where to save the spec file. Is it just a matter of using the correct path, or do I need to check permissions too?
LU
Luis
1 year ago
I practiced a similar question last week, and I think I need to specify the labels correctly under the metadata section.
JA
Jacinta
1 year ago
I think I remember the syntax for the deployment spec, but I'm not entirely sure about the exact structure for the replicas.
AI
Aileen
1 year ago
I'm not totally confident on this one. There are a lot of details to keep track of, and I want to make sure I don't miss anything. I'll need to really think through each option carefully.
YU
Yuki
1 year ago
Ah, I see now. Permission sets and delegated administration are the two options that allow me to grant additional permissions without editing the user's profile. The resources explain how these work, so I think I've got a good handle on this.
MI
Mitzie
1 year ago
I'm pretty sure SNMP uses UDP, since it's a lightweight protocol for network management.
DE
Delsie
1 year ago
This task seems pretty simple, but I'll make sure to carefully delete the Kubernetes objects when I'm done. Don't want to leave any mess behind.
JU
Juliana
1 year ago
User 3: After saving the spec file, don't forget to clean up any new Kubernetes API objects.
EU
Eura
1 year ago
User 2: Make sure to launch 7 replicas of the nginx Image with the label app_runtime_stage=dev.
HA
Haydee
1 year ago
User 1: I'll create the deployment spec file as instructed.
YV
Yvonne
2 years ago
7 replicas of nginx, huh? I guess the developers really like their web servers. I wonder if they're planning a party.
KI
Kirby
1 year ago
Latrice: Haha, that would be a unique party theme for sure!
LA
Latrice
1 year ago
User 2: Yeah, maybe they're planning a big party or something.
RO
Roosevelt
1 year ago
User 1: 7 replicas of nginx? That's a lot of web servers!
AL
Alishia
2 years ago
I like how the question provides the exact file name and location. Makes it easy to follow the instructions.
SH
Shenika
1 year ago
All done! Spec file created, saved, and unnecessary objects deleted.
TH
Theodora
1 year ago
After that, I'll clean up any new Kubernetes API objects I created during this task.
CH
Chantell
1 year ago
I'll name the deployment kual00201 and save the spec file to /opt/KUAL00201/spec_deployment.yaml.
RI
Rikki
1 year ago
Got it, I'll create the deployment spec file with 7 replicas of nginx and the label app_runtime_stage=dev.
BE
Becky
1 year ago
All done! The deployment spec file is ready and the cleanup is complete.
EL
Elfriede
1 year ago
After that, I'll clean up any new Kubernetes API objects I created during this task.
WI
Wilford
1 year ago
I'll name the deployment kual00201 and save a copy of the spec file to /opt/KUAL00201/spec_deployment.yaml.
LY
Lynelle
2 years ago
Got it, I'll create the deployment spec file with 7 replicas of nginx and the label app_runtime_stage=dev.
TO
Tom
2 years ago
The image and label look good, but I'm curious about the 7 replicas. Maybe I should test different replica counts to see how the system handles it.
SU
Susana
2 years ago
A
FA
Fallon
2 years ago
A
KA
Kami
2 years ago
This deployment spec looks straightforward. I'd double-check the file path to make sure it matches the requirements.
MO
Moon
1 year ago
User4: Don't forget to clean up any new Kubernetes API object we produced during this task.
LE
Leah
2 years ago
User3: Let's save a copy of the spec file to /opt/KUAL00201/spec_deployment.yaml.
TY
Tyra
2 years ago
User2: Yes, the deployment name should be kual00201.
AL
Alyssa
2 years ago
User1: I think we need to launch 7 replicas of the nginx Image with the label app_runtime_stage=dev.
LA
Lanie
2 years ago
Yes, the explanation and images given should help us understand what needs to be done.
LA
Lawrence
2 years ago
I agree, but I believe if we follow the steps provided, we can do it.
LA
Lanie
2 years ago
I think the question about creating a deployment spec file is challenging.