Error while adding kubernetes key
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
gpg: no valid OpenPGP data found.
I tried using wget
verbose command
wget --no-check-certificate -vO - https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
--2018-10-05 09:55:13-- https://packages.cloud.google.com/apt/doc/apt-key.gpg
Resolving packages.cloud.google.com (packages.cloud.google.com)... failed: Temporary failure in name resolution.
wget: unable to resolve host address ‘packages.cloud.google.com’
gpg: no valid OpenPGP data found.
How can I get past that error in my Kubernetes installation step?