5 Deployment Strategies
This chapter covers:
- Deployment
- ReplicaSet
- Blue-Green
- Canary Deployment
- Progressive Delivery
In the previous chapters we have focused on the initial deployment of Kubernetes resources. Launching a new application can be as simple as deploying a ReplicaSet with the desired number of Pod replicas and creating a Service to route the incoming traffic to the desired Pods. But now imagine you have hundreds (or thousands) of customers sending thousands of requests per second to your application? How do you safely deploy new versions of your application? How can you limit the damage if the new version of your application contains a critical bug? In this chapter you will learn about the mechanisms and techniques that can be used with Kubernetes to implement multiple different deployment strategies which are critical to running applications at enterprise- or internet-scale.
We recommend you read chapters 1, 2, and 3 before reading this chapter.