brew cask install google-cloud-sdk
Before start using of GKE, please execute the following command:
source ./.env/gke.env
google auth login
- List projects
gcloud projects list
- Set the active project
gcloud config set project myProject
- List zones/regions
gcloud compute regions list
gcloud compute zones list
- Select default zone
gcloud config set compute/zone europe-west1-c
- Select default region
gcloud config set compute/zone europe-west1
(!) Be sure to specify zone, not region, since it will create more nodes.
So at this moment we are ready to use google cloud platform.
- Build everything
make k8s-save -j20