flagger
flagger copied to clipboard
Flexibility to control steps during deployment
Describe the feature
What problem are you trying to solve?
I'd like to start using canary deployment. The flagger manifests management is awsome, but I would like the flexibility to choose the percentage between versions during analysis. I would also like not to have a deadline to finalize the deployment.
Proposed solution
What do you want to happen? Add any considered drawbacks.
It would be great to have something to interact with flagger and trigger the actions. It could be something like an API.
For example:
- Canary detect changes and prepare environment
- Human Controll:
- curl POST /route: {"canary": "10"}
- Human validate all data and monitoring systems
- curl POST /route { "canary": "30"}
- If error: curl POST /route { "canary": "10"}
- Human analyse... (indefinitely)
- If confirmed need for rollback: curl POST /rollback
- If success confirmed: curl POST /promote
- Flagger finalize deployment, based on the endpoint call
Any alternatives you've considered?
Is there another way to solve this problem that isn't as good a solution?