-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checklist:
- I've included steps to reproduce the bug.
- I've included the version of argo rollouts.
Describe the bug
I have an application with three ingresses. One of them is an ALB and the others are NGINX. I've tried to migrate it to argo rollouts with this manifest below:
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: sample-api
labels:
app: sample-api
spec:
replicas: 2
workloadRef:
apiVersion: apps/v1
kind: Deployment
name: sample-api
analysis:
successfulRunHistoryLimit: 3
unsuccessfulRunHistoryLimit: 3
strategy:
canary:
stableService: sample-api
canaryService: sample-api-canary
trafficRouting:
alb:
ingresses:
- sample-api-alb
servicePort: 80
rootService: sample-api-root
nginx:
stableIngresses:
- sample-api-public
- sample-api-internal
canaryIngressAnnotations:
provider: canary
steps:
- setWeight: 10
- pause:
duration: 5m
- setWeight: 30
- pause: {}
When argo rollouts tries to reconciliate this configurations it emits this error:
spec.strategy.canary.trafficRouting.nginx.stableIngress: Invalid value: \"\": ingress `sample-api-alb` has no rules using service sample-api backend
But there isn't a definition for stableIngress in my nginx statement, just stableIngresses instead, much less with an ingress called sample-api-alb. It's configured just on alb statement.
To Reproduce
- Create an alb ingress and one or more nginx ingress for the same application
- Configure a rollout with both ingresses, each one in its trafficRouting statement
- Apply the rollout and you will see the error
Expected behavior
Both ingresses traffic managed by argo rollouts simultaneously.
Version
v1.8.3
Logs
time="2025-09-17T01:50:50Z" level=error msg="spec.strategy.canary.trafficRouting.nginx.stableIngress: Invalid value: \"\": ingress `sample-api-alb` has no rules using service sample-api backend" error="<nil>"
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
lucassilva-hotmart, flaviowashington-hotmart, fabioviana-hotmart, leandroandrade-hotmart and puretension
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working