GithubHelp home page GithubHelp logo

bhanditz / swarm-frontends Goto Github PK

View Code? Open in Web Editor NEW

This project forked from docker-archive/swarm-frontends

0.0 2.0 0.0 899 KB

Deploy Kubernetes with Swarm

License: Apache License 2.0

Shell 100.00%

swarm-frontends's Introduction

Swarm frontends

This project contains Docker Compose files used to easily deploy distributed containerized applications. Currently the project contains Docker Compose files for Kubernetes and Mesos-Marathon.

The rationale behind this is that Swarm is lightweight enough to deploy additional orchestration tools on top. You begin with the regular docker experience and you can enhance this by adding orchestration/schedulers on top (kubernetes/nomad/mesos), etc. It is not yet production ready.

An added benefit is that you can use the regular docker commands against the Mesos/Marathon and Kubernetes clusters: inspect/logs/attach, etc.

Prerequisites

  • Master version of Docker Compose: (see Issue #2334)
  • Latest version of Swarm: 1.0.0
  • Point Compose to the Swarm cluster if not local by setting DOCKER_HOST, DOCKER_TLS_VERIFY, DOCKER_CERT_PATH appropriately
  • An etcd, consul or zookeeper cluster running for the overlay networking feature (this is not mandatory, the compose file can be tweaked to not use it but it's a nice addition to deploy across cloud providers).

See the networking documentation to setup docker to use the Multi-Host networking features.

To simplify your setup, we have some helper files for setting up virtualbox VMs with Swarm on your machine:

  • Prerequisite: you have installed Docker Toolbox
  • init_swarm.sh sets up a 6 node Swarm cluster (1 master, 5 agents) using docker-machine and VirtualBox.
  • Setup your environment variables: eval $(docker-machine env --swarm swarm-master)
  • Follow instructions in the appropriate directory (kubernetes or mesos-marathon) to run Docker Compose to setup and scale your containerized application
  • Use cleanup_swarm.sh to clean up the VMs created

Copyright and license

Copyright © 2015 Docker, Inc. swarm-frontends is licensed under the Apache License, Version 2.0. See LICENSE for the full license text.

swarm-frontends's People

Contributors

abronan avatar aanm avatar dgageot avatar losdevnull avatar samalba avatar thajeztah avatar zoidyzoidzoid avatar ytsarev avatar amitshukla avatar

Watchers

James Cloos avatar  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.