KCNA · Question #39
What is the default deployment strategy in Kubernetes?
The correct answer is A. Rolling update. The default deployment strategy in Kubernetes is a rolling update, which gradually replaces old Pods with new ones to ensure continuous application availability.
Question
What is the default deployment strategy in Kubernetes?
Options
- ARolling update
- BBlue/Green deployment
- CCanary deployment
- DRecreate deployment
How the community answered
(32 responses)- A94% (30)
- B3% (1)
- D3% (1)
Why each option
The default deployment strategy in Kubernetes is a rolling update, which gradually replaces old Pods with new ones to ensure continuous application availability.
When a Kubernetes Deployment is updated, the default strategy employed is RollingUpdate. This strategy ensures zero-downtime deployments by incrementally replacing old Pods with new ones, while maintaining a specified minimum number of available Pods and gracefully terminating outdated instances.
Blue/Green deployment is an advanced strategy that requires explicit configuration and is not the default behavior for Kubernetes Deployments.
Canary deployment is an advanced strategy for gradually rolling out changes to a small subset of users, requiring explicit configuration, and is not the default.
Recreate deployment is a strategy that tears down all existing Pods before bringing up new ones, causing service downtime, and is not the default.
Concept tested: Kubernetes Deployment strategies (default)
Source: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#rolling-update-deployment
Topics
Community Discussion
No community discussion yet for this question.