Creating a Kubernetes Cluster
This page shows how to run Kubernetes on Google Kubernetes Engine (GKE)
Installing Google Cloud SDK
To install gcloud and kubectl, perform the following steps:
Install the Cloud SDK, which includes the gcloud command-line tool.
Install the kubectl command-line tool
Configure default settings
Here we set the project id that will be the home for our Kubernetes nodes and the primary geographic zone for the cluster.
Creating a GKE cluster
Lets create a single zone cluster with two medium size nodes.
Great, to install Kubernetes on two nodes and network them together to form a cluster took about 1min.
Get credentials for the cluster
We should now be able to use the kubectl
command
Last updated