Refer to Exhibit.

Context
You are asked to prepare a Canary deployment for testing a new application release.
Task:
A Service named krill-Service in the goshark namespace points to 5 pod created by the Deployment named current-krill-deployment

1) Create an identical Deployment named canary-kill-deployment, in the same namespace.
2) Modify the Deployment so that:
-A maximum number of 10 pods run in the goshawk namespace.
-40% of the krill-service 's traffic goes to the canary-krill-deployment pod(s)

Suggested Answer: A
Get Premium CKAD Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
30 comments · newest first
KI
King
9 months ago
You can run a max of 10 pods in the namespace, right?
YO
Youlanda
10 months ago
Wait, 40% traffic? That seems risky for a canary deployment.
CO
Colette
10 months ago
Totally agree, and don’t forget to set the traffic split!
SH
Shala
10 months ago
Sounds straightforward, but I hope the traffic routing is set up correctly!
DE
Delisa
11 months ago
Just create a new Deployment named canary-kill-deployment.
MA
Markus
11 months ago
I think I recall that we need to ensure the service routes traffic properly. I hope I can remember the exact commands for that!
DU
Dulce
11 months ago
I feel a bit confused about the maximum number of pods. Is it just about setting the replicas in the deployment spec?
BR
Brock
11 months ago
This question seems similar to the one we did in class about traffic splitting. I think I need to use the service's annotations for that.
TO
Toi
12 months ago
I remember we practiced creating a canary deployment, but I'm not sure how to set the traffic percentage correctly.
MA
Marnie
12 months ago
I've got this! Creating the deployment and modifying the traffic split should be straightforward. The pod limit might take a bit more thought, but I'm confident I can figure it out.
ST
Stephania
12 months ago
Whoa, this is a lot of information to process. I better read through it carefully and make sure I understand the requirements before I start writing any code.
CA
Catalina
1 year ago
Hmm, this looks a bit tricky. I'll need to pay close attention to the details, like the traffic split and the pod limit. Gotta make sure I get this right.
CO
Cory
1 year ago
Okay, let's see. I think I can handle this. First, I'll need to create the canary deployment, then modify it to meet the requirements. Shouldn't be too difficult.
GR
Gracia
1 year ago
Let's focus on getting the configuration right for the canary deployment.
TY
Ty
1 year ago
Wait, did they say we need to run a maximum of 10 pods in the goshawk namespace? That's a weird requirement, but I guess we'll have to figure it out.
PE
Pearline
9 months ago
True, but it complicates things for the canary deployment.
BR
Brett
9 months ago
Maybe they want to limit resource usage?
CA
Carin
10 months ago
Yeah, it sounds odd. Why not just let it scale as needed?
VI
Vincenza
10 months ago
I know, right? But we have to stick to the requirements.
AS
Ashley
1 year ago
Yes, we have to ensure only 40% of traffic goes to the canary pods.
JU
Junita
1 year ago
I think we need to create a new Deployment and modify the traffic split.
GR
Gracia
1 year ago
I agree, Canary deployments can be tricky to set up.
VA
Vashti
1 year ago
Okay, so we need to create a Canary deployment with 40% of the traffic going to the new pods. Looks straightforward enough.
CL
Clemencia
1 year ago
Once these steps are completed, the Canary deployment should be ready for testing.
CO
Coral
1 year ago
After that, we can modify the deployment to set 40% of the traffic to the new pods.
MA
Major
1 year ago
Make sure the maximum number of pods running in the goshawk namespace is set to 10.
GE
Gearldine
1 year ago
Next, we need to modify the Deployment to ensure 40% of the traffic goes to the canary-krill-deployment pods.
CE
Celestina
1 year ago
Let's create the canary-krill-deployment first.
BI
Billye
1 year ago
Let's start by creating an identical Deployment named canary-kill-deployment.
AS
Ashley
1 year ago
This question seems challenging.