The --zone parameter is the zone where your *cluster* exists. If you want to spread node pools across zones, then you need to specify the --aditional-zones parameter when you create your cluster.
Right now you can't convert a single-zone cluster into a multi-zone cluster, but we realize that is an issue for some users and are working on a solution. On Fri, May 27, 2016 at 12:58 AM, Rimas Mocevicius <[email protected]> wrote: > Hi there, > > Awesome stuff that node pools are now available, but I encountered a > problem putting node pools to a different zone than k8s master. > The same problem for one zone GKE cluster or multi-zone one too. > > I cannot get node-pool created if I specify the zone: > `gcloud container node-pools create ha-zone-c --cluster=dev-cluster-1 > --machine-type=g1-small --disk-size=50 --num-nodes=1 --zone europe-west1-c > ` > I get this error: > `ERROR: (gcloud.container.node-pools.create) ResponseError: code=404, > message=The resource > "projects/my_project/zones/europe-west1-c/clusters/dev-cluster-1" was not > found` > > Have the latest k8s v1.2.4 in GKE clusters and the latest GC SDK as well. > > Thanks > > Rimas > > -- > You received this message because you are subscribed to the Google Groups > "Containers at Google" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-containers. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Containers at Google" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-containers. For more options, visit https://groups.google.com/d/optout.
