combinations of openstack and kubernetes · 2017. 7. 21. · 2 • kubernetes on openstack on...
TRANSCRIPT
高仲廷 Chung-Ting [email protected]
Combinations of OpenStack and Kubernetes
Who am I?
1
Work Experience− Am Senior Technical Manager in
− Was a Section Manager in
− Graduated from
高仲廷
Chung-Ting Kao
2
• Kubernetes on OpenStack on Kubernetes -The Infrastructure Club Sandwich.
− OpenStack Summit | Boston 2017
• 48 sessions on Kubernetes in Boston Summit
• It’s better to have Kubernetes and OpenStack both instead of having only one.
Motivation
After this session, you will learn
• What combinations of Kubernetes and OpenStack.
• Why you use a sandwich architecture.
• How to deploy the solution.
3
4
• Introduction− OpenStack
− Kubernetes
− Kubernetes on OpenStack
− OpenStack on Kubernetes
• Proposed Architecture− How to deploy?
• How to select a solution for you?
Outline
5
OpenStack can provide virtual machines, networks, and storages for multiple tenants.
What is
ref: https://www.openstack.org/software/
6
OpenStack can provide virtual machines, networks, and storages for multiple tenants.
What is
ref: https://www.openstack.org/software/
Infrastructure As Code
7
• OpenStack can deploy the same image in development, testing and operation environment.
• OpenStack help people to automate the process.
OpenStack and DevOps
8
Kubernetes is an open-source system for automating deployment, scaling, and management of containerized
applications.
What is
ref: https://kubernetes.io
Kubernetes
9
• Pros− Automatic binpacking
− Self-healing
− Horizontal Scaling
− Service discovery and load balancing
− Automated rollouts and rollbacks
− Storage orchestration
• Cons− Lack of multitenancy
10
• Deploy Kubernetes clusters in VMs on OpenStack.
• Can deploy multiple Kubernetes clusters
for multiple tenants.
Kubernetes on OpenStack
Physical Server
Linux / KVM
ku
be-
ap
ise
rve
r
etc
d
co
ntr
olle
r-m
an
ag
er
Physical Server
Linux / KVM
Physical Server
Linux / KVM
kub
ele
t
do
cke
r
keys
ton
e
gla
nce
no
va
ku
be-
sch
ed
ule
r
ku
be-
pro
xy
no
va
VMs VMs
Con
tain
er
Con
tain
er
ref: http://blog.kubernetes.io/2016/10/kubernetes-and-openstack-at-yahoo-japan.html
cin
de
r
ne
utr
on Linux / KVM Linux / KVM
11
• Deployment
• Update/upgrade
• High-Availability
OpenStack Challenges
12
• Run OpenStack service daemons as containers which are managed by Kubernetes.
• Solve the OpenStack Operation problems.
OpenStack on Kubernetes
Physical Server
Linux / KVM
ku
be
-a
pis
erv
er
etc
d
con
tro
ller-
man
ag
er
Physical Server
Linux / KVM
kub
ele
t
do
cke
r
Physical Server
Linux / KVM
kub
ele
t
do
cke
r
no
va
ku
be
-sch
ed
ule
r
ku
be
-p
roxy
ku
be
-p
roxy
VM
ke
ysto
ne
gla
nce
cin
de
r
ne
utr
on
13
Proposed Architecture
Physical Server
OS
Physical Server
OS
Physical Server
OS
VM
ku
be-
ap
ise
rve
r
etc
d
co
ntr
olle
r-m
an
ag
er
ku
be
let
do
cke
r
ku
be-
sch
ed
ule
r
kub
e-
pro
xy
no
va
Con
tain
er
ke
ysto
ne
gla
nce
cin
de
r
ne
utr
on
• Use a stable Container Management Platform as the base platform.
• All IaaS daemons are containers.
ContainerMgt.Platform
14
Magnum uses Heat to orchestrate an OS image which contains Docker and Kubernetes and runs that image in either virtual
machines or bare metal in a cluster configuration
Alternative Architectures
Physical Server
Linux / KVM
Physical Server
Linux / KVM
Physical Server
ke
ysto
ne
gla
nce
no
va
VMs cin
de
r
ne
utr
onLinux / KVM
Linux / KVM
Magnum
iro
nic
Open Source Projects
15
Kubernetes Deploy Tools− Kargo, Kubespray
− Helm
OpenStack Deploy Tools− Enterprise Solutions
− TripleO
− OpenStack-Ansible
Kubernetes on OpenStack− OpenStack Magnum (Heat)
− OpenStack Kuryr
OpenStack on Kuberentes− Kolla
− Kolla-ansible
− Kolla-Kuberentes
− OpenStack Helm
16
How to select a solution for you?
What does user want? How many tenants? When will be done?
VM
K8S
PaaS
OpenStack
Kubernetes
Kuberneteson
OpenStack
OpenStackon
Kubernetes
one
Multi-tenants
one
Multi-tenants
now
future
now
future
17
How to select a solution for you?
What does user want? How many tenants? When will be done?
VM
K8S
PaaS
OpenStack
Kubernetes
Kuberneteson
OpenStack
OpenStackon
Kubernetes
one
Multi-tenants
one
Multi-tenants
now
future
now
future
Consulting inwinSTACKcan’t go wrong.
18
Q & A送好禮!
蒞臨inwinSTACK攤位(S05)參加抽獎活動,亦有機會獲得好禮!
抽獎時段:(A) 13:20(B) 15:20(C) 16:20
www.inwinstack.com
迎棧科技股份有限公司
Thank You!