Created
January 14, 2017 18:54
-
-
Save cnicolov/8dcff1f9c9aff88e45407741c9f7f49f to your computer and use it in GitHub Desktop.
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 | |
# include one or more SSH public keys | |
ssh_authorized_keys: | |
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDaKDZb3XEYCsRy6l/p6dD0x5DZiVtrUOPDJ8wxMG3mGgH+SypmQ8hz4Oyk0D3quPUv+Tr7XS2lymLI4zrMc2EKrMEy2F3fvWy+yunJA3AbvZzapoDLZGyBp2JbKC6cG7joREirMry77OEmmfdVb8wdzM39dCgWgbo3IFoSBWSeSdvkVgro/lspkqSM2k50Z+Dt07F4OZbRpv5AyPqusVs44oERE2UwjC28xZwF2Q0A+WFqJ23Z3kjUzSNO1efiVHoVg1Vg1k1lWeB95Y0VG1lsp9JoYFCgCtlMVtErXD2zNCM61wQzyQZJOgTrc/07owlbdFnyCXd3spdI/d4K9SSN knikolov@macbook.lan | |
coreos: | |
etcd2: | |
# 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/74ffb1a7964df59aa60192c562a3fbde | |
advertise-client-urls: http://$private_ipv4:2379,http://$private_ipv4:4001 | |
initial-advertise-peer-urls: http://$private_ipv4:2380 | |
# listen on both the official ports and the legacy ports | |
# legacy ports can be omitted if your application doesn't depend on them | |
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 | |
listen-peer-urls: http://$private_ipv4:2380 | |
units: | |
- name: etcd2.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