Kubernetes and Cloud Native Associate (KCNA) — Question 60
How can you monitor the progress for an updated Deployment/DaemonSets/StatefulSets?
Answer options
- A. kubectl rollout watch
- B. kubectl rollout progress
- C. kubectl rollout state
- D. kubectl rollout status
Correct answer: D
Explanation
The correct command to monitor the status of an updated Deployment, DaemonSet, or StatefulSet is 'kubectl rollout status', as it provides the current status of the rollout. The other options either do not exist or serve different purposes, such as 'kubectl rollout watch' which is not a valid command for checking status.