O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching the Google container cluster

You can launch the cluster with a single command. The following command will launch a cluster named kube-cluster:

$ gcloud container clusters create kube-cluster

When you first run the command you may run into an error that states that the Google container API is not enabled for your project:

You can rectify this error by following the link given in the error and following the on-screen instructions to enable the API. You may also find you get an error if your project does not have any billing associated with it:

To resolve this, log in to the Google Cloud web interface at https://console.cloud.google.com/ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required