17 lines
441 B
YAML
17 lines
441 B
YAML
#cloud-config
|
|
|
|
coreos:
|
|
etcd:
|
|
# generate a new token for each cluster from https://discovery.etcd.io/new
|
|
discovery: https://discovery.etcd.io/$token
|
|
# multi-region and multi-cloud deployments need to use $public_ipv4
|
|
addr: $private_ipv4:2379
|
|
peer-addr: $private_ipv4:2380
|
|
units:
|
|
- name: etcd.service
|
|
command: start
|
|
- name: fleet.service
|
|
command: start
|
|
ssh_authorized_key:
|
|
- $ssh_authorized_key
|