KubeCon EU 2016: Kubernetes in Production (Scope and AWS)
-
Upload
kubeacademy -
Category
Technology
-
view
521 -
download
1
Transcript of KubeCon EU 2016: Kubernetes in Production (Scope and AWS)
if you can drink and watch Star Wars, you can handle Kubernetes in production
(because that’s exactly what we did)
Ilya Dmitrichenko
1. motivation 2. barriers to
adoption 3. our team’s
experience 4. tools/demo
kube-1
kube-3
kube-2
kube-4 kube-6 kube-5
kube-7
and most of people in this room will agree with you.
in theory.
while in practice, there are still more questions…
more questions will arise because
your team has opinions
you cannot take very big risk and legacy systems are a thing.
we call this ABCDE of Microservices
A) write the app B) test and build it C) provision a cluster D) deploy the app E) execute
Controller Manager[kube-controller-manager]
Scheduler[kube-scheduler]
API Server[kube-apiserver]
Cluster Nodes
[kube-proxy][kubelet]
etcd1 etcd2 etcd3
all of the opinions will surface and you still need
really?
Controller Manager[kube-controller-manager]
Scheduler[kube-scheduler]
API Server[kube-apiserver]
Cluster Nodes
[kube-proxy][kubelet]
etcd1 etcd2 etcd3
Controller Manager[kube-controller-manager]
Scheduler[kube-scheduler]
API Server[kube-apiserver]
Cluster Nodes
[kube-proxy][kubelet]
etcd1 etcd2 etcd3
all of the opinions will surface and you still need
a network
Controller Manager[kube-controller-manager]
Scheduler[kube-scheduler]
API Server[kube-apiserver]
Cluster Nodes
[kube-proxy][kubelet]
etcd1 etcd2 etcd3
all of the opinions will surface and you still need
a storage product
Controller Manager[kube-controller-manager]
Scheduler[kube-scheduler]
API Server[kube-apiserver]
Cluster Nodes
[kube-proxy][kubelet]
etcd1 etcd2 etcd3
all of the opinions will surface and you still need
a monitoring solution
Controller Manager[kube-controller-manager]
Scheduler[kube-scheduler]
API Server[kube-apiserver]
Cluster Nodes
[kube-proxy][kubelet]
etcd1 etcd2 etcd3
all of the opinions will surface and you still need
a private registry
Controller Manager[kube-controller-manager]
Scheduler[kube-scheduler]
API Server[kube-apiserver]
Cluster Nodes
[kube-proxy][kubelet]
etcd1 etcd2 etcd3
all of the opinions will surface and you still need
to deliver faster
our team’s use-case
scope-app-2590 pods
app-mapper2 pods
The Internet
users2 pods
kubernetes0 pods
Uncontainedip-172-20-0-149
Uncontainedip-172-20-0-148
scope-app-3271 pod
scope-app-2810 pods
frontend2 pods
scope-app-3010 pods
fairly simple Go app, only 6 services
our team’s use-case
scope-app-2590 pods
app-mapper2 pods
The Internet
users2 pods
kubernetes0 pods
Uncontainedip-172-20-0-149
Uncontainedip-172-20-0-148
scope-app-3271 pod
scope-app-2810 pods
frontend2 pods
scope-app-3010 pods
no messaging or fancy databases
our team’s use-case
scope-app-2590 pods
app-mapper2 pods
The Internet
users2 pods
kubernetes0 pods
Uncontainedip-172-20-0-149
Uncontainedip-172-20-0-148
scope-app-3271 pod
scope-app-2810 pods
frontend2 pods
scope-app-3010 pods
must have portable cluster deployment
live demo
ip-172-20-0-164
ip-172-20-0-222
ip-172-20-0-244
ip-172-20-0-243
ip-172-20-0-242
ip-172-20-0-12
ip-172-20-0-51
scope.weave.works
ilya-proxy-e20b51 container
metrics-98d4fd7-ybopj1 container
dbshell-fons-e67911 container
users-cb08840-kjd391 container
dbshell-fons-144171 container
dbshell-fons-2eab51 container
dbshell-fons-2d95f1 container
Uncontainedip-172-20-0-149
Uncontainedip-172-20-0-148
app-mapper-77d895a-rjqc11 container
app-mapper-77d895a-bk4k51 container
The Internet
users-cb08840-dj03q1 container
frontend-515708e-0y9h01 container
party!
users-cb08840-kjd392 containers
metrics-98d4fd7-ybopj2 containers
users-cb08840-dj03q2 containers
frontend-515708e-0y9h02 containers
dbshell-fons-e67912 containers
app-mapper-77d895a-bk4k52 containers
Uncontainedip-172-20-0-149
ilya-proxy-e20b52 containers
The Internet
Uncontainedip-172-20-0-148