Within 5 minutes create a GKE (Google Kubernetes Engine) cluster and begin practicing Kubernetes concepts
- Login with your account created at https://console.cloud.google.com
2. To create the cluster, click on the “3 lines” icon, then “Kubernetes Engine” and then “Cluster”
3. Once you are on the cluster page, click on “CREATE”, which will give 2 options. Click on “CONFIGURE” with the Autopilot option. As a layman of GKE, we don't want to take pain by setting up initial parameters, let’s take the easy method and start learning.
4. Now, if required we check the settings(Cluster, Networking) of GKE cluster, but for now NO :) . Click on CREATE and wait for 3–5mins.
5. We can see that the GKE cluster has been built after our wait time.
6. Let's start our hands-on now. Click on the “autopilot-cluster-1” and then click on CONNECT
7. To establish a connection to the cluster, click on RUN IN CLOUD SHELL
8. Now, automatically command line will get opened and the command to connect the cluster will be there, just hit ENTER key and then click on AUTHORIZE
9. Now, we can verify by executing a few Kubernetes commands (a) check the number of worker nodes (b) check existing Kubernetes objects
10. If you want to maximize the CLI screen, click on the arrow and execute more commands and start learning
Happy Learning !
Revert me for clarifications.