Find more here: Utiliser le programme d’installation du SDK Google Cloud
# On mac
curl https://sdk.cloud.google.com | bashFind more here: Guide de démarrage rapide | Documentation Kubernetes Engine
gcloud initgcloud config set project <project-id>gcloud config set compute/zone <compute-zone>gcloud container clusters create <cluster-name> --num-nodes=1gcloud container clusters get-credentials <cluster-name>kubectl config get-contexts
kubectl config use-context <context-name># list all namespaces
kubectl get namespaces
# current namespace
kubectl config view --minify | grep namespace:
# switch namespace
kubectl config set-context --current --namespace=<namespace>Find more here Aide-mémoire kubectl | Kubernetes
kubectl create deployment hello-server --image=gcr.io/google-samples/hello-app:1.0# list first
gcloud container clusters
# delete it
gcloud container clusters delete cluster-name