You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "mchtech (via GitHub)" <gi...@apache.org> on 2023/04/13 15:03:49 UTC

[GitHub] [apisix-ingress-controller] mchtech commented on issue #1785: question: regex path route matching is unstable

mchtech commented on issue #1785:
URL: https://github.com/apache/apisix-ingress-controller/issues/1785#issuecomment-1507133399

   I only use `apisix-ingress-controller` to "sync" K8s APISIX Ingress resources to `apisix` routes.
   
   > order 1
   1. add k8s regex ingress `/api/bbb/.* --> svc-b`: `curl /api/bbb/ccc`: route to `svc-b`
   2. add k8s regex ingress `/api/.*     --> svc-a`: `curl /api/bbb/ccc`: route to `svc-b`
   
   > order 2
   1. add k8s regex ingress `/api/.*     --> svc-a`: `curl /api/bbb/ccc`: route to `svc-a`
   2. add k8s regex ingress `/api/bbb/.* --> svc-b`: `curl /api/bbb/ccc`: route to **`svc-a`** (???)
   3. delete k8s regex ingress `/api/.*     --> svc-a`: `curl /api/bbb/ccc`: route to `svc-b`
   4. add k8s regex ingress `/api/.*     --> svc-a`: `curl /api/bbb/ccc`: route to `svc-b`
   
   Is it a feature?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org