You need to list all locations (including the master zone) as 'locations':

resources:
- properties:
   zone: foo-a
   locations:
   - foo-a
   - foo-b

The API documentation is here:
https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters

On Mon, Jan 9, 2017 at 9:27 AM Nic <nidoy...@gmail.com> wrote:

> I've read various posts about how to setup a multi-zone cluster using a
> command such as:
>
> gcloud container clusters create multi-prod --zone us-central1-f
> --additional-zones=us-central1-a
>
>
> I am using Deployment Manager to define my cluster, which works find with
> single zone, but can't find any documentation on where to add the
> 'additional-zone' configuration. Most obvious place to put this would be
> below...
>
>
> resources:
> - name: {{ CLUSTER_NAME }}
>   type: container.v1.cluster
>   properties:
>     zone: {{ properties['zone'] }}
>
>     additional-zones: ....
>
>
> But that didn't work. Any pointers as to how to do this?
>
>
> Thanks,
>
>
> Nic
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Kubernetes user discussion and Q&A" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to kubernetes-users+unsubscr...@googlegroups.com.
> To post to this group, send email to kubernetes-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/kubernetes-users.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to