Configuring Load Balancer
In order to expose your kubernetes ingress to the public internet, you need to create a load balancer service for your cluster.
Add a Load Balancer to your Cluster
Create Load Balancer
Head over to your cluster dashboard, and navigate to the "Networking" tab.
From here, click on "Create Load Balancer" button
Install Ingress Controller
Install your favorite ingress controller. For this example, we will use the NGINX ingress controller.
Change node ports for HTTP and HTTPS
You need to change the node ports for HTTP and HTTPS to 32080 and 32443 respectively. Simply run the following command:
Note that you'll be able to access your domain names with forwarded ports. For example: 80 → 9009 and 443 → 9003. For example, if your domain is my.domain.com, you should use http://my.domain.com:9009 for HTTP access, and https://my.domain.com:9003 for HTTPS access.
See Also
Kubernetes Sample App
Try out a sample app to test your load balancer.