Using CoreOS 1353.4.0, on DigitalOcean, how should I write an Ignition config for a machine that is to join an etcd cluster with dynamic discovery?
I've written the following Ignition config (basically in keeping with this guide), but there seems to be problems with it as I cannot SSH into machines configured with it, nor can I ping them:
etcd:
advertise_client_urls: http://{PRIVATE_IPV4}:2379
discovery: https://discovery.etcd.io/715ba22c9924d4edd7aa674eeefddf87
initial_advertise_peer_urls: http://{PRIVATE_IPV4}:2380
listen_client_urls: http://0.0.0.0:2379
listen_peer_urls: http://{PRIVATE_IPV4}:2380
name: '{HOSTNAME}'
This configuration file is turned into native Ignition syntax by executing the CoreOS configuration transpiler: ct -in-file config.yaml -out-file config.ign -platform digitalocean
.
I suspect the configuration is to blame, as there are some warnings during the machines' bootup. Droplet created without any config function fine, meaning I can ping and SSH into them.