Implementing DevOps Solutions and Practices Using Cisco Platforms (DEVOPS) — Question 107
An application has been designed based on microservices. The application is deployed on Kubernetes using multiple pods that share the same IP address. Each pod is responsible for a service in the application.
Which command validates the success of the application deployment?
Answer options
- A. kubectl get pods -o wide -w
- B. kubectl rollout status deployment
- C. kubectl describe pods/
- D. kubectl rollout history deployment
Correct answer: B
Explanation
The command 'kubectl rollout status deployment' provides the status of the deployment, indicating whether it has successfully completed or not. The other commands serve different purposes, such as listing pods, describing pod details, or viewing deployment history, but they do not directly confirm the deployment's success.