Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cloud-config
- ssh_authorized_keys:
- - ssh-rsa AAAAB3NzaC1yc...
- coreos:
- update:
- reboot-strategy: off
- etcd2:
- # generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
- name: etcd-cluster-100
- advertise-client-urls: http://192.168.111.100:2379
- initial-advertise-peer-urls: http://192.168.111.100:2380
- listen-client-urls: http://192.168.111.100:2379
- listen-peer-urls: http://192.168.111.100:2380
- initial-cluster: etcd-cluster-100=http://192.168.111.100:2380,etcd-cluster-101=http://192.168.111.101:2380,etcd-cluster-102=http://192.168.111.102:2380
- initial-cluster-state: existing
- fleet:
- etcd_servers: http://192.168.111.100:2379,http://192.168.111.101:2379,http://192.168.111.102:2379
- metadata: "role=etcd"
- units:
- - name: etcd2.service
- command: start
- - name: fleet.socket
- command: start
- drop-ins:
- - name: 30-ListenStream.conf
- content: |
- [Socket]
- ListenStream=192.168.111.100:49153
- - name: fleet.service
- command: start
- - name: 00-eth0.network
- runtime: true
- content: |
- [Match]
- Name=eth0
- [Network]
- DNS=8.8.8.8
- Address=192.168.111.100/24
- Gateway=192.168.111.1
Advertisement
Add Comment
Please, Sign In to add comment