Use an explicit resolv.conf file for Edge

Important This is only applicable for K3S installations.

The default resolver configuration file /etc/resolv.conf is in most cases picked-up by K3S and used successfully, but on Google Cloud Platform, where the default nameserver is 169.254.169.254, K3S generates another file with a nameserver pointing to 8.8.8.8.

Your firewall or network configuration may be filtering connections to 8.8.8.8, in which case the resolver file has to be explicitly configured with a reachable nameserver. If the default file /etc/resolv.conf is explicitly configured even on GCP nodes having nameserver 169.254.169.254, then K3S will successfully use it.

You can also explicitly indicate in install-master.sh to use /etc/resolv.conf by adding the argument --resolv-conf </path/to/resolv.conf>.

Example 
sudo sh install-master.sh --storage-path /var/edge/storage properties.yaml -r registries.yaml --resolv-conf /etc/resolv.conf