fluxcd / flagger

Progressive delivery Kubernetes operator (Canary, A/B Testing and Blue/Green deployments)
https://docs.flagger.app
Apache License 2.0
4.92k stars 736 forks source link

High Availability Deployment for Loadtester #445

Open harrison-kim opened 4 years ago

harrison-kim commented 4 years ago

When loadtester is deployed with 2 replicas, the state of a deployment's gate is localized to an individual loadtester pod. This leads to checks potentially providing an inconsistent state if queried multiple times.

stefanprodan commented 4 years ago

Testing tasks and the gating API have nothing in common. I propose to split the two into separate services and deprecate the current loadtester app. For state persistence, the new gating service could implement external storage with Redis or Memcached, this way no matter how many replicas you would run, all of them will share the gate state.