基于 CoreOS 的混合 IaaS/Docker 编排平台:Stampede
Stampede 是一个运行在 CoreOS 系统上的混合 IaaS/Docker 编排平台。Stampede 需要一个空的 CoreOS 集群,通过简单的配置就可以拥有可以同时运虚拟机和 Docker 的平台。Stampede 能很好的支持 IaaS 到 Docker 的复杂业务流程,增强了网络,存储和管理方面的能力。Stampede 的最终目标是继续支持传统的 IaaS,同时增强对 Docker 和容器的支持。
安装
通过 Fleet 和 Etcd 配置开始空白的 CoreOS 集群
wget http://stampede.io/latest/cattle-stampede.service fleetctl start cattle-stampede.service
fleetctl list-units
输出
UNIT DSTATE TMACHINE STATE MACHINE ACTIVE cattle-libvirt.7ffe1d-b2c083.service launched b2c0835f.../10.42.1.115 launched b2c0835f.../10.42.1.115 active cattle-stampede-agent.76bcfb-b2c083.service launched b2c0835f.../10.42.1.115 launched b2c0835f.../10.42.1.115 active cattle-stampede-server.01c222-b2c083.service launched b2c0835f.../10.42.1.115 launched b2c0835f.../10.42.1.115 active cattle-stampede.service launched b2c0835f.../10.42.1.115 launched b2c0835f.../10.42.1.115 active
API/UI 已经提供在服务器的 9080。
UI
函数
-
Virtual Machines
-
Libvirt/KVM
-
EC2/OpenStack images work out of the box
-
EC2 style meta data
-
OpenStack config drive
-
Managed DNS/DHCP
-
User data
-
Floating IPs
-
Private networking
-
VNC Console
-
CoreOS, Ubuntu, Fedora, and Cirros templates preconfigured
-
Docker
-
Link containers across servers
-
Dynamically reassign links and ports
-
Networking
-
VMs and containers can share the same network space
-
By default, a private IPSec V*N is created that spans servers
-
All containers and VMs live on a virtual network that can span across cloud
-
Can also use any libvirt networking models for VMs
-
Interface
-
Use web browser to explore and use API
-
UI
-
REST API
-
Command line client
-
Python API bindings