Kubernetes is a pretty complex system and it is notoriously hard to install, also because there are many ways to install it.
As a result, there are tons of “out-of-the-box” solutions. Many cloud providers offer it preinstalled. There are also distributions like CoreOS offering ready-to-go solution at the operating system level, and all-in-one installers like
kops for AWS.
However, I believe is it important to learn how to install it from scratch, step by step. Of course you do not have to install it when it is provided pre-installed (typically in clouds). But if you have to manage it, not understanding its installation is a big limitation. How are you supposed to troubleshoot it if you are not able to get it off of the ground without an “automated pilot” ?
So here there is my tutorial describing how to install Kubernetes from scratch in a development enviroment, using CentOS 7 and Vagrant. Deployment is further automated with Ansible. Procedures has been tested in OSX and Windows 10 with Windows Bash.