Following these steps to install kubernetes in Ubuntu 19.10 running on VMWare player with bridged networking. Installing kubernetes destroys the network connectivity of my guest OS. Specifically, it is this command that kills my network connectivity:
sudo apt-get install kubeadm kubelet kubectl -y
To regain my network connectivity, I had to remove all three packets and then remove two network interfaces:
sudo ip link del flannel.1
sudo ip link del cni0
I don't know why the flannel was there because I hadn't installed it yet. Maybe it was leftover from a previous attempt where I installed flannel and the removal failed.
I noticed the same problem in Ubuntu 16.04 that runs natively, so this is probably not a VMWare Player issue. I was able to install kubeadm, kubelet and kubectl on Ubuntu 18.04 running natively with no problems. I need another node though.
Kubernetes is supposed to run on Ubuntu 16.04+. Are the installation steps different for 16.04 and 19.10? It seems strange that I kill my network.