Welcome!

@DevOpsSummit Authors: Liz McMillan, Zakia Bouachraoui, Pat Romanski, Elizabeth White, Yeshim Deniz

Related Topics: @DevOpsSummit, Microservices Expo, Containers Expo Blog

@DevOpsSummit: Blog Post

Characterizing and Contrasting Container Orchestrators | @DevOpsSummit #DevOps #Containers

There is no one perfect solution

Admiral Calcote - also known as Lee Calcote (@lcalcote) or the Ginger Geek to his friends - gave a presentation entitled Characterizing and Contrasting Container Orchestrators at the 2016 All Day DevOps conference.

Okay, he isn't really an admiral - nor does anyone call him that - but he used the title admiral to describe what container orchestrators do, relating it to an admiral directing a fleet of container ships. You could also say that they are like the conductor of an orchestra, directing the individuals to work together as a group toward a common goal while each musician is still able to play their own instrument.

lee1.png

Lee is the Head of Technology Strategy at SolarWinds, and for his talk, he walked through four open-source container orchestrators: Nomad, Swarm, Kubernetes, and Mesos-Marathon.

He emphasized the obvious - there is no one perfect solution. Each organization is different, so for each solution, he looked at:

  • Genesis and purpose
  • Support and momentum
  • Host and service discovery
  • Scheduling
  • Modularity and extensibility
  • Updates and maintenance
  • Health monitoring
  • Networking and load balancing
  • Secrets management
  • High availability and scale

Lee noted that while there are many core capabilities, any orchestrator must have cluster management and scheduling.

lee2.png

He then dove deeper into the four solutions. Below are summaries (the full talk is chalked full of information and is online here):

Nomad

  • Designed for both long-lived and short-lived batch processing workloads
  • Cluster manager with declarative job specifications
  • Ensures constraints are satisfied and resource utilization is optimized by efficient task packing
  • Supports all major OSs and workloads
  • Written in Go and with a Unix philosophy
  • Host discovery: Gossip protocol - Serf is used; servers advertise full set of Nomad servers to clients; creating federated clusters is simple
  • Service discovery: Integrates with Consul
  • Scheduling: two distinct phases - feasibility checking and ranking; optimistically concurrent; three scheduler types when creating jobs
  • Uses task drivers to execute a task and provide resource isolation, but it does not support pluggable task drivers
  • Built for managing multiple clusters/cluster federation

lee3.png

Docker Swarm 1.12

  • Simple and easy to setup
  • Architecture is not as complex as Kubernetes and Mesos
  • Written in Go - lightweight, modular, and extensible
  • Strong community support
  • Host discovery: used in the formation of clusters by the Manager to discover Nodes (hosts); pull model - worker checks-in with the Manager
  • Service discovery: Embedded DNS and round robin load-balancing
  • Scheduler is pluggable and is a combination of strategies and filters/constraints
  • Ability to remove "batteries"
  • Rolling updates are supported
  • Managers may be deployed in a highly-available configuration, but does not support multiple failure isolation regions or federation

lee4.png

Kubernetes

  • An opinionated framework for building distributed systems
  • Written in Go and is lightweight, modular, and extensible
  • Led by Google, Red Hat, and others
  • Young - about two-years-old
  • Robust documentation and community
  • Scheduling is handled by kube-scheduler
  • Pluggable architecture and an extensible platform
  • Choice of: database for service discovery or network driver and container runtime
  • Supports rolling back deployments, automating deployments and rolling updating applications
  • Inherent load balancing
  • Uses Pods, an atomic unit of scheduling. Each pod has its own IP address, no NAT required, and intra-pod communication via localhost

lee5.png

Mesos-Marathon

  • Mesos is a distributed systems kernel
  • Mesos has been around the longest (since 2009)
  • Mesos is written in C++
  • Marathon is a framework that runs on top of Mesos
  • Mesos is used by Twitter, AirBnB, eBay, Apple, Cisco, and Yodle
  • Marathon is used by Verizon and Samsung
  • Mesos-DNS generates an SRV record for each Mesos task
  • Marathon ensures that all dynamically assigned ports are unique

lee6.png

Wrapping up, Lee provided the following overview comparing the different container orchestration solutions.

lee7.png

Lee packed a tremendous amount of information into his talk. If you use containers, his talk is worth your time and is available online here. If you missed any of the other 30-minute long presentations from All Day DevOps, they are easy to find and available free-of-charge here.  Finally, be sure to register you and the rest of your team for the 2017 All Day DevOps conference here.  This year's event will offer 96 practitioner-led sessions (no vendor pitches allowed).  It's all free and online on October 24th.

More Stories By Derek Weeks

In 2015, Derek Weeks led the largest and most comprehensive analysis of software supply chain practices to date across 160,000 development organizations. He is a huge advocate of applying proven supply chain management principles into DevOps practices to improve efficiencies, reduce costs, and sustain long-lasting competitive advantages.

As a 20+ year veteran of the software industry, he has advised leading businesses on IT performance improvement practices covering continuous delivery, business process management, systems and network operations, service management, capacity planning and storage management. As the VP and DevOps Advocate for Sonatype, he is passionate about changing the way people think about software supply chains and improving public safety through improved software integrity. Follow him here @weekstweets, find me here www.linkedin.com/in/derekeweeks, and read me here http://blog.sonatype.com/author/weeks/.

@DevOpsSummit Stories
"DevOps is set to be one of the most profound disruptions to hit IT in decades," said Andi Mann. "It is a natural extension of cloud computing, and I have seen both firsthand and in independent research the fantastic results DevOps delivers. So I am excited to help the great team at @DevOpsSUMMIT and CloudEXPO tell the world how they can leverage this emerging disruptive trend."
Digital transformation is about embracing digital technologies into a company's culture to better connect with its customers, automate processes, create better tools, enter new markets, etc. Such a transformation requires continuous orchestration across teams and an environment based on open collaboration and daily experiments. In his session at 21st Cloud Expo, Alex Casalboni, Technical (Cloud) Evangelist at Cloud Academy, explored and discussed the most urgent unsolved challenges to achieve full cloud literacy in the enterprise world.
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO Silicon Valley 2019 will cover all of these tools, with the most comprehensive program and with 222 rockstar speakers throughout our industry presenting 22 Keynotes and General Sessions, 250 Breakout Sessions along 10 Tracks, as well as our signature Power Panels. Our Expo Floor will bring together the leading global 200 companies throughout the world of Cloud Computing, DevOps, IoT, Smart Cities, FinTech, Digital Transformation, and all they entail. As your enterprise creates a vision and strategy that enables you to create your own unique, long-term success, learning about all the technologies involved is essential. Companies today not only form multi-cloud and hybrid cloud architectures, but create them with built-in cognitive capabilities.
The benefits of automated cloud deployments for speed, reliability and security are undeniable. The cornerstone of this approach, immutable deployment, promotes the idea of continuously rolling safe, stable images instead of trying to keep up with managing a fixed pool of virtual or physical machines. In this talk, we'll explore the immutable infrastructure pattern and how to use continuous deployment and continuous integration (CI/CD) process to build and manage server images for any platform. Then we'll show how automate deploying these images quickly and reliability with open DevOps tools like Terraform and Digital Rebar. Not only is this approach fast, it's also more secure and robust for operators. If you are running infrastructure, this talk will change how you think about your job in profound ways.
DevOpsSUMMIT at CloudEXPO, to be held June 25-26, 2019 at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real results. Among the proven benefits, DevOps is correlated with 20% faster time-to-market, 22% improvement in quality, and 18% reduction in dev and ops costs, according to research firm Vanson-Bourne. It is changing the way IT works, how businesses interact with customers, and how organizations are buying, building, and delivering software.