In order to use Kubernetes, you need to create a Kubernetes cluster. This lesson discusses how to do this, and demonstrates setting up a simple cluster with one master and one node using kubeadm. After completing this lesson, you will be able to create a simple Kubernetes cluster that you can deploy applications to.
You can find instructions on various ways of installing Kubernetes here: https://kubernetes.io/docs/setup/
Installation instructions specific to kubeadm can he found here: https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/
Then run this command referencing kube-config.yml
kubeadm init --config kube-config.yml
Use this command to set up a pod network after initializing the master with kubeadm init:
kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/v0.9.1/Documentation/kube-flannel.yml