SlideShare a Scribd company logo
Automating Kubernetes Cluster
Operations with Operators
by Timo Derstappen
Running Kubernetes in Kubernetes
What this talk is about
Provisioning Kubernetes Clusters
Advanced usage of Kubernetes
What this talk is not about
Intro to Kubernetes
How to build cloud native applications
Overview
1. Background / Motivation
2. Architecture
3. Operators
4. Outlook
Background
We manage Kubernetes clusters for customers 24/7.
Both on bare metal and in the cloud.
Kubernetes as a Service (KaaS)
Own DC in Frankfurt, Germany
AWS (Azure and Google next)
Full access to clusters
On-premises KaaS
We also manage Kubernetes in the DCs or AWS accounts of
the customers itself.
Open Source
Our tooling is open-source and we are working with the
community to improve kubernetes operations.
Multiple Clusters
"Soft" multi-tenancy not enough in enterprise context
Different service classifications
Different environments: separation of dev, test, prod
Test tooling on new K8s versions
People must come to things in their
own time, in their own way, for their
own reasons, or they never truly come
at all. - Dee Hock
RBAC, NetworkPolicies FTW
We encourage to use these features and help with
integration.
Small clusters make little sense
Support while processes need to be adapted
Kubernetes matures - trust over time
Introducing:
Giantnetes
Motivation
Rather obvious. If you provide others with Kubernetes you
would like to use the same concepts within your product as
well.
De nition
G8s: Giantnetes
K8s: Kubernetes == Guest cluster
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
Overview
1. Background / Motivation
2. Architecture
3. Operators
4. Outlook
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
Why are we doing this again?
Fully automate a powerful container platform
Take away complexity of distributed applications from the
developers
Immutability
CoreOS (Hosts and Guests)
Continuous pipeline (Container build, registry, kubernetes)
Reproducable builds and
deployments at any point in time
Every manual change is ephemeral
Mean time to recovery!
Networking
Flannel/VPC network between guest cluster nodes
Calico between containers
Network policy controller
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
Certi cates
Each cluster has its own root ca
Using PKI backends in Vault
Certificates are rotated every day
Certi cates #2
Kubernetes components use mutual TLS
Client certificates are used for RBAC
Overview
1. Background / Motivation
2. Architecture
3. Operators
4. Outlook
Iterations of the platform
1. K8s clusters via systemd units over fleet
2. K8s manifests to create K8s clusters used as templates
3. Writing operators
Operators
Codify all operational tasks
Manage desired state
Third-Party Resources
Easily extend the Kubernetes API
KVM operator
Create k8s clusters on bare-metal via KVM based on a TPR
AWS operator
Create k8s clusters on AWS based on a TPR
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen
The Cluster TPR de nes
Kubernetes configuration/version
Ingress configuration/version
Network configuration
Master/Node configurations
The Cert TPR de nes
TTL
Common Name
SANs
Cluster / Component
Overview
1. Background / Motivation
2. Architecture
3. Operators
4. Outlook
Micro Operators
Operators should have single responsibilities.
Keep them simple and maintainable
Operatorkit
Our services are based upon microkit. We would like to
reduce boilerplate in our operators and collect them in a
library called operatorkit.
Self-hosted
Having Giantnetes and all guest clusters running self-hosted
will further ease the lifecycle management of the clusters.
Thank you.
Timo Derstappen
@teemow

More Related Content

PPTX
Introduction to container mangement
PPTX
PDF
Monitoring Cockpit for OpenShift Clusters
PDF
Introducing Kubestr - A New Way to Explore Your Kubernetes Storage Options
PPTX
Working with kubernetes
PPTX
Canary Releases on Kubernetes w/ Spinnaker, Istio, and Prometheus
PDF
DockerCon EU 2015: Production Ready Containers from IBM and Docker
PPTX
Docker - Build, Ship and Run Any App, Anywhere Hollywood edition
Introduction to container mangement
Monitoring Cockpit for OpenShift Clusters
Introducing Kubestr - A New Way to Explore Your Kubernetes Storage Options
Working with kubernetes
Canary Releases on Kubernetes w/ Spinnaker, Istio, and Prometheus
DockerCon EU 2015: Production Ready Containers from IBM and Docker
Docker - Build, Ship and Run Any App, Anywhere Hollywood edition

What's hot (19)

PDF
Kubernetes 101
PDF
Containers and OpenStack - A Happy Marriage - Madhuri - Intel - CC18
PDF
Aks pimarox from zero to hero
PDF
Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A...
PDF
Cost-effective Compute Clusters with Spot and Pre-emptible Instances - KubeCo...
PPTX
Top 5 Considerations for Successful Deployment of Kubernetes
PDF
Service Mesh For Beginner
PDF
Kubernetes-Native DevOps: For Apache Kafka® with Confluent
PPTX
Lugano Tech Talks - Why Docker
PDF
Gentle introduction to containers and kubernetes
PDF
KURMA - A Containerized Container Platform - KubeCon 2016
PDF
All roads lead to the cloud
PDF
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
PPTX
Using Containers and HPC to Solve the Mysteries of the Universe by Deborah Bard
PPTX
Containers kuberenetes
PPTX
Keeping your Kubernetes Cluster Secure
PDF
Application Deployment and Management at Scale with 1&1 by Matt Baldwin
PPTX
Why kubernetes
PPTX
Application Portability with Kubernetes (k8)
Kubernetes 101
Containers and OpenStack - A Happy Marriage - Madhuri - Intel - CC18
Aks pimarox from zero to hero
Autoscaling Docker Containers by Konstantinos Faliagkas, Docker Birthday #3 A...
Cost-effective Compute Clusters with Spot and Pre-emptible Instances - KubeCo...
Top 5 Considerations for Successful Deployment of Kubernetes
Service Mesh For Beginner
Kubernetes-Native DevOps: For Apache Kafka® with Confluent
Lugano Tech Talks - Why Docker
Gentle introduction to containers and kubernetes
KURMA - A Containerized Container Platform - KubeCon 2016
All roads lead to the cloud
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
Using Containers and HPC to Solve the Mysteries of the Universe by Deborah Bard
Containers kuberenetes
Keeping your Kubernetes Cluster Secure
Application Deployment and Management at Scale with 1&1 by Matt Baldwin
Why kubernetes
Application Portability with Kubernetes (k8)
Ad

Similar to OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen (20)

PDF
Running Kubernetes in Kubernetes
PPTX
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
PPTX
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
PDF
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
PDF
Kubernetes Basics - ICP Workshop Batch II
PPTX
KubernetesPPT.pptx
PPTX
Containers kuberenetes
PDF
Managing containers at scale
PPTX
Container Orchestration using kubernetes
PPTX
Intro to kubernetes
PPTX
Kubernetes: від знайомства до використання у CI/CD
PDF
Docker Online Training | Kubernetes Training in Ameerpet
PDF
Containers kuberenetes
PPTX
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
DOCX
Mastering Kubernetes_ The Ultimate Guide for Modern DevOps.docx
PPTX
01. Kubernetes-PPT.pptx
PDF
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
PDF
The Kubernetes Certification - Docker and Kubernetes Course.pdf
PPTX
Kubernetes_101_Zero_to_Platform_Engineer.pptx
PDF
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Running Kubernetes in Kubernetes
Kubernetes on on on on on on on on on on on on on on Azure Deck.pptx
01 - VMUGIT - Lecce 2018 - Fabio Rapposelli, VMware
Building Cloud-Native Applications with Kubernetes, Helm and Kubeless
Kubernetes Basics - ICP Workshop Batch II
KubernetesPPT.pptx
Containers kuberenetes
Managing containers at scale
Container Orchestration using kubernetes
Intro to kubernetes
Kubernetes: від знайомства до використання у CI/CD
Docker Online Training | Kubernetes Training in Ameerpet
Containers kuberenetes
Secure Your Containers: What Network Admins Should Know When Moving Into Prod...
Mastering Kubernetes_ The Ultimate Guide for Modern DevOps.docx
01. Kubernetes-PPT.pptx
04_Azure Kubernetes Service: Basic Practices for Developers_GAB2019
The Kubernetes Certification - Docker and Kubernetes Course.pdf
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes: https://youtu.be/KnjnQj-FvfQ
Ad

Recently uploaded (20)

PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Digital Strategies for Manufacturing Companies
PPTX
history of c programming in notes for students .pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
Softaken Excel to vCard Converter Software.pdf
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PTS Company Brochure 2025 (1).pdf.......
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Odoo POS Development Services by CandidRoot Solutions
Digital Strategies for Manufacturing Companies
history of c programming in notes for students .pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
wealthsignaloriginal-com-DS-text-... (1).pdf
Nekopoi APK 2025 free lastest update
How to Choose the Right IT Partner for Your Business in Malaysia
Design an Analysis of Algorithms I-SECS-1021-03
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Odoo Companies in India – Driving Business Transformation.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Operating system designcfffgfgggggggvggggggggg
2025 Textile ERP Trends: SAP, Odoo & Oracle
L1 - Introduction to python Backend.pptx
Transform Your Business with a Software ERP System
Softaken Excel to vCard Converter Software.pdf

OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo Derstappen