Skip to content

Commit

Permalink
getting 7bc7f47 fully right.
Browse files Browse the repository at this point in the history
given that etcd is disabled in the nodes we need to wait for master's etcd to be
available so that flanneld gets properly wired.

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
  • Loading branch information
AntonioMeireles committed Mar 30, 2015
1 parent 8a7a127 commit bb4071e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/getting-started-guides/aws/cloud-configs/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ coreos:
metadata: "role=node"
flannel:
interface: eth1
etcd_endpoints: http://<master-private-ip>:4001
units:
- name: etcd.service
mask: true
Expand All @@ -16,9 +17,8 @@ coreos:
drop-ins:
- name: 50-network-config.conf
content: |
[Unit]
Requires=etcd.service
[Service]
ExecStartPre=/bin/bash -c "until curl http://<master-private-ip>:4001/v2/machines; do sleep 2; done"
ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{"Network":"10.244.0.0/16", "Backend": {"Type": "vxlan"}}'
- name: docker.service
command: start
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started-guides/coreos/cloud-configs/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ coreos:
metadata: "role=node"
flannel:
interface: eth1
etcd_endpoints: http://<master-private-ip>:4001
units:
- name: etcd.service
mask: true
Expand All @@ -16,9 +17,8 @@ coreos:
drop-ins:
- name: 50-network-config.conf
content: |
[Unit]
Requires=etcd.service
[Service]
ExecStartPre=/bin/bash -c "until curl http://<master-private-ip>:4001/v2/machines; do sleep 2; done"
ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{"Network":"10.244.0.0/16", "Backend": {"Type": "vxlan"}}'
- name: docker.service
command: start
Expand Down

0 comments on commit bb4071e

Please sign in to comment.