This is a simple Ansible environment for trying out Rancher.
When setting up a Rancher server from this repository first time, the letsencrypt deployment needs to be done in three steps (enable letsencrypt support in vhost, create certs, enable ssl) because there is a chicken-egg problem:
- start with
fooapp_ssl: falseandfooapp_letsencrypt: false, make sure everything works over HTTP - flip
fooapp_letsencrypt: true, do not touchfooapp_sslyet. Run thefooapprole, make surenginxis restarted. - add a certificate for
fooappto theletsencryptrole, run theletsencryptrole - now you can flip
fooapp_ssl: trueand run thefooapprule, make sure everything works over HTTPS
Rancher gives a good copy-pasteable command for adding nodes,
- Figure out how SSL certificates and load balancers work under Rancher
- Try running some actual app like Jenkins
- How does one access container logs?
- Setup an external database (MySQL)
- Evaluate Cattle, Kubernetes, Mesos and Swarm modes and select multi-node deployment strategy