SlideShare a Scribd company logo
One Kubernetes
to rule them all
Simon Harrer
Tammo van Lessen
2019-02-15

BAYREUTH / ZEUS 2019
Photo by Maximilian Weisbecker on Unsplash
The only slide about
• When you start, you can choose the laptop and phone
you want.
• When you need something (mouse, book, etc.), just
order it through the company Amazon account.
• The whole company meet every two months for two to
three days for an internal conference.
https://www.innoq.com/en/culture/working-at-innoq/
One Kubernetes to rule them all
• Why Kubernetes?
• eCommerce Project
• Industrial IoT Project
• Where will Kubernetes be tomorrow?
• How can Kubernetes help you?
Why Kubernetes?
Dependencies are the root of all evil
• Software dependencies (leftpad, cryptominer)
• Accept code duplication
• Service/Team dependencies (canonical user service)
• Accept data duplication
• Operations dependencies (operations department)
• Accept “you build, you run it”
It’s all about independence
• Vertical Architecture
• Cross-functional teams building microservices
• Minimal dependencies to other verticals
• Favour data redundancy over runtime dependencies
• Self-Service Everywhere
• Get everything with Credit Card + API Call
• Everything as Code
Containers are the Entry Ticket
• Container package services with their runtime in a
portable, reproducible, and sharable way
• Applications consists of multiple services, each service
is packaged in its own container
• is the de facto standard
Kubernetes is the cloud OS
• DevOps Team builds applications as set of Docker images
• DevOps Team declaratively specifies the runtime as code
• DevOps Team tells Kubernetes their runtime specification
• Kubernetes manages the application
• Load balancing, zero-downtime, logging, metrics, auto-
scaling, self-healing, [put-buzz-word-here]
https://kubernetesbootcamp.github.io/
https://kubernetesbootcamp.github.io/
https://kubernetesbootcamp.github.io/
https://kubernetesbootcamp.github.io/
Desired State Management
Photo by Marek Szturc on Unsplash
Desired State
• Replicas = 1
• Automated restarts and zero-downtime
• Replicas = 3
• Load balancing
• Replicas = $n
• Auto-scaling with horizontal pod autoscaler
History
• 2005 Googles Borg
• 2014 Google Container Engine provides K8S
• 2015 Google donates K8S to CNCF
• 2016 Pokemon Go Launch
• 2017 Azure provides K8S
• 2018 AWS provides K8S :-)
• 2018-12 KubeCon 8K Devs
eCommerce Project
eCommerce Project
• What are we doing?
• Order management and stock keeping
• Why we use Kubernetes?
• Mainly for self-service, Infrastructure as Code, and
vendor independence
• And a little bit of load-balancing, self-healing, and
scaling (black friday)
eCommerce Project
Self-hosted

Prod & Dev

Industrial IoT Project
Industrial IoT Project
• What are we doing?
• IoT ingestion pipeline for refrigeration control systems
• Webapp for Management/Monitoring
• Platform platform for food retailing
• Why we use Kubernetes?
• Vendor independence, enabling dynamic growth (up to
10k supermarkets), infrastructure as code, zero-
downtime deployments, load-balancing, self-healing.
Ingestion Pipeline
CI/Virtus MQTT BrokerMarket Device
Content Enricher
Alarm Importer
Component
Importer
Time Series
Importer TSDB
Alarm DB
Component DB
Web
Backend
Web/APIWeb/APIWeb/API
How do we use Kubernetes?
• Managed K8s (Azure AKS)
• Dev and QA in one cluster with namespace per env
• Provisioning: terraform, shell scripts, Helm, K8s manifests,
Open Service Broker API for Azure
• Inside K8s: Spring Boot & Akka microservices, HiveMQ, Kafka,
InfluxDB, Prometheus/Grafana, NGINX, HAProxy, Hydra (OIDC)
• Outside K8s: PostgreSQL for Azure, Azure Container Insights,
Gitlab CI (CI/CD)
Where will Kubernetes be
tomorrow?
Stateful Microservices
Running

Inside K8s
Running

Outside K8s
Provisioning

Outside K8s
PostgreSQL Docker
Image as Pod
Managed PostgreSQL
From Cloud Provider
Provisioning

Through K8s
Operator Pattern Open Service Broker API
Service Mesh is the new ESB
• Services fulfil functional requirements
• Service Mesh fulfil nonfunctional requirements
• Routing (A/B testing, canary deployments)
• Monitoring (metrics, logs, traces)
• Resilience (circuit breakers, timeouts, retries)
• Security (authentication, authorisation, encryption)
Serverless on Kubernetes
• Scale to Zero
• Request proxy scales replicas (even to 0)
• Challenge is down/upscaling nodes (time to node = 5min)
• Functions as a Service on K8s
• Function runtime deployed as container in K8s
• Execute functions on those auto-scaled runtimes
• No vendor-lock in
Going All-in on Kubernetes
• Continuous Integration and Deployment in Kubernetes
• For every commit or pull request
• Build, test, and run in Kubernetes
• Operator Pattern FTW!
• You can even run your Gitlab in Kubernetes :-)
How can Kubernetes help you?
Kubernetes for Research
• Reproducible research is a challenge
• Publish Docker container and Kubernetes manifest of
your experiment or prototype
• Getting compute resources from University data centres
can be (read: is) cumbersome
• Test in local cluster (e.g. minikube)
• Use credit card for managed K8s (pay CPU/s)
One Kubernetes
to rule them all
Simon Harrer 

Tammo van Lessen
2019-02-15

BAYREUTH / ZEUS 2019
Photo by Maximilian Weisbecker on Unsplash
Thank You! 

Questions?

More Related Content

PDF
Kai Waehner - KSQL – The Open Source SQL Streaming Engine for Apache Kafka - ...
PDF
Kafka for Real-Time Replication between Edge and Hybrid Cloud
PDF
Bridge to Cloud: Using Apache Kafka to Migrate to AWS
PDF
Build a Bridge to Cloud with Apache Kafka® for Data Analytics Cloud Services
PDF
App modernization on AWS with Apache Kafka and Confluent Cloud
PDF
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
PDF
Deep Learning at Extreme Scale (in the Cloud) 
with the Apache Kafka Open Sou...
PDF
Serverless Kafka on AWS as Part of a Cloud-native Data Lake Architecture
Kai Waehner - KSQL – The Open Source SQL Streaming Engine for Apache Kafka - ...
Kafka for Real-Time Replication between Edge and Hybrid Cloud
Bridge to Cloud: Using Apache Kafka to Migrate to AWS
Build a Bridge to Cloud with Apache Kafka® for Data Analytics Cloud Services
App modernization on AWS with Apache Kafka and Confluent Cloud
IoT Sensor Analytics with Kafka, ksqlDB and TensorFlow
Deep Learning at Extreme Scale (in the Cloud) 
with the Apache Kafka Open Sou...
Serverless Kafka on AWS as Part of a Cloud-native Data Lake Architecture

What's hot (20)

PDF
KSQL – An Open Source Streaming Engine for Apache Kafka
PPTX
Supply Chain Optimization with Apache Kafka
PDF
Confluent REST Proxy and Schema Registry (Concepts, Architecture, Features)
PDF
Architecture patterns for distributed, hybrid, edge and global Apache Kafka d...
PDF
Choose Right Stream Storage: Amazon Kinesis Data Streams vs MSK
PDF
Top 5 Event Streaming Use Cases for 2021 with Apache Kafka
PDF
Fast Data – Fast Cars: Wie Apache Kafka die Datenwelt revolutioniert
PDF
Building a real-time data processing pipeline using Apache Kafka, Kafka Conne...
PDF
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
PDF
Kai Waehner [Confluent] | Real-Time Streaming Analytics with 100,000 Cars Usi...
PDF
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
PDF
Hybrid Kafka, Taking Real-time Analytics to the Business (Cody Irwin, Google ...
PDF
Processing Real-Time Data at Scale: A streaming platform as a central nervous...
PDF
Confluent Cloud for Apache Kafka® | Google Cloud Next ’19
PDF
Apache Kafka® and Analytics in a Connected IoT World
PDF
Real time data processing and model inferncing platform with Kafka streams (N...
PPTX
A guide through the Azure Messaging services - Update Conference
PDF
Streaming Machine Learning with Python, Jupyter, TensorFlow, Apache Kafka and...
PDF
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
PDF
Concepts and Patterns for Streaming Services with Kafka
KSQL – An Open Source Streaming Engine for Apache Kafka
Supply Chain Optimization with Apache Kafka
Confluent REST Proxy and Schema Registry (Concepts, Architecture, Features)
Architecture patterns for distributed, hybrid, edge and global Apache Kafka d...
Choose Right Stream Storage: Amazon Kinesis Data Streams vs MSK
Top 5 Event Streaming Use Cases for 2021 with Apache Kafka
Fast Data – Fast Cars: Wie Apache Kafka die Datenwelt revolutioniert
Building a real-time data processing pipeline using Apache Kafka, Kafka Conne...
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
Kai Waehner [Confluent] | Real-Time Streaming Analytics with 100,000 Cars Usi...
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
Hybrid Kafka, Taking Real-time Analytics to the Business (Cody Irwin, Google ...
Processing Real-Time Data at Scale: A streaming platform as a central nervous...
Confluent Cloud for Apache Kafka® | Google Cloud Next ’19
Apache Kafka® and Analytics in a Connected IoT World
Real time data processing and model inferncing platform with Kafka streams (N...
A guide through the Azure Messaging services - Update Conference
Streaming Machine Learning with Python, Jupyter, TensorFlow, Apache Kafka and...
Telco 4.0 - Payment and FinServ Integration for Data in Motion with 5G and Ap...
Concepts and Patterns for Streaming Services with Kafka
Ad

Similar to One Kubernetes to rule them all (ZEUS 2019 Keynote) (20)

PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
PDF
Running and Managing Kubernetes on OpenStack
PDF
AKS: k8s e azure
PPTX
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
PPTX
Aks: k8s e azure
PPTX
Kubernetes: A Top Notch Automation Solution
PDF
Kubernetes Up And Running Dive Into The Future Of Infrastructure 2nd Brendan ...
PPTX
KubernetesPPT.pptx
DOCX
Mastering Kubernetes_ The Ultimate Guide for Modern DevOps.docx
PPTX
Kubernetes Introduction
PPTX
Kubernetes Intro @HaufeDev
PDF
Kubernetes Basics - ICP Workshop Batch II
PPTX
Why kubernetes matters
PDF
A Deeper Look Into How Kubernetes Works.pdf
PDF
DevOps in AWS with Kubernetes
PPTX
Kubernetes: від знайомства до використання у CI/CD
PDF
From CoreOS to Kubernetes and Concourse CI
PPTX
Simplify Your Way To Expert Kubernetes Management
PDF
Craig Box (Google) - The road to Kubernetes 1.0
PDF
Kubernetes in Action First Edition Marko Luksa
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
Running and Managing Kubernetes on OpenStack
AKS: k8s e azure
TRAINING_ABOUT_KUBERNETES_Nguyen_Si_Nhan.pptx
Aks: k8s e azure
Kubernetes: A Top Notch Automation Solution
Kubernetes Up And Running Dive Into The Future Of Infrastructure 2nd Brendan ...
KubernetesPPT.pptx
Mastering Kubernetes_ The Ultimate Guide for Modern DevOps.docx
Kubernetes Introduction
Kubernetes Intro @HaufeDev
Kubernetes Basics - ICP Workshop Batch II
Why kubernetes matters
A Deeper Look Into How Kubernetes Works.pdf
DevOps in AWS with Kubernetes
Kubernetes: від знайомства до використання у CI/CD
From CoreOS to Kubernetes and Concourse CI
Simplify Your Way To Expert Kubernetes Management
Craig Box (Google) - The road to Kubernetes 1.0
Kubernetes in Action First Edition Marko Luksa
Ad

Recently uploaded (20)

PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Odoo POS Development Services by CandidRoot Solutions
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Introduction to Artificial Intelligence
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
System and Network Administration Chapter 2
PDF
AI in Product Development-omnex systems
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PTS Company Brochure 2025 (1).pdf.......
Odoo POS Development Services by CandidRoot Solutions
Operating system designcfffgfgggggggvggggggggg
How to Choose the Right IT Partner for Your Business in Malaysia
Introduction to Artificial Intelligence
VVF-Customer-Presentation2025-Ver1.9.pptx
Design an Analysis of Algorithms I-SECS-1021-03
How Creative Agencies Leverage Project Management Software.pdf
ISO 45001 Occupational Health and Safety Management System
Materi-Enum-and-Record-Data-Type (1).pptx
Which alternative to Crystal Reports is best for small or large businesses.pdf
Digital Strategies for Manufacturing Companies
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Upgrade and Innovation Strategies for SAP ERP Customers
2025 Textile ERP Trends: SAP, Odoo & Oracle
Design an Analysis of Algorithms II-SECS-1021-03
System and Network Administration Chapter 2
AI in Product Development-omnex systems
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Lecture 3: Operating Systems Introduction to Computer Hardware Systems

One Kubernetes to rule them all (ZEUS 2019 Keynote)

  • 1. One Kubernetes to rule them all Simon Harrer Tammo van Lessen 2019-02-15
 BAYREUTH / ZEUS 2019 Photo by Maximilian Weisbecker on Unsplash
  • 2. The only slide about • When you start, you can choose the laptop and phone you want. • When you need something (mouse, book, etc.), just order it through the company Amazon account. • The whole company meet every two months for two to three days for an internal conference. https://www.innoq.com/en/culture/working-at-innoq/
  • 3. One Kubernetes to rule them all • Why Kubernetes? • eCommerce Project • Industrial IoT Project • Where will Kubernetes be tomorrow? • How can Kubernetes help you?
  • 5. Dependencies are the root of all evil • Software dependencies (leftpad, cryptominer) • Accept code duplication • Service/Team dependencies (canonical user service) • Accept data duplication • Operations dependencies (operations department) • Accept “you build, you run it”
  • 6. It’s all about independence • Vertical Architecture • Cross-functional teams building microservices • Minimal dependencies to other verticals • Favour data redundancy over runtime dependencies • Self-Service Everywhere • Get everything with Credit Card + API Call • Everything as Code
  • 7. Containers are the Entry Ticket • Container package services with their runtime in a portable, reproducible, and sharable way • Applications consists of multiple services, each service is packaged in its own container • is the de facto standard
  • 8. Kubernetes is the cloud OS • DevOps Team builds applications as set of Docker images • DevOps Team declaratively specifies the runtime as code • DevOps Team tells Kubernetes their runtime specification • Kubernetes manages the application • Load balancing, zero-downtime, logging, metrics, auto- scaling, self-healing, [put-buzz-word-here]
  • 13. Desired State Management Photo by Marek Szturc on Unsplash
  • 14. Desired State • Replicas = 1 • Automated restarts and zero-downtime • Replicas = 3 • Load balancing • Replicas = $n • Auto-scaling with horizontal pod autoscaler
  • 15. History • 2005 Googles Borg • 2014 Google Container Engine provides K8S • 2015 Google donates K8S to CNCF • 2016 Pokemon Go Launch • 2017 Azure provides K8S • 2018 AWS provides K8S :-) • 2018-12 KubeCon 8K Devs
  • 17. eCommerce Project • What are we doing? • Order management and stock keeping • Why we use Kubernetes? • Mainly for self-service, Infrastructure as Code, and vendor independence • And a little bit of load-balancing, self-healing, and scaling (black friday)
  • 20. Industrial IoT Project • What are we doing? • IoT ingestion pipeline for refrigeration control systems • Webapp for Management/Monitoring • Platform platform for food retailing • Why we use Kubernetes? • Vendor independence, enabling dynamic growth (up to 10k supermarkets), infrastructure as code, zero- downtime deployments, load-balancing, self-healing.
  • 21. Ingestion Pipeline CI/Virtus MQTT BrokerMarket Device Content Enricher Alarm Importer Component Importer Time Series Importer TSDB Alarm DB Component DB Web Backend Web/APIWeb/APIWeb/API
  • 22. How do we use Kubernetes? • Managed K8s (Azure AKS) • Dev and QA in one cluster with namespace per env • Provisioning: terraform, shell scripts, Helm, K8s manifests, Open Service Broker API for Azure • Inside K8s: Spring Boot & Akka microservices, HiveMQ, Kafka, InfluxDB, Prometheus/Grafana, NGINX, HAProxy, Hydra (OIDC) • Outside K8s: PostgreSQL for Azure, Azure Container Insights, Gitlab CI (CI/CD)
  • 23. Where will Kubernetes be tomorrow?
  • 24. Stateful Microservices Running
 Inside K8s Running
 Outside K8s Provisioning
 Outside K8s PostgreSQL Docker Image as Pod Managed PostgreSQL From Cloud Provider Provisioning
 Through K8s Operator Pattern Open Service Broker API
  • 25. Service Mesh is the new ESB • Services fulfil functional requirements • Service Mesh fulfil nonfunctional requirements • Routing (A/B testing, canary deployments) • Monitoring (metrics, logs, traces) • Resilience (circuit breakers, timeouts, retries) • Security (authentication, authorisation, encryption)
  • 26. Serverless on Kubernetes • Scale to Zero • Request proxy scales replicas (even to 0) • Challenge is down/upscaling nodes (time to node = 5min) • Functions as a Service on K8s • Function runtime deployed as container in K8s • Execute functions on those auto-scaled runtimes • No vendor-lock in
  • 27. Going All-in on Kubernetes • Continuous Integration and Deployment in Kubernetes • For every commit or pull request • Build, test, and run in Kubernetes • Operator Pattern FTW! • You can even run your Gitlab in Kubernetes :-)
  • 28. How can Kubernetes help you?
  • 29. Kubernetes for Research • Reproducible research is a challenge • Publish Docker container and Kubernetes manifest of your experiment or prototype • Getting compute resources from University data centres can be (read: is) cumbersome • Test in local cluster (e.g. minikube) • Use credit card for managed K8s (pay CPU/s)
  • 30. One Kubernetes to rule them all Simon Harrer 
 Tammo van Lessen 2019-02-15
 BAYREUTH / ZEUS 2019 Photo by Maximilian Weisbecker on Unsplash Thank You! 
 Questions?