Last active
August 29, 2015 14:23
-
-
Save megastef/ee7e0bc0f258ed0c140a to your computer and use it in GitHub Desktop.
cloud init
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
coreos: | |
etcd: | |
# generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3 | |
# specify the initial size of your cluster with ?size=X | |
discovery: https://discovery.etcd.io/token | |
# multi-region deployments, multi-cloud deployments, and droplets without | |
# private networking need to use $public_ipv4 | |
addr: $private_ipv4:4001 | |
peer-addr: $private_ipv4:7001 | |
fleet: | |
public-ip: $private_ipv4 | |
etcd-servers: http://$private_ipv4:4001 | |
units: | |
- name: etcd.service | |
command: start | |
- name: fleet.service | |
command: start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment