<p>I'm trying to install Kubernetes on my Ubuntu server/desktop version 18.04.1. 
But, when I want to add kubernetes to the apt repository using the following command:</p>

<pre><code>sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-bionic main"
</code></pre>

<p>I get the following error:</p>

<pre><code>Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                                               
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                          
Hit:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease                                                                                       
Hit:5 http://dl.google.com/linux/chrome/deb stable Release                                                                                            
Hit:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease                                                                                     
Hit:7 https://download.docker.com/linux/ubuntu bionic InRelease                                                                                       
Ign:8 https://packages.cloud.google.com/apt kubernetes-bionic InRelease                              
Err:10 https://packages.cloud.google.com/apt kubernetes-bionic Release
  404  Not Found [IP: 216.58.211.110 443]
Reading package lists... Done
E: The repository 'http://apt.kubernetes.io kubernetes-bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
</code></pre>

<p>If I then try to install <code>kubeadm</code>, it does not work because I don't have the repository added to apt</p>

<p>I hope someone can shed some light on my issue..</p>

<p>All of this is running inside a VM on Hyper-V</p>

<p>PS: I'm not a die hard Linux expert but coming from Windows!</p>

Jordy van Eijk
<p>At the moment (nov. 2018) there is no bionic folder. You can see the supported distributions here: </p>

<p><a href="https://packages.cloud.google.com/apt/dists" rel="noreferrer">https://packages.cloud.google.com/apt/dists</a></p>

<p>The last kubernetes version there is: kubernetes-yakkety</p>

<p>This should still work with bionic.</p>
