• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

docker-archive/swarm-frontends: Deploy Kubernetes with Swarm

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

docker-archive/swarm-frontends

开源软件地址(OpenSource Url):

https://github.com/docker-archive/swarm-frontends

开源编程语言(OpenSource Language):

Shell 100.0%

开源软件介绍(OpenSource 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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap