January 2019
Intermediate to advanced
484 pages
11h 48m
English
GKE supports multi-zone clusters, which allows you to launch Kubernetes nodes on multiple zones, but within the same region. In previous examples, Kubernetes nodes have been provisioned at asia-northeast1-a only, so let's re-provision a cluster that has asia-northeast1-a, asia-northeast1-b, and asia-northeast1-c in a total of three zones.
It's very simple; you just use the --node-locations parameter to specify three zones when creating a new cluster.
Let's delete the previous cluster and create a new one with the --node-locations option:
//delete cluster first $ gcloud container clusters delete my-k8s-cluster --zone asia-northeast1-aThe following clusters will be deleted. - [my-k8s-cluster] in [asia-northeast1-a]Do you ...
Read now
Unlock full access