In this blog, I will cover the steps to run Kubernetes on Google compute VM. I used the steps mentioned here.
Pre-requisites:
- Need Google cloud account.
- Install Google cloud SDK.
First step is to download and unzip Kubernetes tar file from here.
Next, we create the cluster using the provided script.
export KUBERNETES_PROVIDER=gce ./cluster/kube-up.sh
The above script creates the clusters with 1 master and 4 minions. Also, it sets up all necessary services both in master and minions node.
Lets look at the VMs created: