Giter VIP home page Giter VIP logo

container-orchestration's Introduction

Why we need Container Orchestration

  • We don't like pets in server farms :)
  • We want zero downtime
  • We want auto-scaling
  • We want to go across different cloud providers

Container Orchestration Options

As you could guess, it becomes difficult to choose one. So we thought of taking one Real World App and deploy it in different orchestration engines. For now we would look into Docker Swarm, Kubernetes and Mesos marathon.

What is needed to do the Container Orchestration

Multiple Nodes to be part of a cluster

Unique ID/Token to bind all the nodes in a unique cluster

Container Engines

  • Docker
  • Rkt

Single source of truth about configuration for nodes

  • Key-Value Store like etcd, consul

Network for containers of different nodes to talk to each other

  • Some form of Overlay network like VxLAN.
  • With possibility to plug different neworking solution like Calico.

One or more cluster master to manage the cluster and schedule the jobs/tasks

Scheduler to schedule the containers on nodes based on

  • Constraints, like run the container where SSD storage is available
  • Affinity

Service discovery within the cluster

  • Internal DNS server
  • Through environment variables
  • Load balancer, HA proxy

Access to external shared storage

  • Volume plugins

Examples

We are going to look at two examples :-

This is a simple example, which I borrowed from from DockerCon EU tutorial. In that tutorial, the steps are given to orchestrate the simple chat application using Docker Swarm. Here would take that same app and deploy it using Kubernetes and Mesos.

Magento

We thought a real world e-commerce platform would be a nice and came across Magento. While doing some browsing we came across this blog post to deploy Magento2 on Tutum., which gave us good reference.

So first we would deploy Magneto on differnet orhestration engines and then experiment with features like replication, auto-scaling etc.

TDB

Credits

container-orchestration's People

Contributors

nkhare avatar saurabh-hirani avatar

Watchers

Saurabh Gupta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.