weave-gitops-enterprise icon indicating copy to clipboard operation
weave-gitops-enterprise copied to clipboard

[backstage] EE plugin flagger support

Open foot opened this issue 2 years ago • 5 comments

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

foot avatar Aug 30 '23 12:08 foot

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.

bigkevmcd avatar Sep 06 '23 12:09 bigkevmcd

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

lasomethingsomething avatar Sep 06 '23 12:09 lasomethingsomething

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.

foot avatar Sep 13 '23 12:09 foot

Flagger changes landed! https://github.com/fluxcd/flagger/pull/1521

foot avatar Sep 20 '23 12:09 foot

Do some very simple mockups

  • Inspiration? ArgoCD rollout UI

foot avatar Nov 15 '23 13:11 foot