Which reason best explains why advanced deployment patterns like Blue-Green or Canary are important in Kubernetes?
Think about how users experience updates and how errors can be caught early.
Advanced deployment patterns help update apps smoothly without stopping service and allow testing new versions with a small user group before full rollout.
What is the expected output when running this command in Kubernetes?
kubectl rollout status deployment/myapp
This command checks if the deployment finished updating.
The command shows the rollout status and confirms success when the deployment completes updating all pods.
Arrange these steps in the correct order for performing a Canary deployment in Kubernetes.
Think about deploying first, then watching, then increasing traffic.
Canary deployment starts with a small rollout, monitors for problems, then increases traffic before full switch.
You ran kubectl rollout restart deployment/myapp but the new pods keep crashing. What is the most likely cause?
New pods crashing usually means something wrong inside the container.
If new pods crash after restart, the container image likely has errors or misconfiguration causing failure.
Which option is the best practice for securely managing sensitive data like passwords in Kubernetes?
Think about security and encryption when storing secrets.
Kubernetes Secrets are designed for sensitive data and can be encrypted at rest to protect information.