Description
Checklist:
- I've included steps to reproduce the bug.
- I've included the version of argo rollouts.
Describe the bug
We’ve run into an issue using Argo Rollouts with workloadRef in combination with HPA.
What we’re doing:
• We use a Rollout with workloadRef pointing to a Deployment.
• HPA targets the Rollout and has minReplicas: 2.
• The referenced Deployment is still set to replicas: 1.
What we observe:
• We consistently have 3 pods running:
• 2 pods are managed by the Rollout’s ReplicaSet (as expected due to HPA).
• 1 pod is created and managed directly by the Deployment controller.
This happens even though the Rollout is meant to “take over” the Deployment.
What’s expected:
We expected that the Rollout (when using workloadRef) would fully manage the workload and prevent the Deployment controller from spawning its own pods.
Notes:
• Setting replicas: 0 in the Deployment avoids duplication, but makes the Deployment appear “Unavailable” and can easily break if someone bumps replicas again.
version:
v1.8.3
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.