GurbaniX
GurbaniX

Reputation: 317

Ingress traffic route to specific pod endpoint

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

Answers (1)

javierlga
javierlga

Reputation: 1650

You can use nginx.ingress.kubernetes.io/rewrite-target annotation in the ingress resource

Upvotes: 2

Related Questions