C. With kubectl scale deployment and kubectl edit deployment.
You can scale a Kubernetes deployment using either of the following methods:
kubectl scale deployment: This command allows you to specify the desired number of replicas directly.
kubectl edit deployment: This command opens the deployment's configuration in an editor, where you can manually change the number of replicas.
Both methods effectively achieve the same result by adjusting the number of running instances (replicas) of your application.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
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.
2211094
2 days, 18 hours ago