Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

277
Views
unable to deploy microservices with different endpoint patterns using kubernetes ingress

I'm trying to deploy a bunch of microsrvices under a single ingress contoller (in a k8s cluster). For some of these apps the ingress requires a rewrite annotation in the ingress definition like this: nginx.ingress.kubernetes.io/rewrite-target: /$2 and some of them do not use any rewrite annotation and are defined via a specific path.

Both apps are using the same host but different paths:

app1 uses - path: /foo/?(.*)

app2 uses - path: /bar

I can get these working seperately but not together. (with rewrite annotation the first set of apps are redirected correctly and without annotation only the second set of apps work)

I also tried creating different ingress definitions for different set of apps with required nginx configuration which also did not help.

Any thoughts please?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

I was able to get away with this by creating another ingress in a different namespace.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!