Challenge 1: Provision a GKE Cluster
Introduction
We begin our journey by creating the Kubernetes cluster that will run our new containerized application. We’ll be using GKE: Google Kubernetes Engine and will show you how quick and simple it is to create a fully managed Kubernetes cluster.
Description
In this challenge, you will create a single Standard GKE cluster as per these specifications:
- An initial node pool of machine type:
n1-standard-2
- An initial node pool size of 3
- Located in a GCP zone near you
Note Although you can create this cluster using the Google Cloud Console UI, we encourage you to explore and figure out how to create clusters using the
gcloud
CLI tool.
Note Creating a cluster will take 5-7 minutes.
Success Criteria
- Show your coach that you’re using the correct machine sizes in your node pool
- Verify that you can connect to your cluster with the
kubectl
CLI tool and output a list of all nodes.
Learning Resources
Tips
- Keep in mind that you need to get the credentials to connect
kubectl
to your cluster.