Reputation: 1
I have service A and inside service there's /a-path. How can I only expose specific path inside the service on not expose the whole service.
Upvotes: 0
Views: 365
Reputation: 2755
the following configuration will do this:
rules:
- host: service.example.com
http:
paths:
- path: /a-path
backend:
serviceName: a-svc
servicePort: 80
Upvotes: 2