'How can you access an ingress without editing /etc/hosts

How can you access an ingress defined on a remote Kubernetes cluster from the local machine if you are not able to modify /etc/hosts or any other approach that requires root privileges?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source