Unable to add kubernetes-bionic main (Ubuntu 18.04) to apt repository
At the moment (nov. 2018) there is no bionic folder. You can see the supported distributions here:
https://packages.cloud.google.com/apt/dists
The last kubernetes version there is: kubernetes-yakkety
This should still work with bionic.
Bionic folder is still not yet created however I tested with adding repository with 'sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main" and sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-yakkety main"
I am able to install Kubeadm, Kubectl & kubelet on Ubuntu 18.04 with codename *bionic**....
Please make sure to add GPG key as it is recommended & good practice to follow otherwise this creates vulnerability to push malicious code through proper package name...
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add
You can check by yourself what all repository are present on dists - https://packages.cloud.google.com/apt/dists/
You can also verify whether the repository has been added to /etc/apt/source.list or /etc/apt/source.list.d, if it is there then you should be fine....