'Set Nginx ingress in Kubernetes cluster GKE to subdomain DNS records?

Hello I have a GKE cluster with a cert manager pod and ingress nginx server pod. The ingress NGINX server has two external ips with port 80 and 443. I can access port 80 but it is insecure. How can I assign my sub domain for example:

dev.example.com to this ingress ip address? If I have Cloud DNS set up and also Hover set up is it conflicting of each other? Thanks



Sources

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

Source: Stack Overflow

Solution Source