ipc16: a practical introduction to kubernetes
TRANSCRIPT
A practical introductionto Kubernetes
by Robert Lemke
Robert Lemke
CEO FlownativeProject Founder [email protected]@robertlemke
Disclaimer
How do you deployPHP applications?
Containers are not light-weight virtual machines.They are mostly a clever way to isolate processes.
Managing containers ain’t easy.
vs
“"So let me get this straight. You want to build an external version of the Borg task scheduler. One of our most important competitive advantages. The one we don’t even talk about externally. And, on top of that, you want to open source it?"
Urs HölzleGoogle Senior VP of Infrastructure
Mesos
Nomad
Swarm
App Code
🤓
Infrastructure
😎
application
cluster
operating system
hardware
> clustered environment > multiple Docker hosts
> container grouping > load balancing > auto-healing > scaling
Kubernetesnetworks
Kubernetes Master
Minion 1(Node)
Minion2(Node)
Minion3(Node)
service network
overlay network
Internet
Kubemaster
provides scheduler and API server
Minions
act as nodes run kubelets
index.php
index.phpNginx PHP-FPM
index.phpNginx PHP-FPM Pod
index.phpNginx PHP-FPM Pod 1
index.phpNginx PHP-FPM Pod 2
Replication Controller
index.phpNginx PHP-FPM Pod 1
index.phpNginx PHP-FPM Pod 2
Replication Controller
shared network,shared volumes
shared network,shared volumes
index.phpNginx PHP-FPM Pod 1
index.phpNginx PHP-FPM Pod 2
Replication Controller
shared network,shared volumes
shared network,shared volumes
app=wwwneosio
Building blocks
Let’s spin up a cluster anddeploy a PHP application.
flownative/kubernetes-helloworld:v1
index.php
setup.sh
controller-v1.yaml
controller-v1.yaml
controller-v1.yaml
Demo
Challenges
Cluster upgrades
Application fitness
Storage
Image Build Process
Monitoring
Getting started
http://kubernetes.io/
https://github.com/kubernetes/minikube
What could Kubernetes mean for you?
❤
+
=