Skip to main content


Showing posts from March, 2021

Cloud Shell and gcloud

gcloud auth list gcloud config list project gcloud config get-value compute/zone gcloud config get-value compute/region gcloud config list --all gcloud components list gcloud compute instances create gcelab2 --machine-type n1-standard-2 --zone $ZONE gcloud compute ssh gcelab2 --zone $ZONE

GKE Kubernetes Engine

gcloud config set compute/zone us-central1-a gcloud container clusters create [CLUSTER-NAME] gcloud container clusters get-credentials [CLUSTER-NAME] kubectl create deployment hello-server kubectl expose deployment hello-server --type=LoadBalancer --port 8080 kubectl get service gcloud container clusters delete [CLUSTER-NAME]

The Tower of Koutoubia Mosque