SlideShare a Scribd company logo
Kubernetes: Managed or
Not Managed?
CNCF Meetup - February 2020
Mathieu Herbert
SRE Streamroot
@MathieuHerbert
Sébastien Charret
SRE Talend
@SCharret
Kubernetes: Managed or
Not Managed?
CNCF Meetup - February 2020
“ A long time ago
…”
January 2018
Context in 2018
Kubernetes: Managed or Not Managed?
“Can we move our
applications to
Kubernetes ?”
January 2018
How can we deploy K8S cluster ?
Kubernetes: Managed or Not Managed?
Kubernetes: Managed or Not Managed?
Kubernetes: Managed or Not Managed?
● still in early stage (2018)
● strong blocker due to major upgrade that needs to recreate the cluster
● Go based tool
● Big community
Kubespray
● Ansible role based
● Support multi-cloud provider
Kubespray - Github
Kubespray - customization
Kubespray - KISS (or not)
What needs to be done ?
ETCD
ETCD * 3
Kubespray
ETCD
ETCD * 3
Master * 3
API
Server
Scheduler
Controller
Manager
Kubespray
ETCD
ETCD * 3
Master * 3
API
Server
Scheduler
Controller
Manager
Worker * N
Kubelet Kube-proxy
Container
Engine
Pods
Kubespray
1 Deploy
2 Configure
VM
OS (Amazon centos AMI)
VM customization (SSH key)
Kubernetes component (kubespray)
Talend responsibility - ETCD
● Backup of the cluster state and procedure to restore it
● Node Rotation script for OS upgrade and ETCD Upgrade
○ Strategy: Rolling Update Node by Node
○ Critical!! Bunch of script to check the cluster status
Talend responsibility - Master nodes
● Load Balancing between 3 Master nodes
● Root Certificate Authority creation / Update / Backup
● Node Rotation, taking care that Kubespray is storing all the certificates on the
1st master (only)
○ Strategy: double the number of master nodes
○ Moving all the certificates from the 1st node to the new 1st node
○ Remove the old nodes
○ Be able to handle a restart from a checkpoint
Talend responsibility - Worker Nodes
● Procedure and script to remove one faulty Node
● Procedure to add new nodes (Manual scalability)
● Procedure to rotate all the nodes
○ Double the number of nodes
○ Moving all the pods from old nodes to new ones
○ Remove Old Nodes
○ Clean Calico database
Talend responsability - Cluster itself
● Update all components
○ Kubernetes
○ Calico
○ Kube-proxy
○ Kube-dns -> core DNS ….
○ ….
● Manage user creation based on certificate
● RBAC with groups (Dev / Admin)
Finally the apps
...
“Hey Guys! Good news we
need to upgrade
Kubernetes from 1.10 to
1.11 then to 1.12”
January 2019
Kubernetes: Managed or Not Managed?
Kubernetes: Managed or Not Managed?
Chill and let’s get back to Talend business
“Let’s move to managed
K8S and concentrate our
effort on the
applications”
January 2019
effort on the
application”
January 2019
State of the art of K8S deployment tools in 2019
EKS deployment
With terraform pretty simple… Master/ETCD part
EKS deployment
With terraform pretty simple… Workers part
What do we manage?
Network Layer
What do we manage?
Network Layer
What do we manage?
Network Layer
Worker
What do we manage ?
Network Layer
Autoscaling
Worker Worker Worker WorkerWorker
Shared Responsibility Model
Network Layer
Autoscaling
Worker Worker Worker Worker Worker
Who manage what
- Control plane upgrade / resiliency
- Worker upgrade
- IAM / RBAC
- SSL Certificate update (nodes)
EKS deployment
Quick cost comparison (monthly cost):
Kubespray:
● master = $219 (3*m4.Large)
● ETCD = $219 (3*m4.Large)
Total = $438
EKS:
● control plane = $144
Total = $144!!!
At talend we have roughly ~ 30 clusters, I let you imagine how happy were the manager...
Kubernetes: Managed or Not Managed?
EKS gain
● Less time on the cluster operation
● More time on monitoring, scalability, security …
● Growing community with lot of tool!
● AWS Support!
EKS pain
● Control plane black box
● Master logs are in cloudwatch erk!
● CM authentication is shitty (make mistake and your cluster will gone wild)
● Far behind the brand new feature brought by Kubernetes on premise
EKS: our Opinion
● Very easy to setup
● EKS platform is still evolving (GitHub AWS container roadmap is the place to
follow)
● Not fully managed (Try to change your subnet in place if you dare...)
Managed VS Not Managed
Managed Not Managed Comments
● Multi tenant clusters cannot be implemented by
managed clusters
Company business is
infrastructure
● From OS configuration to core-dns versionWants to manage
everything
● Less time on the infrastructure == More time on
the application layer (monitoring / scalability /
Resiliency)
Application focused
● The time to maintain its own cluster is hugeSmall Ops team
Current state
January 2020
Kubernetes: Managed or
Not Managed?
CNCF Meetup - February 2020

More Related Content

PPTX
REX: Cloud Native Apps on a K8S stack
PDF
Tooling Matters - Development tools
PDF
Spring Cloud Kubernetes
PDF
Neptue Graph Database - 0 to Production
PDF
Nextflow and AWS Batch - GCC/BOSC 2018
PDF
Cloud Native Java in Kubernetes
PDF
Serverless with Knative - Mete Atamel (Google)
PDF
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...
REX: Cloud Native Apps on a K8S stack
Tooling Matters - Development tools
Spring Cloud Kubernetes
Neptue Graph Database - 0 to Production
Nextflow and AWS Batch - GCC/BOSC 2018
Cloud Native Java in Kubernetes
Serverless with Knative - Mete Atamel (Google)
AWS Community Day Bangkok 2019 - How AWS Parallel Cluster can accelerate high...

What's hot (20)

PDF
Lessons Learned: Spring Cloud -> Docker -> Kubernetes
PDF
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, Puppet
PDF
Elasticsearch @ Keboola
PDF
How to share a Kubernetes cluster securely through Lens spaces
PDF
Cloud Native Islamabad - Getting Closer to Continuous Delivery with Knative
PDF
Knative Intro
PPTX
AWS Containerization
PDF
Handling Kubernetes Resources
PDF
Kubernetes Native Serverless solution: Kubeless
PPTX
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
PDF
The what, why and how of knative
PPTX
Kubernetes & Google Kubernetes Engine (GKE)
PPTX
Consul connect
PDF
Manage thousands of k8s applications with minimal efforts using kube carrier
PDF
Agile sre fly beyond the clouds olx core went aws- Wojciech Krysmann
PDF
Kubernetes Sealed secrets
PDF
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò Raspa
PDF
Kubernetes & Google Container Engine @ mabl
PDF
Firebase Cloud Functions: a quick overview
PDF
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
Lessons Learned: Spring Cloud -> Docker -> Kubernetes
PuppetConf 2017: Zero to Kubernetes -Scott Coulton, Puppet
Elasticsearch @ Keboola
How to share a Kubernetes cluster securely through Lens spaces
Cloud Native Islamabad - Getting Closer to Continuous Delivery with Knative
Knative Intro
AWS Containerization
Handling Kubernetes Resources
Kubernetes Native Serverless solution: Kubeless
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
The what, why and how of knative
Kubernetes & Google Kubernetes Engine (GKE)
Consul connect
Manage thousands of k8s applications with minimal efforts using kube carrier
Agile sre fly beyond the clouds olx core went aws- Wojciech Krysmann
Kubernetes Sealed secrets
Tu non puoi passare! Policy compliance con OPA Gatekeeper | Niccolò Raspa
Kubernetes & Google Container Engine @ mabl
Firebase Cloud Functions: a quick overview
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
Ad

Similar to Kubernetes: Managed or Not Managed? (20)

PDF
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
PPTX
Bootstrapping Clusters with EKS Blueprints.pptx
PDF
[GS네오텍] Google Kubernetes Engine
PDF
Free GitOps Workshop + Intro to Kubernetes & GitOps
PPTX
Container orchestration and microservices world
PDF
Using ansible to core os & kubernetes clusters
PDF
To Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
PPTX
Kubernetes for Beginners: An Introductory Guide
PDF
Heroku to Kubernetes & Gihub to Gitlab success story
PDF
Nugwc k8s session-16-march-2021
PDF
Intro to Kubernetes & GitOps Workshop
PPTX
Kubernetes 101
PDF
reBuy on Kubernetes
PPTX
Database as a Service (DBaaS) on Kubernetes
PDF
Bandwidth: Use Cases for Elastic Cloud on Kubernetes
PDF
How LogDNA Scaled Elasticsearch on Kubernetes
PPTX
Introduction to Container Storage Interface (CSI)
PPTX
OpenEBS hangout #4
PDF
Successful DevOps implementation for small teams a true story
PDF
Kubernetes - how to orchestrate containers
DevOps Days Boston 2017: Real-world Kubernetes for DevOps
Bootstrapping Clusters with EKS Blueprints.pptx
[GS네오텍] Google Kubernetes Engine
Free GitOps Workshop + Intro to Kubernetes & GitOps
Container orchestration and microservices world
Using ansible to core os & kubernetes clusters
To Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
Kubernetes for Beginners: An Introductory Guide
Heroku to Kubernetes & Gihub to Gitlab success story
Nugwc k8s session-16-march-2021
Intro to Kubernetes & GitOps Workshop
Kubernetes 101
reBuy on Kubernetes
Database as a Service (DBaaS) on Kubernetes
Bandwidth: Use Cases for Elastic Cloud on Kubernetes
How LogDNA Scaled Elasticsearch on Kubernetes
Introduction to Container Storage Interface (CSI)
OpenEBS hangout #4
Successful DevOps implementation for small teams a true story
Kubernetes - how to orchestrate containers
Ad

Recently uploaded (20)

PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
A comparative study of natural language inference in Swahili using monolingua...
DOCX
search engine optimization ppt fir known well about this
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PDF
Architecture types and enterprise applications.pdf
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Getting Started with Data Integration: FME Form 101
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Getting started with AI Agents and Multi-Agent Systems
PPT
What is a Computer? Input Devices /output devices
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
Enhancing emotion recognition model for a student engagement use case through...
A comparative study of natural language inference in Swahili using monolingua...
search engine optimization ppt fir known well about this
Univ-Connecticut-ChatGPT-Presentaion.pdf
Hindi spoken digit analysis for native and non-native speakers
Architecture types and enterprise applications.pdf
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Module 1.ppt Iot fundamentals and Architecture
Getting Started with Data Integration: FME Form 101
A novel scalable deep ensemble learning framework for big data classification...
Getting started with AI Agents and Multi-Agent Systems
What is a Computer? Input Devices /output devices
Taming the Chaos: How to Turn Unstructured Data into Decisions
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
NewMind AI Weekly Chronicles – August ’25 Week III
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
Assigned Numbers - 2025 - Bluetooth® Document

Kubernetes: Managed or Not Managed?