argoproj-labs / argo-rollouts-manager

Kubernetes Operator for Argo Rollouts controller.
https://argo-rollouts-manager.readthedocs.io/en/latest/
Apache License 2.0
93 stars 304 forks source link

Support for HA mode #6

Closed jaideepr97 closed 8 months ago

jaideepr97 commented 1 year ago

The Argo Rollouts controller supports HA mode as is described in this FAQ section. By supplying the --leader-elect flag and adjusting the controller deployment replicas. While this maybe something that could achieved from the existing extraCommandArgs field in the operand spec, I think it would be worth considering the introduction of a first class field in the CR to support HA mode, along the lines of:

spec:
  ha:
    enabled: true
    replicas: 5

which should automatically update the controller deployment container with the required flag and update the replica count in the deployment itself