In this lab you will create a Kubernetes cluster.
Prerequisites:
Every resource in GCP lives inside a project. A project inside GCP is a container for your resources, it allows for separate billing, adding/removing collaborators, managing permissions and more.
To create a new project:
There’s no cost for creating new projects, you can always shut them down (delete them) and create new ones. Note that after you shutdown the project, Google schedules it for deletion that happens in 30 days. This allows you to recover the project if needed. However, it also means you won’t be able to re-use the same project name. It’s not a big deal, just one thing to keep in mind.
With project created, you can go to the Kubernetes Engine page in GCP (https://console.cloud.google.com/kubernetes). Since you’re using a freshly created project you will have to enable the Kubernetes Engine API first.
Click the Enable button on the Kubernetes Engine API page. The process should take a couple of minutes, and once complete the Kubernetes clusters page will be displayed as shown in the figure below.
Let’s create a Kubernetes cluster.