When deploying applications to Kubernetes (K8s), several deployment strategies can be used depending on the requirements for uptime, risk mitigation, and resource management. Here are some common deployment strategies, including commit-based deployment:
Description: Gradually updates instances of the application one at a time. This ensures that there is no downtime, but it can be slower.
Steps:
- Start updating the instances one by one.
- Wait for the new instance to be up and running before updating the next one.
- Continue until all instances are updated.