I’ve started the GKE course, and since I’m standard account, I need to use my own account. A couple of things I noticed.
- In the GCP GUI, standard is not even an option. I know it still exists because a Terraform script I have from last year that creates a standard 3-node K8S cluster still works, but it no longer shows up;
- If you are using the command line to install gke-gcloud-auth plugin, you will have a couple of additional steps which aren’t documented here.
On #1, can someone tell me how to know if my gcloud container clusters create command is generating a standard cluster or an auto-pilot one? I suppose if you’re specifying 1 node, it’s probably by default the former.
On #2, if you try to do sudo apt-get install gke-gcloud-auth-plugin (because installing it from gcloud will fail), it wont find the repo. I used these steps outlined here:
https://www.googlecloudcommunity.com/gc/Infrastructure-Compute-Storage/Failed-to-install-google-cloud-sdk-gke-gcloud-auth-plugin/m-p/734512
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg
Then
cho "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
and finally
sudo apt-get update && apt-get upgrade