© 2015 Rancher Labs, Inc. © 2016 Rancher Labs, Inc . Pipeline Automation with the new Rancher CLI July 27, 2016 #ranchermeetup
Apr 15, 2017
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Pipeline Automation with the new Rancher CLIJuly 27, 2016
#ranchermeetup
© 2015 Rancher Labs, Inc.2 © 2016 Rancher Labs, Inc .
Shannon WilliamsCo-Founder/VP Marketing @smw355
Darren ShepherdCo-Founder/Chief Architect @ibuildthecloudFreenode: darren0
#ranchermeetup
© 2015 Rancher Labs, Inc.3 © 2016 Rancher Labs, Inc .
Jason GreathouseDirector of DevOps ArchitectureLeanKit @usrbinjgreathttp://jgreat.me
#ranchermeetup
© 2015 Rancher Labs, Inc.4 © 2016 Rancher Labs, Inc .
First things first…
This is a not a !
#ranchermeetup
© 2015 Rancher Labs, Inc.5
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
© 2015 Rancher Labs, Inc.6
Join the conversation on Twitter #ranchermeetup
© 2015 Rancher Labs, Inc.7 © 2016 Rancher Labs, Inc .
Agenda• Introducing a New CLI for Rancher – Shannon• Demo: New Rancher CLI– Darren• Application Workflow at LeanKit – Jason• Latest Rancher Update – Darren
#ranchermeetup
© 2015 Rancher Labs, Inc.8 © 2016 Rancher Labs, Inc .
Rancher Labs
#ranchermeetup
An open-source software platform for managing containers
A minimalist OS built explicitly to run Docker
© 2015 Rancher Labs, Inc.9 © 2016 Rancher Labs, Inc .
Rancher OverviewMicroservice Catalog
AD/LDAP
Leverage existing tools:- CI/CD- Code
Repository- Monitoring
Environment 1 Environment N…Network Services Storage Services
Container Orchestration and SchedulingUser Mgmt Ops Mgmt
Environment 2
© 2015 Rancher Labs, Inc.10 © 2016 Rancher Labs, Inc .
- 1 Million+ Downloads- 1.0 Released in March- Open Source- Multi-tenant- Enterprise Support
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
#ranchermeetup
$ sizzling hot pipeline automation with the new rancher cli
© 2015 Rancher Labs, Inc.12 © 2016 Rancher Labs, Inc .
Three options for working with Rancher
GUI API CLI
© 2015 Rancher Labs, Inc.13 © 2016 Rancher Labs, Inc .
Updated Rancher CLIIn August we will be releasing a redesigned Rancher CLI as part of 1.2-pre2
- Provision Environments- Deploy and Manage
Hosts- Select Schedulers- Launch Stacks from
Catalog- Update Services
- Update LBs- Manage Upgrades- SSH into hosts- Run Docker on Hosts- Collect
Host/Container/Service Logs- Pull host/container stats
© 2015 Rancher Labs, Inc.14 © 2016 Rancher Labs, Inc .
Updated Rancher CLI
© 2015 Rancher Labs, Inc.15 © 2016 Rancher Labs, Inc .
Updated Rancher CLI
© 2015 Rancher Labs, Inc.16
Demo
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
© 2015 Rancher Labs, Inc.
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Workflow
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Demo Time
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Credits and Links
Docker Vote Demo: https://github.com/docker/swarm-microservice-demo-v1LeanKit Teams:
Star-Lord - Architecture, Tools and AutomationRocket - Web DevelopmentGroot - Web DevelopmentDeadpool - Operations
Special Thanks: Evan Snapp - LeanKit Intern - Cowpoke DeveloperPresentation and Code: http://jgreat.me/rancher-application-pipeline
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Stretch Goal: Application Configuration
Apps in Rancher:Publishing Metadata: Rancher Apps via LabelsPublishing Metadata: External Services via LabelsConsuming Metadata: Entrypoint.shConsuming Metadata:
https://github.com/janeczku/rancher-template Apps external to Rancher:
Publishing Metadata: API to External ServicesConsuming Metadata: External-DNS <> PowerDNS <> AD DNS
© 2015 Rancher Labs, Inc.
Latest Rancher Enhancements
25
1.1.1• Support for Kubernetes HA – etcd HA
1.2- pre1 (today)• Stack UI for Kubernetes• Support for Kubernetes 1.3
#ranchermeetup
© 2015 Rancher Labs, Inc.26 © 2016 Rancher Labs, Inc .
Getting StartedRancher and RancherOS are in GitHub – Get Involved!
#ranchermeetup
http://github.com/rancher
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Thank yourancher.com
#ranchermeetup