Sprint 02
Todo
Todo:
✔️ Setting up a GKE cluster. ✔️ Verify connection to the GKE cluster.
Steps
-
Login to your GCP account and go to the GKE menu. Click CREATE > Standard: You manage your cluster > CONFIGURE.

-
Provide the following specifics for the cluster:
Basics:
- Name: cluster-1
- Location type: Zonal
- Zone: asia-southeast1-a

-
The cluster creation may take up 5-10 mins. Once done, it should appear in the Clusters menu. Click the clsuter name to see details of the cluster.

-
Maintenance window. For production environments, it is recommended to change the maintenance window from Any time to xx.
-
To connect to the cluster, click CONNECT. It will show the available options to connect to the cluster. Click RUN IN CLOUD SHELL. This will open a Linux terminal.

In the "Authorize Cloud Shell" window, click AUTHORIZE. A kubeconfig will then be generated.
Run some kubectl commands to test.
kubectl get ns
kubectl get po -n kube-systemNote: These information can also be seen from the GCP console.