Kubernetes – Installing and creating a cluster First you need to install Docker. For Kubernetes to work correctly, you must disable SWAP Also check delete it with fstab Add Kubernetes repository and install Ubuntu: CentOS 7: