rancher hands on - paris docker meetup
TRANSCRIPT
Rancher
Orchestrons des orchestrateurs
$ whoami
Théo [email protected] @MrTrustorblog.mrtrustor.net
Cloud architect& DevOps engineer
OxalideConseil, Infogérance & Hébergement
Media / SaaS / E-commerce
1. What’s Rancher ?
2. Demo
3. Catalog
4. Multi-cluster
Presentation plan
What’s Rancher?
A cattle storyRancher, the cattle guard
Once upon a time, there were:
pets
cattle
Cattle
Rancher
Docker
Docker
Docker
Docker
Docker
Docker
A cattle storyRancher, under the hood
RancherOS
Go & Java
Overlay network HAProxy
DNS service
Storage services
ACL managment
MySQL
A cattle storyRancher, under the hood
Basically:• On the server:
docker run -d --restart=always -p 8080:8080 rancher/server
• On the nodes:docker run -e CATTLE_HOST_LABELS='foo=bar' -d --privileged \ -v /var/run/docker.sock:/var/run/docker.sock \ rancher/agent:v0.8.2 \ http://<rancher-server-ip>:8080/v1/projects/1a5/scripts/<token>
Demo
https://github.com/MrTrustor/rancher-vagrant
HANDSON.md file
Vagrant + VirtualBox (+ Docker)
Git repo
Instructions
You need
LinksDemo
Multi-cluster
That’s all Folks!