-
From kubernetes-sigs/gateway-api#2583 Hi, I want to use the Gateway API for routing with HTTPRoute. The service consists of a few thousand datasets (=postgres database for each dataset), and the url to each dataset use an uuid to identify the dataset, like this:
During normal operation, I just route /app/* to my service, of course. I'm wondering how this will work during an upgrade, because I would like to be able to use a canary-style upgrade where I change the routing to individual datasets to point to the new version for tesing. I guess all the urls need to be typed out individually in the manifest then, and which service they point to? I am aware of the precedence-prefix-precedence rule, which would cut the max number of paths in half. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
is the concern here if NGINX is efficient at matching an incoming request to the correct location? So that no extra latency is seen by the clients? |
Beta Was this translation helpful? Give feedback.
Gateway API has limits:
For your case, it should be possible to start with a single rule like below: