coreos-on-do icon indicating copy to clipboard operation
coreos-on-do copied to clipboard

Feature cloud config file

Open mishak87 opened this issue 11 years ago • 8 comments

Extended cloud-config.yaml file with some common and sane settings.

Added support for private network. If private network is available it is used for etcd peer address unless CROSS_CLOUD=1 is set.

Basic settings for fleet: HOSTNAME=coreos01 METADATA="disk=ssd,provider=digital-ocean" and etcd: DISCOVERY=https://discovery.etcd.io/<token>

EDIT: Replaced ip variables with actual values.

mishak87 avatar Jul 19 '14 04:07 mishak87

Based on your previous issue (and the fact I was just stuck in an airport for 3 hours). I rewrote this script so that it 1) uses less memory 2) can be ran as one line, not the two step process today 3) custom cloud config support and 4) support configuring private networking. I'll review this pr and see of your changes are still applicable

ibuildthecloud avatar Jul 19 '14 05:07 ibuildthecloud

Both pulls are extending cloud-config.yaml (tested properly on 1GB and 512MB ubuntu 14.04 and debian 7.0 x64). It worked on 512MB today so I am happy.

mishak87 avatar Jul 19 '14 05:07 mishak87

I just pushed the rewritten script at https://github.com/ibuildthecloud/coreos-on-do/tree/automation I haven't fully tested it yet and will over the weekend. I'll test all the regions too. The main motivation for why I rewrote it was that I really wanted to be able to automated the deployment of CoreOS on DO. The approach I was taking before was forcing you to log into the DO web console. So I took a completely different (and more complicated) approach. But now you can fully automate the deployment of nodes. You can look at the README.md on how to do that. But again, I haven't fully tested it.

ibuildthecloud avatar Jul 19 '14 07:07 ibuildthecloud

If you will need help with testing ping me.

mishak87 avatar Jul 19 '14 08:07 mishak87

Good deal will test this.

geekgonecrazy avatar Jul 19 '14 08:07 geekgonecrazy

@aaronogle @mishak87 I just merged the automation branch to master. If you have time it would be nice if you could test it out. I personally tested 512mb droplets in all open regions.

ibuildthecloud avatar Jul 20 '14 06:07 ibuildthecloud

Well with their API and your fully automated script testing gets significantly easier :) Could you share your testing script?

mishak87 avatar Jul 20 '14 11:07 mishak87

@ibuildthecloud Deployed 2 so far, works like a dream. Deployed with a very basic cloud config, will try some more advanced soon. But looks good.

geekgonecrazy avatar Jul 21 '14 03:07 geekgonecrazy