Kubernetes
Medium
Commands
What is the purpose of the 'kubectl rollout' command?
Select your answer:
Show answer and explanation
Answer: To manage deployments, including viewing status and undoing changes
Explanation
The 'kubectl rollout' command manages the rollout of resources like deployments. It can be used to view the status of a rollout, pause or resume a rollout, or undo a previous rollout. This is useful for monitoring and controlling the deployment of application updates.
More medium Kubernetes questions
- What is a Kubernetes Endpoint?
- Which command would you use to label a node?
- Which HTTP status code does the Kubernetes Eviction API return when a PodDisruptionBudget blocks an eviction?
- The kubelet evicts a pod because its node has crossed the memory.available hard eviction threshold. What happens to that pod?
- After running kubeadm certs renew all, openssl still shows the old expiry date on the certificate served on port 6443. What is the most likely reason?
- A Deployment wants 5 replicas but only 3 Pods exist and none is Pending. Where does a ResourceQuota rejection show up?