Reputation: 317
I have a go application in K8S and need to configure Ingress for specific endpoint. Example: when user type in browser xx.yy.com, ingress route this traffic to pod /v1/example endpoint.
How can I do with Ingress or any different method for it ?
Upvotes: 0
Views: 646
Reputation: 1650
You can use nginx.ingress.kubernetes.io/rewrite-target
annotation in the ingress resource
Upvotes: 2