Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Container Orchestration with Rancher - Lidor Gerstel - DevOpsDays Tel Aviv 2017


Published on

DevOpsDays Tel Aviv 2017

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Container Orchestration with Rancher - Lidor Gerstel - DevOpsDays Tel Aviv 2017

  1. 1. Container Orchestration with Rancher Lidor Gerstel 1
  2. 2. About the Speaker ❖ I am a DevOps Instructor @ John Bryce College at nights ❖ Devops Cultural Consultant during daytimes @ Cellebrite Mobile , Discount Bank ….and many more ❖ Have my own company : ❖ have more than 12 years experience in the IT world ❖ started working in the Devops movement from 2012 ❖ have more than 5 years experience in AWS Cloud Environments ❖ achieved a BA Degree in information managements systems 2
  3. 3. What is Rancher ? 3 ❖ Rancher is an open source software platform that enables organizations to run and manage Docker and Kubernetes in production. ❖ Have 4 components ❖ Infrastructure Orchestration ❖ Container Orchestration and Scheduling ❖ Application Catalog ❖ Enterprise Grade Control
  4. 4. Rancher Architecture 4
  5. 5. Rancher can manage Containers 5
  6. 6. Rancher can manage Hosts 6
  7. 7. Rancher can Monitor Containers 7
  8. 8. Our Tale of the Tape ❖ Rancher 2 - First Setup ❖ How it Runs ? ❖ High Availability or Standalone ❖ Installing Rancher’s Agents ❖ Launching Environments -Mesos, Kubernetes, Swarm ❖ Using Private Registries ❖ Best Practices - do’s and don’ts ❖ Rancher plays part of CI/CD ❖ Deploying Applications with Rancher ❖ Rancher role in the CI/CD Pipeline 8
  9. 9. How it Runs ? Rancher Server run in a container inside docker: 9
  10. 10. Rancher 2 UI 10
  11. 11. Launching Rancher as full HA Active/Active Running Rancher server in High Availability (HA) is as easy as running Running Rancher Server with External DB , exposing an additional port, and adding in an additional argument to the command for the external load balancer. 11
  12. 12. Adding Rancher -Agent to a host You can Provision your clean first host or use hosts you already have 12
  13. 13. Adding EC2 Hosts
  14. 14. Adding Environments Environments are supported of grouping resources together: separating Dev , Test , Prod to keep things isolated; each Environment of Infrastructure Service has its own Environment templates
  15. 15. Environments Templates Environment template allows users to define a different combination of infrastructure services to be deployed : Kubernetes , Swarm , Mesos , Cattle
  16. 16. Lorem Ipsum Dolor Launching Kubernetes
  17. 17. Adding Registry Rancher supports different registries for Cattle and Kubernetes container orchestration types. With Rancher, you can add credentials to access private registries from DockerHub,, or any address that you have a private registry.
  18. 18. Best Practices 18 ❖ Make sure when working with AWS - that you create the security groups of your rancher by yourself and not let rancher create them with your Access key and Secret Key ❖ You can auto scale your managed cluster with rancher by event or clone hosts on-demand ❖ If you use Rancher -> use spotinst from the spotinst console for launching your cluster hosts in the lower environments and fully integrate with your rancher server
  19. 19. Deploying Applications with Rancher 19 ❖ Rancher provides a catalog of application templates that make it easy to deploy these complex stacks
  20. 20. Rancher and Jenkins Pipeline 20