Kubernetes version 1.6.6 will be installed (1.6.7 is the latest version that is supported), this version was chosen so that we can demonstrate the upgrade process to 1.6.7.
N.B Version 1.7 will soon be supported officially by the kubespray team.
Create the inventory file /root/kubespray/inventory/inventory.cfg :
Set the Kubernetes version to install by editing the group variables file /root/kubespray/inventory/group_vars/k8s-cluster.yml
## Change this to use another Kubernetes version, e.g. a current beta release
kube_version: v1.6.6
Set the CNI plugin to use by editing the group variables file /root/kubespray/inventory/group_vars/k8s-cluster.yml, I am using the default which is Calico:
# Choose network plugin (calico, weave or flannel)
kube_network_plugin: calico
Start deploying the cluster with the inventory file (assuming in the kubespray folder), then you can come back after 20 - 30 minutes depending on your specific hardware specification: