Ingress preview/stable host routes #3376
Desolar1um
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'll preface first that I'm not sure if this is an issue or not hence posting here. This concerns the following documentation page concerning settings up an ingress with separate hosts for preview, stable, and split traffic respectively. I'm using Nginx ingress controller.
So far I've been implementing canary using only 2 hosts on my Ingress:
This allows me to set up a direct path to the Canary, but I noticed today that 0 traffic is routed towards the canary during traffic routing steps in my canary. All requests to
test-api.com
only go to the stable version. I realized the issue is thetest-api-canary.com
rule on my ingress. After deleting it, the traffic routing respects what is represented in canary steps.Now, I'm looking at this ingress setup , and I don't understand how the traffic routing will take place for
guestbook-root
service. Will all requests that dont match the first 2 rules go toguestbook-root
service regardless of host? as a sort of default backend? because that doesn't work for me, I need requests only fortest-api.com
to go through for theroot
service, and to have a separate route fordesired
i.e canary service.I feel like some more information is needed on this page to make it fool-proof.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions