基于 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