Container Deployments
Container orchestrators use a desired state with controllers and resources working to seek the match the actual state with the desired state. This feature provides powerful and experimental deployment strategies, enabling teams to safely deploy changes to production environments. The following are the primary deployment strategies.
Recreate¶
A deployment with Recreate strategy will have the old pods killed and replaced by new pods all at once.
Rolling Update¶
A deployment with Rolling Update strategy will have new pods provisioned to gradually take over for old pods.
Blue/Green¶
A deployment with Blue/Green strategy will have an entire new set of pods created and then once ready, the traffic will be cutover.
Canary¶
A Canary deployment strategy will slowly shift traffic to a new set of pods, monitoring for errors and automating rollback if necessary.
A/B¶
An A/B deployment strategy works similarly to a Canary deployment, however traffic is shifted based on specific attributes of the request, for example user type, geographic region, device type, etc.