Skip to content

Instantly share code, notes, and snippets.

@philippkueng
Created July 3, 2014 23:31
Show Gist options
  • Save philippkueng/16176a7f55f5f506bfa4 to your computer and use it in GitHub Desktop.
Save philippkueng/16176a7f55f5f506bfa4 to your computer and use it in GitHub Desktop.
CoreOS on GCE
#cloud-config
coreos:
etcd:
# generate a new token for each unique cluster from
# https://discovery.etcd.io/new
discovery: https://discovery.etcd.io/293340d67522b11a847438c45a4ee7b5
# multi-region and multi-cloud deployments need to use $public_ipv4
addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
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