Using Google Kubernetes Engine (GKE)

Google takes every Kubernetes release through rigorous testing and makes it available via its GKE service. To be able to use GKE, you will need the following:

An account on Google Cloud.

A method of payment for services you will use.

The gcloud command line client. There is an extensive documentation to get it installed. Pick your favorite installation method and set it up. For more details, you can visit the Installing Cloud SDK web page.

You will then be able to follow the GKE quickstart guide and you will be ready to create your first Kubernetes cluster:

$ gcloud container clusters create linuxfoundation

$ gcloud container clusters list

$ kubectl get nodes

By installing gcloud, you will have automatically installed kubectl. In the commands above, we created the cluster, listed it, and then, listed the nodes of the cluster with kubectl.

Once you are done, do not forget to delete your cluster; otherwise you will keep on getting charged for it:

$ gcloud container clusters delete linuxfoundation

Last updated