github.com/enmand/kubernetes@v1.2.0-alpha.0/docs/getting-started-guides/coreos/azure/cloud_config_templates/kubernetes-cluster-etcd-node-template.yml (about)

     1  ## This file is used as input to deployment script, which amends it as needed.
     2  ## More specifically, we need to add peer hosts for each but the elected peer.
     3  
     4  coreos:
     5    units:
     6      - name: etcd2.service
     7        enable: true
     8        command: start
     9    etcd2:
    10      name: '%H'
    11      initial-cluster-token: 'etcd-cluster'
    12      initial-advertise-peer-urls: 'http://%H:2380'
    13      listen-peer-urls: 'http://%H:2380'
    14      listen-client-urls: 'http://0.0.0.0:2379,http://0.0.0.0:4001'
    15      advertise-client-urls: 'http://%H:2379,http://%H:4001'
    16      initial-cluster-state: 'new'
    17    update:
    18      group: stable
    19      reboot-strategy: off