weave-gitops-enterprise
weave-gitops-enterprise copied to clipboard
[backstage] EE plugin flagger support
Prereqs
- Have a play with flagger and get a feel for how it works
User story for dev here
- See if deployment has been successful if flagger is configured, may have to make code changes etc and redeploy?
Base Proposal
- Show table of Canaries with columns as we have in the EE "Delivery" section
- Click through to weave-gitops etc
Something nicer
- Would be cool render some visualization of success/failure of deployment etc, or "moving" / promoting things from "dev" to "prod" etc
- Backstage has some graph support we could investigate
Having chatted with @stefanprodan ...
Hey Kevin. For starters it would be good to show the list of canaries like WG does. If Backstage supports graphs rendered from Prometheus, then showing the req/sec, latency and error rate would be a nice addition. More advanced functionality would be to implement Flagger gating and have buttons to approve a canary rollout, rollback, etc.
Showing (for ex, Prometheus) metrics inside WG is also an idea we've kicked around but not something we'll do right away given all the other things that we need to do first re: Pipelines/PD
Ideally would add a rolloutID to flagger's model to differentiate between different rollouts. (currently only keys on {clusterName,deploymentName,deploymentNamespace}) which doesn't work well for building a UI around multiple rollouts.
Flagger changes landed! https://github.com/fluxcd/flagger/pull/1521
Do some very simple mockups
- Inspiration? ArgoCD rollout UI