SlideShare a Scribd company logo
Something Mumble Containers
Kubernetes
Kristian Köhntopp, Principal in Core.Infra
Photo: Kristian Köhntopp
The B.boring people
Containers at Booking
Kristian Köhntopp, Principal in Core.Infra
Photo: Kristian Köhntopp
The B.boring people
What we do…
Photo: booking.com
A small travel agency in
Number of sales
⨉ Transaction value
⨉ Margin


The variables
structure what you
do and how.
4
Where we are…
Automated baremetal Infra.
ServerDB, Nemo - Hands off!
Automated box creation, by puppet.


20 min provisioning time (or more).
Hardware needs to match workload.
No service definitions.
Where we are.
App specific automation on top…
Photo: booking.com
Why this is a problem…
Current hardware is too powerful
One Bladecenter C7000, 16 Blades ~= 896 HT Threads, 3 TB of RAM, 320 GBit/s
Network, Can consume 6400 Watt under load.
Racks have space for 3-4 of these.
Racks have power and cooling for 7000 Watt.
Photo: HP
Core.Infra
Be more agile,
faster,
more flexible.
Be able to plan, provide capacity,
independent of workload.
Machine readable service description,
for non-deployment consumption.
Be able to scale IT org
to 3x current people.
Environmental changes…
2001: The Monolith
So, containers?
Process
PID 18
Program
/bin/bash
Program
/bin/ls
Process
PID 17
Program
/bin/bash
fork()
exec()
exit()wait()
contains contains
Magic
The magic that happens:
- Namespaces
- Control Groups
fork() + fairy dust + exec()
A single dockerhost…
Docker is a completely Dev-
centric thing.
Not many things Docker
does are useful in
operations.
A single dockerhost can
take you very far.
14
Static linking 2.0
Look, Mom!
No RPM!
Important Corollary: Do CI/CD.
You need to own the
build chain!
CI/CD is not optional.


Using a public repo is
not helpful (“leftpad”).
16
Where we come from…
It came from a Hackathon!
Bringing up Docker inside the Apache Mesos/Marathon framework.
Running stuff.
• Blog
• Internal websites
• ML / bigdata jobs
• Java-based web services

(many not customer facing)
Photo: Kristian Köhntopp
Results:
Works for a small number of workloads. Hard to scale operationally:
- No tenant isolation
- No integrated service discovery
- No blue/green deployment
- No auto-scaling
- No one-time runs
“Like Lego:
Works well, but
under load parts
fall off.”
Kubernetes
Big Improvement
OSDC 2017 | Something Openshift Kubernetes Containers by Kristian Köhntopp
Pod
Image
many cluster nodes
Speaking Kubernetes…
Sidecar
“Don’t say container.”
POD, image,

init-container, sidecar
Initial Deployments.
Iteration 1:
- 128 blades (8 bladecenters in 8 racks, 2x 10 GBit/s per blade)
Iteration 2:
- 128 discretes (8 racks, 1x 25 GBit/s
with option to double, potential distrubuted storage playground)
Photo: Dell
A million core computer.
“Image based”:
Workload can be executed on any free set of
resources within a DC.

“Unified hardware”:
Detach DC design from workload running on
top of it.
“Location Independence”:
Any core in any box, speaking to any disk
within the same Data Center.
“Strong networking”:
Obviously that requires an improved network
concept to work.
OSDC 2017 | Something Openshift Kubernetes Containers by Kristian Köhntopp
Rethinking the network…
L3 Network
Leaf and Spine
Oversubscription
free
Kris is not
a network person.
You need less SDN than
you think
Cookie cutter topology…
Give developers the
option to create
networks.

Do not let them
design networks.
32
Common Bus
Deployment 1 Deployment 2
Shared Infrastructure…
Logging, Monitoring
accessible to all pods.

Single hop logging.
Requires breakable
isolation.
33
Physical
Node
Pod 1 Pod 2
Common Infra
No fixed locations, no fixed
Image deployed where space allows, 

with random address.

Service: 

Load balancer with etcd/cluster awareness.
34
Service Load Balancers for backend discovery.
Register
Instance
Instance Instance
RequestLookup
Service
List of Pod Instances mostly static, „watches“.
RequestLookup
Forward
to Instance
Instance
Service
In practice a bunch of iptables rules.
Rescheduling: Instances move around.
Instance
Rescheduled
Instance
Rethinking storage…
Storage.
Cluster Storage: iSCSI from cluster machines to distributed SSD filers,
dynamically provisioned.
Photo: NetApp
OSDC 2017 | Something Openshift Kubernetes Containers by Kristian Köhntopp
iSCSI
SSD
Storage
1. Mount to node
2. bind mount
into container
Handling persistent storage.
iSCSI
SSD
Storage
Rescheduled
Instance
Mount follows Pod
iSCSI mount follows Pod instance around.
8x Solidfire.
Trident for integration.
Some growing pains:
Latency issues, 64 node limit, …
Photo: NetApp
Things with names…
Photo: Kristian Köhntopp
Stateful Sets
Uniqueness guaranteed
at any point in time,

by ordering teardown,
rescheduling.

Allows containerization
of cluster software.
46
About to test…
Trying to containerize:
MySQL
BRICK (Elasticsearch)

SmartAV
47
Scaling the network…
How many
IPs per Node?
How many
per Cluster?
IP per container consumes a lot of addresses.
Legacy
Datenbank
Gateway
Node
Gateway Nodes can act as chokepoints.
Legacy
Datenbank
Gateway
Node
ovs-vswitchd
Baremetal nodes can be lifted into the Virtual.
Exit IPs are random, and do not identify a service.
Firewall
Legacy
Server
Cluster
IP Range
?
We need to talk about Firewalls…
In our case:



Rules autogenerated
by ServerDB,
Puppet class A may
speak <port> to B
53
Partial solutions exist…
TLS everything. Use
client certs.

Handle auth
transparently on
connect - Trireme.
54
We have not
tested any of
this, yet.
Scaling the cluster…
What are viable sizes?
Photo: Kristian Köhntopp
Having many clusters: Federation.
We have not
tested any of
this, yet.
And a few other notes…
Why not The Cloud™?
Photo: Kristian Köhntopp
Why Containers on Bare Metal?
Photo: Kristian Köhntopp
What about the Monolith?
OSDC 2017 | Something Openshift Kubernetes Containers by Kristian Köhntopp
?
workingatbooking.com
OSDC 2017 | Something Openshift Kubernetes Containers by Kristian Köhntopp

More Related Content

PDF
Critical Attributes for a High-Performance, Low-Latency Database
PDF
Exoscale: Pithos: your personal S3 object store on cassandra
PDF
10 Devops-Friendly Database Must-Haves - Dor Laor, ScyllaDB - DevOpsDays Tel ...
PDF
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
PDF
What we Learned About Application Resiliency When the Data Center Burned Down
PDF
Running a DynamoDB-compatible Database on Managed Kubernetes Services
PDF
ScyllaDB @ Apache BigData, may 2016
PDF
Seastar / ScyllaDB, or how we implemented a 10-times faster Cassandra
Critical Attributes for a High-Performance, Low-Latency Database
Exoscale: Pithos: your personal S3 object store on cassandra
10 Devops-Friendly Database Must-Haves - Dor Laor, ScyllaDB - DevOpsDays Tel ...
On CloudStack, Docker, Kubernetes, and Big Data…Oh my ! By Sebastien Goasguen...
What we Learned About Application Resiliency When the Data Center Burned Down
Running a DynamoDB-compatible Database on Managed Kubernetes Services
ScyllaDB @ Apache BigData, may 2016
Seastar / ScyllaDB, or how we implemented a 10-times faster Cassandra

What's hot (19)

PPTX
Kubernetes at Spreadshirt - First steps to production
PDF
Comparing Apache Cassandra 4.0, 3.0, and ScyllaDB
PDF
Scylla: 1 Million CQL operations per second per server
PPTX
Containers and CloudStack
PDF
12.07.2017 Docker Meetup - POSTGRE SQL ON KUBERNETES
PDF
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
PPT
Openstack Summit HK - Ceph defacto - eNovance
PPTX
Hyperloglog Lightning Talk
PDF
Back to the future with C++ and Seastar
PDF
Building software defined clouds - Boyan Ivanov
PPTX
Sinfonier: How I turned my grandmother into a data analyst - Fran J. Gomez - ...
PDF
Cassandra @ Yahoo Japan | Cassandra Summit 2016
PPTX
Speeding up R with Parallel Programming in the Cloud
PPTX
Cassandra on Docker @ Walmart Labs
PDF
Webinar: Does it Still Make Sense to do Big Data with Small Nodes?
PDF
Taking Your Database Global with Kubernetes
PPT
Ceph de facto storage backend for OpenStack
PDF
Azure Functions - Get rid of your servers, use functions!
PPTX
State of the Container Ecosystem
Kubernetes at Spreadshirt - First steps to production
Comparing Apache Cassandra 4.0, 3.0, and ScyllaDB
Scylla: 1 Million CQL operations per second per server
Containers and CloudStack
12.07.2017 Docker Meetup - POSTGRE SQL ON KUBERNETES
Scylla Summit 2016: Analytics Show Time - Spark and Presto Powered by Scylla
Openstack Summit HK - Ceph defacto - eNovance
Hyperloglog Lightning Talk
Back to the future with C++ and Seastar
Building software defined clouds - Boyan Ivanov
Sinfonier: How I turned my grandmother into a data analyst - Fran J. Gomez - ...
Cassandra @ Yahoo Japan | Cassandra Summit 2016
Speeding up R with Parallel Programming in the Cloud
Cassandra on Docker @ Walmart Labs
Webinar: Does it Still Make Sense to do Big Data with Small Nodes?
Taking Your Database Global with Kubernetes
Ceph de facto storage backend for OpenStack
Azure Functions - Get rid of your servers, use functions!
State of the Container Ecosystem
Ad

Similar to OSDC 2017 | Something Openshift Kubernetes Containers by Kristian Köhntopp (20)

PDF
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
PDF
2016 10-26 docker meetup - kubernetes on open stack
PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
PPTX
On Docker and its use for LHC at CERN
PDF
Kubernetes: My BFF
PDF
From Containerized Application to Secure and Scaling With Kubernetes
PDF
Azure meetup cloud native concepts - may 28th 2018
PDF
Kubernetes
PPTX
Introduction to Kubernetes
PPTX
Introduction to Kubernetes
PDF
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
PDF
Managing containers at scale
PDF
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
PDF
Kubernetes and CoreOS @ Athens Docker meetup
PPTX
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)
PPTX
Kubernetes 101
PDF
How DreamHost builds a Public Cloud with OpenStack
PDF
How DreamHost builds a public cloud with OpenStack.pdf
PDF
Driving Digital Transformation With Containers And Kubernetes Complete Deck
PDF
From CoreOS to Kubernetes and Concourse CI
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
2016 10-26 docker meetup - kubernetes on open stack
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
On Docker and its use for LHC at CERN
Kubernetes: My BFF
From Containerized Application to Secure and Scaling With Kubernetes
Azure meetup cloud native concepts - may 28th 2018
Kubernetes
Introduction to Kubernetes
Introduction to Kubernetes
Kubernetes Concepts And Architecture Powerpoint Presentation Slides
Managing containers at scale
Kubernetes One-Click Deployment: Hands-on Workshop (Mainz)
Kubernetes and CoreOS @ Athens Docker meetup
Kubernetes @ Squarespace (SRE Portland Meetup October 2017)
Kubernetes 101
How DreamHost builds a Public Cloud with OpenStack
How DreamHost builds a public cloud with OpenStack.pdf
Driving Digital Transformation With Containers And Kubernetes Complete Deck
From CoreOS to Kubernetes and Concourse CI
Ad

Recently uploaded (20)

PDF
Digital Strategies for Manufacturing Companies
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
AI in Product Development-omnex systems
PDF
System and Network Administration Chapter 2
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
ai tools demonstartion for schools and inter college
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
Digital Strategies for Manufacturing Companies
How to Migrate SBCGlobal Email to Yahoo Easily
How to Choose the Right IT Partner for Your Business in Malaysia
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
Wondershare Filmora 15 Crack With Activation Key [2025
2025 Textile ERP Trends: SAP, Odoo & Oracle
AI in Product Development-omnex systems
System and Network Administration Chapter 2
ManageIQ - Sprint 268 Review - Slide Deck
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Softaken Excel to vCard Converter Software.pdf
How Creative Agencies Leverage Project Management Software.pdf
ISO 45001 Occupational Health and Safety Management System
Design an Analysis of Algorithms I-SECS-1021-03
ai tools demonstartion for schools and inter college
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf

OSDC 2017 | Something Openshift Kubernetes Containers by Kristian Köhntopp