Scale the deployment webserver to 6 pods.
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
14 comments · newest first
MA
Ma
10 months ago
Wait, are we sure 6 is necessary?
JE
Jesusita
11 months ago
6 pods? Seems a bit much for a small app.
MA
Margot
11 months ago
That's a solid number for scaling!
HE
Herschel
11 months ago
Totally agree, 6 should handle the load well.
TO
Torie
11 months ago
I thought we were only using 4 pods before?
AL
Alberto
11 months ago
I practiced this before, and I believe we can also edit the deployment YAML file to set the replicas to 6, but I’m not confident about the best approach.
SA
Sarah
12 months ago
Scaling to 6 pods should be straightforward, but I might need to double-check the deployment name to make sure I'm targeting the right one.
AV
Avery
12 months ago
I remember a similar question where we had to scale a deployment, and I think we just specified the number of replicas in the command.
JU
Juliana
1 year ago
I think we need to use the `kubectl scale` command, but I'm not entirely sure about the exact syntax.
KA
Kaycee
1 year ago
Easy peasy, I've done this before. I'll just make sure I have the deployment name right and then scale it up to 6 pods.
WA
Wai
1 year ago
No problem, I've got this. I'll just run `kubectl get deployments` to find the name, then `kubectl scale deployment --replicas=6`.
SI
Sina
1 year ago
Wait, how do I find the deployment name again? I'm a bit fuzzy on the syntax for this.
CA
Cassie
1 year ago
Okay, let me think this through step-by-step. I'll need to use the `kubectl scale` command to update the deployment.
GA
Garry
1 year ago
Hmm, this looks straightforward. I'll need to find the deployment and update the replica count to 6.