How Can I Expose to Outside My Services on Azure?

2/5/2020

I have Azure Kubernetes cluster and i want to expose my services.How can i expose them with 1 IP and nodePorts ? My services using TCP so i can not use ingress.I do not want to buy an external Load Balancer for every service.Is there a way to achieve this on Azure ?

-- akuscu
azure
azure-aks
azure-load-balancer
kubernetes
load-balancing

1 Answer

2/5/2020

If there are external IPs that route to one or more cluster nodes, Kubernetes Services can be exposed on those externalIPs. Traffic that ingresses into the cluster with the external IP (as destination IP), on the Service port, will be routed to one of the Service endpoints. externalIPs are not managed by Kubernetes and are the responsibility of the cluster administrator.

you can use external-ips to access your application with http://External_IP:ServicePort

-- Suresh Vishnoi
Source: StackOverflow