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
| etcd_sync_check(){ | |
| count=0; | |
| while ( true ); do | |
| check=$(etcdctl ls / | grep 'Cannot sync' | wc -l) ; | |
| if [ $check -eq 0 ]; then | |
| break ; | |
| else | |
| warning "Cannot connect to etcd" | |
| if [ $count -gt 50 ]; then | |
| fatal "Failed to connect to etcd" |
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 | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQAB ...snip... QAyapHGwoBvkq7nNp | |
| coreos: | |
| etcd: | |
| # via https://discovery.etcd.io/new | |
| discovery: https://discovery.etcd.io/7028e012ca66ef0121b64c19c40a425a | |
| addr: $private_ipv4:4001 | |
| peer-addr: $private_ipv4:7001 | |
| units: |
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 | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQAB ...snip... QAyapHGwoBvkq7nNp | |
| coreos: | |
| etcd: | |
| # via https://discovery.etcd.io/new | |
| discovery: https://discovery.etcd.io/7028e012ca66ef0121b64c19c40a425a | |
| addr: $private_ipv4:4001 | |
| peer-addr: $private_ipv4:7001 | |
| units: |
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 | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQAB ...snip... QAyapHGwoBvkq7nNp | |
| coreos: | |
| etcd: | |
| # via https://discovery.etcd.io/new | |
| discovery: https://discovery.etcd.io/7028e012ca66ef0121b64c19c40a425a | |
| addr: $private_ipv4:4001 | |
| peer-addr: $private_ipv4:7001 | |
| units: |
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 | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQAB ...snip... QAyapHGwoBvkq7nNp | |
| coreos: | |
| etcd: | |
| # via https://discovery.etcd.io/new | |
| discovery: https://discovery.etcd.io/7028e012ca66ef0121b64c19c40a425a | |
| addr: $private_ipv4:4001 | |
| peer-addr: $private_ipv4:7001 | |
| write_files: |
NewerOlder