exam questions

Exam CKA All Questions

View all questions & answers for the CKA exam

Exam CKA topic 1 question 7 discussion

Actual exam question from CNCF's CKA
Question #: 7
Topic #: 1
[All CKA Questions]

SIMULATION -


Task -
Scale the deployment presentation to 3 pods.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
noahsark
1 month, 3 weeks ago
killer_sh_lab: k create deploy presentation --image=nginx --dry-run=client -o=yaml > presentation.yml k apply -f presentation.yml k scale deploy presentation --replicas=3
upvoted 1 times
...
sreehp00
7 months, 2 weeks ago
dont forget to mention out the concerned namespace: controlplane ~ ✖ k scale --replicas=3 deployment/webapp-video -n app-space deployment.apps/webapp-video scaled
upvoted 2 times
...
cp2323
1 year ago
kubectl scale --replicas=3 deployment/presentation
upvoted 3 times
...
junaid84u
1 year, 11 months ago
use below command to scale the deployment kubvectl scale deployment_name --replicas=3
upvoted 2 times
sTeVe86
1 year, 8 months ago
You must specify the deployment to scale up or down. kubectl scale deployment <deployment_name> --replicas=3 kubectl scale deployment/<deployment_name> --replicas=3
upvoted 14 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago