Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

279
Visualizações
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 Respostas
Responde à pergunta

0

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

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda