This file contains hidden or 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: | |
| addr: 10.22.9.201:4001 # This address changes between nodes | |
| bind-addr: 0.0.0.0 # So we listen on localhost too | |
| peer-addr: 10.22.9.201:7001 # This address changes between nodes | |
| peers: 10.22.9.200:7001,10.22.9.201:7001,10.22.9.202:7001 | |
| update: | |
| reboot-strategy: best-effort |
This file contains hidden or 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
| var systemdUnitTemplate = ` | |
| [Unit] | |
| Description=etcd | |
| [Service] | |
| Environment=ETCD_NAME={{.Name}} | |
| Environment=ETCD_DATA_DIR={{.DataDir}} | |
| Environment=ETCD_ADVERTISE_CLIENT_URLS={{.AdvertiseClientUrls}} | |
| Environment=ETCD_LISTEN_CLIENT_URLS={{.ListenClientUrls}} | |
| Environment=ETCD_INITIAL_ADVERTISE_PEER_URLS=http://{{.PrivateIP}}:2380 |
This file contains hidden or 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: | |
| fleet: | |
| public-ip: $public_ipv4 | |
| etcd_servers: http://172.17.8.100:2379 | |
| units: | |
| - name: fleet.service | |
| command: start | |
| - name: docker-tcp.socket |
This file contains hidden or 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: | |
| fleet: | |
| etcd_servers: http://192.168.12.10:2379 | |
| metadata: role=node | |
| units: | |
| - name: etcd.service | |
| mask: true |
This file contains hidden or 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
| - name: kube-kubelet.service | |
| command: start | |
| content: | | |
| [Unit] | |
| Description=Kubernetes Kubelet | |
| Documentation=https://github.com/GoogleCloudPlatform/kubernetes | |
| After=docker.service | |
| Requires=docker.service | |
| Requires=setup-network-environment.service | |
| After=setup-network-environment.service |
This file contains hidden or 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
| cat /etc/ntp.conf | |
| # Common pool | |
| server 0.coreos.pool.ntp.org | |
| server 1.coreos.pool.ntp.org | |
| server 2.coreos.pool.ntp.org | |
| server 3.coreos.pool.ntp.org | |
| # Warning: Using default NTP settings will leave your NTP | |
| # server accessible to all hosts on the Internet. |
This file contains hidden or 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: | |
| fleet: | |
| etcd_servers: http://192.168.12.10:2379 | |
| metadata: role=node | |
| units: | |
| - name: etcd.service | |
| mask: true | |
| - name: fleet.service |
This file contains hidden or 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 | |
| hostname: etcd | |
| coreos: | |
| fleet: | |
| etcd_servers: http://127.0.0.1:4001 | |
| metadata: role=etcd | |
| units: | |
| - name: fleet.service | |
| mack: true |
This file contains hidden or 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 | |
| hostname: vmware-guest | |
| users: | |
| - name: core | |
| passwd: $1$LEfVXsiG$lhcyOrkJq02jWnEhF93IR/ | |
| groups: | |
| - sudo | |
| - docker | |
| - name: root |
This file contains hidden or 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: | |
| fleet: | |
| etcd_servers: http://192.168.12.10:2379 | |
| metadata: role=node |