Making service names available externally
You may have been wondering why we were using the IP addresses to test the NGINX services that we created while we used domain names for our Ingress tests.
While a Kubernetes load balancer provides a standard IP address to a service, it does not create an external DNS name for users to connect to the service. Using IP addresses to connect to applications running on a cluster is not very efficient, and manually registering names in DNS for each IP assigned by MetalLB would be an impossible method to maintain. So how would you provide a more cloud-like experience to adding name resolution to our LoadBalancer services?
Similar to the team that maintains KinD, there is a Kubernetes SIG that is working on this feature to Kubernetes called external-dns
. The main project page is found on the SIG's Github at https://github.com/kubernetes-sigs/external-dns.
At the time of writing, the external-dns
project supports a long list of compatible...