Can't Install Kubernetes on Ubuntu 16.04
remote 512mb KVM VPS
That's almost certainly the problem, as I don't know of very much software nowadays that will run in that little memory. It matches your experience that the machine will start swapping like mad, driving the I/O pressure through the roof
Agree with @Matthew & @Michael - 512mb is not enough to run Kubernetes. Increase your memory up to 1GB min and retry.
Apiserver and etcd together are fine on a machine with 1 core and 1GB RAM for clusters with 10s of nodes.
You can read more documentation here.Conjure method works fine for me using this instruction.
Ubuntu version: Distributor ID: UbuntuDescription: Ubuntu 16.04.4 LTSRelease: 16.04
Ways to install Kubernetes:
- Local Kubernetes development with LXD
- Running Kubernetes Locally via Minikube
- Using kubeadm
- Use prepared cloud solutions, for example Google Kubernetes Engine, Amazon EKS or many many others.