Rolling Back Canary Deployments
Explore how Jenkins X and Flagger handle automatic rollbacks during canary deployments based on specific metric thresholds, ensuring stability before full production release. Understand rollback triggers and apply the concepts in staging environments.
We'll cover the following...
We'll cover the following...
Here’s the good news. Flagger will automatically rollback if any of the metrics we set fails the number of times set as the threshold configuration option. Similarly, it will also roll back if there are no metrics.
In our case, there are at least three ways we can run an example that would result in a rollback.
- We could start sending requests that would generate errors until we reach the