Examples demonstrating nginx ingress controller routing inside of the cluster. For more information see link
Demonstrating public and private ingress.
Example is deployed in nginx-example-simple-nginx
namespace.
Wait until Address
field is populated in the ingress and get the value.
kubectl get ingress -n nginx-external-example
Ingress using public ingress class should have Address
of public load balancer and private ingress of private load balancer.
Test the public ingress.
curl -i --header "Host: public.lukakrapic.com" http://PUBLIC-ADDRESS