I have created a service using this manual: https://kubernetes.io/docs/tutorials/stateless-application/expose-external-ip-address-service/
The service has IP in this example (10.32.0.16
, by kubectl describe services example-service
command) and we can create proxy_pass rule: proxy_pass http://10.32.0.16:8080;
in external (outside the cluster) nginx.
This IP is always different (it depends on number of services, etc..). How can I specify this service for my external nginx?
You can either: