SlideShare a Scribd company logo
1 of 27
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Pipeline Automation with the new
Rancher CLI
July 27, 2016
#ranchermeetup
© 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
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Jason Greathouse
Director of DevOps Architecture
LeanKit
@usrbinjgreat
http://jgreat.me
2 #ranchermeetup
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
First things first…
This is a not a !
3 #ranchermeetup
© 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
© 2015 Rancher Labs, Inc.5
Join the conversation on Twitter
#ranchermeetup
© 2015 Rancher Labs, Inc.© 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
6 #ranchermeetup
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Rancher Labs
7 #ranchermeetup
An open-source software platform for
managing containers
A minimalist OS built explicitly to run
Docker
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Rancher Overview
8
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
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
- 1 Million+ Downloads
- 1.0 Released in March
- Open Source
- Multi-tenant
- Enterprise Support
9
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .#ranchermeetup
$ sizzling hot
pipeline
automation with
the new rancher
cli
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Three options for working with Rancher
11
GUI API CLI
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Updated Rancher CLI
In August we will be releasing a redesigned
Rancher CLI as part of 1.2-pre2
12
- 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.© 2016 Rancher Labs, Inc .
Updated Rancher CLI
13
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Updated Rancher CLI
14
© 2015 Rancher Labs, Inc.15
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-
v1
LeanKit Teams:
Star-Lord - Architecture, Tools and Automation
Rocket - Web Development
Groot - Web Development
Deadpool - Operations
Special Thanks: Evan Snapp - LeanKit Intern - Cowpoke Developer
Presentation 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 Labels
Publishing Metadata: External Services via Labels
Consuming Metadata: Entrypoint.sh
Consuming Metadata: https://github.com/janeczku/rancher-
template
Apps external to Rancher:
Publishing Metadata: API to External Services
Consuming Metadata: External-DNS <> PowerDNS <> AD DNS
© 2015 Rancher Labs, Inc.
Latest Rancher Enhancements
24
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.© 2016 Rancher Labs, Inc .
Getting Started
Rancher and RancherOS are in GitHub – Get Involved!
25 #ranchermeetup
http://github.com/rancher
© 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
Thank you
rancher.com
#ranchermeetup

More Related Content

Viewers also liked

Viewers also liked (15)

Building a Scalable CI Platform using Docker, Drone and Rancher
Building a Scalable CI  Platform using Docker, Drone and RancherBuilding a Scalable CI  Platform using Docker, Drone and Rancher
Building a Scalable CI Platform using Docker, Drone and Rancher
 
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
Tips, Tricks and Tools for Running Containers Like a Pro - Rancher Labs April...
 
Dear IT...I'd Like A Kubernetes Cluster
Dear IT...I'd Like A Kubernetes ClusterDear IT...I'd Like A Kubernetes Cluster
Dear IT...I'd Like A Kubernetes Cluster
 
Storage for containers and cloud-native deployments - Rancher Online Meetup -...
Storage for containers and cloud-native deployments - Rancher Online Meetup -...Storage for containers and cloud-native deployments - Rancher Online Meetup -...
Storage for containers and cloud-native deployments - Rancher Online Meetup -...
 
WTF Is Rancher?
WTF Is Rancher?WTF Is Rancher?
WTF Is Rancher?
 
Dockersh and a brief intro to the docker internals
Dockersh and a brief intro to the docker internalsDockersh and a brief intro to the docker internals
Dockersh and a brief intro to the docker internals
 
Building a smarter application stack - service discovery and wiring for Docker
Building a smarter application stack - service discovery and wiring for DockerBuilding a smarter application stack - service discovery and wiring for Docker
Building a smarter application stack - service discovery and wiring for Docker
 
More tips and tricks for running containers like a pro - Rancher Online MEetu...
More tips and tricks for running containers like a pro - Rancher Online MEetu...More tips and tricks for running containers like a pro - Rancher Online MEetu...
More tips and tricks for running containers like a pro - Rancher Online MEetu...
 
What's new in Zimbra Collaboration 8.7.x
What's new in Zimbra Collaboration 8.7.xWhat's new in Zimbra Collaboration 8.7.x
What's new in Zimbra Collaboration 8.7.x
 
Deploy and upgrade Docker applications with a single click
Deploy and upgrade Docker applications with a single clickDeploy and upgrade Docker applications with a single click
Deploy and upgrade Docker applications with a single click
 
Adobe Presents Internal Service Delivery Platform at Velocity 13 Santa Clara
Adobe Presents Internal Service Delivery Platform at Velocity 13 Santa ClaraAdobe Presents Internal Service Delivery Platform at Velocity 13 Santa Clara
Adobe Presents Internal Service Delivery Platform at Velocity 13 Santa Clara
 
Support and Initiate a DevOps Transformation
Support and Initiate a DevOps TransformationSupport and Initiate a DevOps Transformation
Support and Initiate a DevOps Transformation
 
Ingesting Drone Data into Big Data Platforms
Ingesting Drone Data into Big Data Platforms Ingesting Drone Data into Big Data Platforms
Ingesting Drone Data into Big Data Platforms
 
Security best practices for kubernetes deployment
Security best practices for kubernetes deploymentSecurity best practices for kubernetes deployment
Security best practices for kubernetes deployment
 
Empowering developers to deploy their own data stores
Empowering developers to deploy their own data storesEmpowering developers to deploy their own data stores
Empowering developers to deploy their own data stores
 

More from Shannon Williams

Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online MeetupInfrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Shannon Williams
 
From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016
Shannon Williams
 

More from Shannon Williams (8)

Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online MeetupInfrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
Infrasturcure-as-code with Kubernetes and Rancher - September 2019 Online Meetup
 
Building an Enterprise CaaS with Kubernetes and Rancher 2.0
Building an Enterprise CaaS with Kubernetes and Rancher 2.0Building an Enterprise CaaS with Kubernetes and Rancher 2.0
Building an Enterprise CaaS with Kubernetes and Rancher 2.0
 
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online MeetupHands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
Hands-on with Rancher 2.0 and Kubernetes - October 2017 Rancher Online Meetup
 
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
Securing Container Deployments from Build to Ship to Run - August 2017 - Ranc...
 
Supercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
Supercharging CI/CD with GitLab and Rancher - June 2017 Online MeetupSupercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
Supercharging CI/CD with GitLab and Rancher - June 2017 Online Meetup
 
Introducing Project Longhorn - April 2016 Rancher Online Meetup
Introducing Project Longhorn - April 2016 Rancher Online MeetupIntroducing Project Longhorn - April 2016 Rancher Online Meetup
Introducing Project Longhorn - April 2016 Rancher Online Meetup
 
Introducing Apache Mesos environments in Rancher - June 2016 Online Meetup
Introducing Apache Mesos environments in Rancher - June 2016 Online MeetupIntroducing Apache Mesos environments in Rancher - June 2016 Online Meetup
Introducing Apache Mesos environments in Rancher - June 2016 Online Meetup
 
From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016From Hello World to Real World - Container Days Boston 2016
From Hello World to Real World - Container Days Boston 2016
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Recently uploaded (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Pipeline Automation with the New Rancher CLI - July 2016 Online Meetup

  • 1. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Pipeline Automation with the new Rancher CLI July 27, 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 . Jason Greathouse Director of DevOps Architecture LeanKit @usrbinjgreat http://jgreat.me 2 #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 • Introducing a New CLI for Rancher – Shannon • Demo: New Rancher CLI– Darren • Application Workflow at LeanKit – Jason • Latest Rancher Update – Darren 6 #ranchermeetup
  • 8. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Rancher Labs 7 #ranchermeetup An open-source software platform for managing containers A minimalist OS built explicitly to run Docker
  • 9. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Rancher Overview 8 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
  • 10. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . - 1 Million+ Downloads - 1.0 Released in March - Open Source - Multi-tenant - Enterprise Support 9
  • 11. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .#ranchermeetup $ sizzling hot pipeline automation with the new rancher cli
  • 12. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Three options for working with Rancher 11 GUI API CLI
  • 13. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Updated Rancher CLI In August we will be releasing a redesigned Rancher CLI as part of 1.2-pre2 12 - 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
  • 14. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Updated Rancher CLI 13
  • 15. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Updated Rancher CLI 14
  • 16. © 2015 Rancher Labs, Inc.15 Demo
  • 17. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
  • 18. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
  • 19. © 2015 Rancher Labs, Inc.
  • 20. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
  • 21. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Workflow
  • 22. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Demo Time
  • 23. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Credits and Links Docker Vote Demo: https://github.com/docker/swarm-microservice-demo- v1 LeanKit Teams: Star-Lord - Architecture, Tools and Automation Rocket - Web Development Groot - Web Development Deadpool - Operations Special Thanks: Evan Snapp - LeanKit Intern - Cowpoke Developer Presentation and Code: http://jgreat.me/rancher-application-pipeline
  • 24. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Stretch Goal: Application Configuration Apps in Rancher: Publishing Metadata: Rancher Apps via Labels Publishing Metadata: External Services via Labels Consuming Metadata: Entrypoint.sh Consuming Metadata: https://github.com/janeczku/rancher- template Apps external to Rancher: Publishing Metadata: API to External Services Consuming Metadata: External-DNS <> PowerDNS <> AD DNS
  • 25. © 2015 Rancher Labs, Inc. Latest Rancher Enhancements 24 1.1.1 • Support for Kubernetes HA – etcd HA 1.2- pre1 (today) • Stack UI for Kubernetes • Support for Kubernetes 1.3 #ranchermeetup
  • 26. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Getting Started Rancher and RancherOS are in GitHub – Get Involved! 25 #ranchermeetup http://github.com/rancher
  • 27. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Thank you rancher.com #ranchermeetup

Editor's Notes

  1. During Jenkins Build- make run-Jenkins 1m 10 This could be any CI, so longs as it can be run in a container and everyone can build in a consistent way then it doesn’t matter what its doing. As part of this build it could be executing unit tests etc I’ve mapped through the drive but you could just as easily have it git pull into the container, my instance monitors the remote git repo and then builds it from the mapped drive. There are pros and cons to both, I like this as I can make changes and run a manual build without needing to check in all the time. Jenkins git build – 5 mins Running multiple hosts locally causes pain as it means you need a repository or a means to get the built containers between the hosts. Overlay network also doesn’t currently work in boot2docker