DevOps
Exploring Deployment Strategies In Kubernetes
This time I will not write a lenghtly post. Instead, I’ll try to explain different deployment strategies through diagrams. This is for all those who dislike black and white terminal and prefer colors, boxes, and lines with arrows.
The deployment strategies are not presented in any particular order.
Serverless Deployments With Knative
The flow of a request with API gateway
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/knative-request.png)
Knative’s ability to scale to zero replicas
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/knative-scale-to-zero.png)
Knative’s ability to scale from zero to multiple replicas
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/knative-scale-to-three.png)
Recreate Deployment Strategy
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/recreate.png)
Rolling Updates Deployment Strategy
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/rolling-update.png)
Blue-Green Deployments
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/blue-green.png)
Canary Deploymens
Canary deployment rollout
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/canary-rollout.png)
Automatic rollback of a canary release
![](https://www.javacodegeeks.com/wp-content/uploads/2019/09/canary-rollback.png)
Published on Java Code Geeks with permission by Viktor Farcic, partner at our JCG program. See the original article here: Exploring Deployment Strategies In Kubernetes Opinions expressed by Java Code Geeks contributors are their own. |