Weitere ähnliche Inhalte Ähnlich wie Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April 2016 Online Meetup (20) Kürzlich hochgeladen (20) Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April 2016 Online Meetup1. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Tips Tricks and Tools for Running
Containers like a Pro
April 28, 2016
#ranchermeetup
2. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Shannon Williams
Co-Founder/VP Marketing
@smw355
1
Darren Shepherd
Co-Founder/Chief Architect
@ibuildthecloud
Freenode: darren0
#ranchermeetup
3. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Brandon Papworth
Director of Web
Dom & Tom
@brandonpapworth
2
Bill Maxwell
Sr. Devops Lead
Rancher Labs
@cloudnautique
#ranchermeetup
4. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
First things first…
This is a not a !
3 #ranchermeetup
5. © 2015 Rancher Labs, Inc.4
There are rules for a meetup!
• We won’t be done on time
• Questions are always welcome
• There are no bad questions
• Demo, then demo some more
• Things will break, be patient
#ranchermeetup
6. © 2015 Rancher Labs, Inc.5
Join the conversation on Twitter
#ranchermeetup
7. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Agenda
• Building Your Rancher Tool Box – Shannon
• Demo: Prometheus, Janitor & Web hooks– Darren
• Managing Secrets with Vault – Bill
• Demo: Vault – Bill
• User Story: Rancher at Dom & Tom – Brandon
• Demo – Brandon
• Latest Rancher Update – Darren
6 #ranchermeetup
8. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Rancher Labs
7 #ranchermeetup
9. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Building a Container Service
8
Container Service
Linux Linux Linux Linux Linux Linux
10. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
How to deploy a container service
9
Container Service
Linux Linux Linux Linux Linux Linux
App Catalog
Orchestration
Scheduling
Monitoring
Access Control
Network
Storage
Distributed DB
Registry
Engine
Security
Helm, …
Compose, Kubernetes, Marathon,
Swarm, Kubernetes, Mesos, …
cAdvisor, Sysdig, Datadog, …
LDAP, AD, GitHub, …
DockerHub, Quay.io, …
Docker, Rkt, …
Notary, Vault, …
VXLAN, IPSEC, HAProxy, …
Ceph, Gluster, Swift, …
Etcd, Consul, MongoDB, …
11. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Rancher Overview
10
Microservice Catalog
AD/LDAP
Leverage
existing tools:
- CI/CD
- Code
Repository
- Monitoring
Environment 1 Environment N
…
Network Services Storage Services
Container Orchestration and Scheduling
User Mgmt Ops Mgmt
Environment 2
12. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .#ranchermeetup
Tips, Tricks
and Tools for
Running
Containers
Like a Pro
13. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Building your container tool box
12
Registry - Code Repository - CI/CD – Logging – Monitoring – Storage – Data Services
15. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Building Rancher Tools
14
• Design extension to run as a
container
• Leverage API & Metadata services
• Distribute through the catalog
• Provide scheduling and
configuration options
16. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Four tools we’re demoing today
15
17. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Scale-up, Scale-down, Upgrade &
Redploy with Cowbell
16
• Container service that exposes
a web hook and talks to the
Rancher API and CLI
• Can be integrated with CI/CD or
other systems
• Deployed from the catalog into
each environment
18. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Building Dashboards with Prometheus
17
• Prometheus originally created
by SoundCloud
• Catalog deployment created by
the team at Infinity Works and
NHS in the UK
• Integrated with Rancher API
19. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Building Dashboards with Prometheus
18
20. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Cleaning up environments with Janitor
19
• Based on Meltwater/Docker-
Cleanup
• Service developed by Steve
Shipway at the University of
Auckland
• Identifies Docker images no
longer in use, and removes
them from hosts.
21. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Managing secrets with Vault
20
• Developed by Hashicorp
• Includes secret storage, key
rotation and audit logging
• Initial Vault catalog item will be
available in the next week
33. © 2015 Rancher Labs, Inc.
Latest Rancher Enhancements
32
1.0.1
• Rancher Multi-node Simplification
#ranchermeetup
1.1-dev1 (releasing next week)
• Experimental Mesos support
• F5 Load balancer integration
• Customizable Docker Machine UI
34. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Getting Started
Rancher and RancherOS are in GitHub – Get Involved!
33 #ranchermeetup
http://github.com/rancher
35. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
New eBook: Building a CI/CD Pipeline
with Docker & Rancher
34
http://info.rancher.com/cicd-with-docker-ebook
36. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Thank you
rancher.com
#ranchermeetup