Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Internal Ingress normalize path of request url

I'm having the problem that this internal load balancer is normalizing the request url path, for example instead of sending https://example.com.ar/api/test///example/31652601/02-01-2025//5000/ to my backend service
it sends https://example.com.ar/api/test/example/31652601/02-01-2025/5000/
Is there a way to prevent it from normalizing the request url as it does with external ingress controllers?
This is the yaml of my internal ingress controller:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: internal-ingress-gcp
namespace: test
annotations:
kubernetes.io/ingress.class: "gce-internal"
kubernetes.io/ingress.allow-http: "false"
spec:
tls:
- secretName: internal-ingress-tls
rules:
- host: example.com.ar
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app-cluster-internal
port:
number: 8280

Thank you!

0 1 193
1 REPLY 1

Hi @federfunes,

It appears that a more thorough investigation of your project is necessary. For more detailed insights you may reach out to Google Cloud Support for assistance.

Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.

Top Labels in this Space