swarm-frontends

Deploy Kubernetes with Swarm

  • 所有者: docker-archive/swarm-frontends
  • 平台:
  • 許可證: Apache License 2.0
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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 © 2015 Docker, Inc. swarm-frontends is licensed under the Apache License,
Version 2.0. See LICENSE for the full license text.

主要指標

概覽
名稱與所有者docker-archive/swarm-frontends
主編程語言Shell
編程語言Shell (語言數: 1)
平台
許可證Apache License 2.0
所有者活动
創建於2015-11-05 22:22:16
推送於2016-08-26 06:00:27
最后一次提交2016-08-25 23:00:27
發布數0
用户参与
星數181
關注者數27
派生數50
提交數25
已啟用問題?
問題數7
打開的問題數5
拉請求數8
打開的拉請求數0
關閉的拉請求數5
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?