The recreate strategy is based on the idea of closing old version instances and then creating the next version's. With this strategy, it is inevitable to have downtime, depending on both the shutdown and start duration of applications. In Kubernetes, the recreate strategy can be used for creating deployment resources with the strategy of recreate.
The rest of the operations are handled by Kubernetes. Under the hood, the steps of the recreate strategy are as follows:
- Requests from users are routed to V1 instances by using a load balancer:
- V1 instances are closed, and downtime has started since there is no available ...