Create Kubernetes cluser using gcloud

Login to gcloud with

Set default region

To create a cluser, run

To list your container, run

gcloud clusters

Before you can use cluser, you need to get authentication credentials with command

To interact with Kubernetes, you need kubectl, on Ubuntu, yu can install it with

To deploy a container, run

This will deploy google provided hello-app container to the cluser.

To make the application available to public, create a loadbalancer service.

Now find IP of the LoadBalacner service with command

From the result, we found EXTERNAL-IP for LoadBalancer is To access the application, go to url