ibm dnt-dcos-v9-3
TRANSCRIPT
G O P S 2016 全球运维⼤大会 ·上海站
BlueDock – 基于Kubernetes和Mesos的容器云
BlueDock
IBM-天玑-容器云
⽤用户应⽤用
容器镜像1
容器镜像2
容器镜像3
…
容器镜像n
服务1,服务2,服务3 … 服务n
G O P S 2016 全球运维⼤大会 ·上海站
1. Docker
• 被Docker公司主导
• Docker公司有完整的基于Docker的产品线,涵盖了公有云,私有云和混合云
• VMWare
2. Mesos • 被Mesosphere主导
• Mesosphere推出基于Mesos和Marathon的DC/OS
• Mesosphere在积极寻找合伙伙伴加速DC/OS落地
• Mesos引⼊入Universal Container摆脱对Docker的依赖
• Citrix
3. Kubernetes
• 由Google开源,但是Google没有任何基于Kubernetes的产品
• 开放,活跃的社区
• Kubernetes⽀支持Rkt拜托对Docker的依赖
• KVM
为什么是Kubernetes和Mesos
G O P S 2016 全球运维⼤大会 ·上海站
1. 资源动态共享
2. 容器云
• Kubernetes -> Dev/Ops
• Mesos -> DCOS
• Kubernetes + Mesos = 容器云
两者集成的优势
G O P S 2016 全球运维⼤大会 ·上海站
容器云总体概览
IaaS
PaaS
应⽤用程序
资源管理
容器编排
统⼀一管理界⾯面
服务管理
应⽤用商店
资源调度
应⽤用,服务器⾃自动扩展
⽤用户/租户管理
Power & X86
镜像管理
BlueDock
G O P S 2016 全球运维⼤大会 ·上海站
集成架构
Mesos Agent
Mesos Agent
Mesos Agent
Marathon
资源调度器
…...
k8sm-scheduler
k8sm-apiserver
k8sm-controll-manager
统⼀一界⾯面 权限认证 应⽤用商店 …
Mesos Agent
Mesos Agent
软件定义⺴⽹网络 (DNS, Overlay) 软件定义存储 (Ceph, Spectrum Scale)
异构节点
⻓长服务,短作业 ⼤大数据
HA
Kubernetes Spark Streaming
Spark Core
IaaS (OpenStack)
流式计算
G O P S 2016 全球运维⼤大会 ·上海站
主要组件
Flannel
k8sm-apiserver k8sm-
controller-manager
HA In
stal
ler
Kubelet in container
k8sm-scheduler Mesos Master Etcd UI
Router AppStore Image Mgr Flannel Keystone Auth Keystone Mariadb
Mesos Agent
Fluentd Kubedns
Flannel Mesos Agent
Fluentd Heapster
Flannel Mesos Agent
Fluentd Pod Pod Pod Pod
Master
Worker Worker Worker
Haproxy
Network Mgr
Kubelet
Installer
DaemonSet
Deployments
Workload
G O P S 2016 全球运维⼤大会 ·上海站
BlueDock与OpenStack联动扩展
Working
BlueDock Bay
Agent
Kubernetes
Mesos-Master Mesos-Agent
Pod
Magnum AutoScaler Service
Kubernetes Driver Collector
Analyzer
Operator
Policy driven scaling
Magnum Conductor
Standby
Pod