-
Notifications
You must be signed in to change notification settings - Fork 49
Check my rationale please #169
Copy link
Copy link
Open
Description
Hey all,
I'm quite new to rollouts and gatewayapi and as wondering if you experts might be able to help me please :) If I set this in my canary steps:
canary:
steps:
- setCanaryScale:
replicas: 1
- setHeaderRoute:
match:
- headerName: X-Canary
headerValue:
exact: "true"
name: canary-header
- setWeight: 1
- pause: {}
- setCanaryScale:
matchTrafficWeight: true
- setWeight: 20
- pause: {}
- setWeight: 50
- pause: {duration: 30}
Then the header rule works 100% of the time but also sends normal traffic 1% of the time to canary which I dont want, but if I set this:
canary:
steps:
- setCanaryScale:
replicas: 1
- setHeaderRoute:
match:
- headerName: X-Canary
headerValue:
exact: "true"
name: canary-header
- pause: {}
- setCanaryScale:
matchTrafficWeight: true
- setWeight: 20
- pause: {}
- setWeight: 50
- pause: {duration: 30}
Then it returns nothing at all and when looking in the httproute its setting weight to 0 which means that its not allowing any traffic to the canary deployment.
I was wondering what I might be doing wrong?
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels