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

691 views

Published on

Who says CLIs aren’t the sexiest part of a product? They are the backbone of DevOps and when it comes to automating your pipeline there is nothing better. In August we are rolling out a new CLI for Rancher, and we want to show you how to use it to automate all aspects of your delivery pipeline. In our July meetup, we talked Docker pipeline automation and how to use the new Rancher CLI to deploy applications, manage upgrades, infrastructure provisioning, troubleshooting and more.

We were also joined by Jason Greathouse, Director of DevOps Architecture at LeanKit, who will share how his team is running Docker in production. We've posted a full recording of the meetup on youtube(linked), along with these slides. You can also download an early release of the new CLI and try it out for yourself.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
691
On SlideShare
0
From Embeds
0
Number of Embeds
436
Actions
Shares
0
Downloads
40
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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



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

    1. 1. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Pipeline Automation with the new Rancher CLI July 27, 2016 #ranchermeetup
    2. 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. 3. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Jason Greathouse Director of DevOps Architecture LeanKit @usrbinjgreat http://jgreat.me 2 #ranchermeetup
    4. 4. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . First things first… This is a not a ! 3 #ranchermeetup
    5. 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. 6. © 2015 Rancher Labs, Inc.5 Join the conversation on Twitter #ranchermeetup
    7. 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. 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. 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. 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. 11. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .#ranchermeetup $ sizzling hot pipeline automation with the new rancher cli
    12. 12. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Three options for working with Rancher 11 GUI API CLI
    13. 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. 14. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Updated Rancher CLI 13
    15. 15. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Updated Rancher CLI 14
    16. 16. © 2015 Rancher Labs, Inc.15 Demo
    17. 17. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
    18. 18. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
    19. 19. © 2015 Rancher Labs, Inc.
    20. 20. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc .
    21. 21. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Workflow
    22. 22. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Demo Time
    23. 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. 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. 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. 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. 27. © 2015 Rancher Labs, Inc.© 2016 Rancher Labs, Inc . Thank you rancher.com #ranchermeetup

    ×