SlideShare a Scribd company logo
© Copyright 2018 Pivotal Software, Inc. All rights Reserved. Version 1.0
6 Things You Need to Know to
Safely Run Kubernetes
Cornelia Davis
Vice President, Technology, Pivotal
April 2019
Cover w/ Image
Me?
Developer (wasn’t Ops)
Web architectures for >10 years
Cloud-native for 6+ years
Cloud Foundry for 6+ years
Discount code 40% off!: 40cloudnat
https://www.manning.com/books/cloud-native-patterns
@cdavisafc
❤
💕
💕
💕
❤
❤
💕
🌈
🦋
6 Things You Need to Know to Safely Run Kubernetes
Let’s have a
look at some
things you
need to get
right…
#1 - Soft Multi-tenancy
K8s Cluster Kubernetes Master
Kubernetes Master
API Server Controller Manager
DNS Scheduler …
…
Kubernetes Master
API Server Controller Manager
DNS Scheduler …
Kubelet Kube Proxy Kubelet Kube Proxy
Kubernetes Master
API Server Controller Manager
DNS Scheduler …
Namespace 1:
Kubelet Kube Proxy Kubelet Kube Proxy
Namespace 2:
These are all shared components
That are not
namespace aware!!!
Kubernetes Master
API Server Controller Manager
DNS Scheduler …
Namespace 1:
Kubelet Kube Proxy Kubelet Kube Proxy
Namespace 2:
Limitations:
● Noisy neighbors (workloads can affect
other tenants)
● Tenants share the same network
● Tenants share DNS
● Tenants share Configuration
● …
https://blog.jessfraz.com/post/hard-multi-tenancy-in-kubernetes/
Kubernetes Master
API Server Controller Manager
DNS Scheduler …
Namespace 1:
Kubelet Kube Proxy Kubelet Kube Proxy
Namespace 2:
The suggestion: Give each tenant
their own set of K8s controller
components.
Kubernetes Master
API Server
Controller Manager DNS
Scheduler
Kubelet Kube Proxy Kubelet Kube Proxy
Tenant 1:
Kubernetes Master
API Server
Controller Manager DNS
Scheduler
Kubelet Kube Proxy Kubelet Kube Proxy
Tenant 2:
Leverage 20
years of maturity
in hypervisor-
based security!
Multi-cluster
https://content.pivotal.io/blog/kubernetes-one-cluster-or-many
#2 - Cloud-native Cluster Management
Kubernetes Takes Care of Your Workloads
Image Cache
etcd
K8s Master
Worker Worker Worker
Kubernetes
Scheduler
Desired
State
Actual
State
Replica Set Controller
LoadBalancer
But who is taking care of your
Kubernetes?
VMs are Monitored
IaaSBOSH
Worker
AGENT
Master
AGENT
etcd
AGENT
Message Bus
Health Monitor
Responses:
pager
email
monitoring
ressurector
…
BOSH Director
Desired State Actual State
Message Bus
VMs are Monitored
IaaSBOSH
Worker
AGENT
Master
AGENT
etcd
AGENT
Message Bus
Health Monitor
Responses:
pager
email
monitoring
ressurector
…
BOSH Director
Desired State Actual State
Worker
AGENT
etcd
AGENT
BOSH Director
Message Bus
VMs are Monitored
IaaSBOSH
Worker
AGENT
Master
AGENT
etcd
AGENT
Message Bus
Health Monitor
Responses:
pager
email
monitoring
ressurector
…
BOSH Director
Desired State Actual State
CPI
BOSH Director
Message Bus
Worker
AGENT
etcd
AGENT
PKS does for your Kubernetes
what
Kubernetes does for your apps
#3 - Who are Your Personas?
Teams Delivering Outcomes
Platform Team
Application Team
Iteratively building and
delivering digital offerings
to the consumer
Enabling the app teams all
while maintaining
Security
Compliance
Resilience
Cost Efficiency
Your Application
Code
Virtualized
Infrastructure
6 Things You Need to Know to Safely Run Kubernetes
Warning!!!
kubectl delete deploy kubectl delete node
This is workload related. This is cluster related!
#4 - Stateful Services?
https://twitter.com/kelseyhightower/status/963413508300812295
But a even more has happened since then!
Kubernetes Master
Stateless workloads:
● Can be moved around
● Aided by service discovery
● Don’t have a particular
start order
● Bind to backing services
for state
Kubernetes Master
Kubernetes Master
Stateful workloads:
● Start order dependencies
● Storage
%
&
%
&
Kubernetes Master
Stateful workloads:
● Start order dependencies
● Storage
Kubernetes abstractions:
● Stateful sets
● Persistent volumes/persistent volume claims
%
&
%
&
Kubernetes Master
Stateful workloads:
● Start order dependencies
● Storage
Kubernetes abstractions:
● Stateful sets
● Persistent volumes/persistent volume claims
%
&
%
&
Warning!!!
Availability
Zone 1
Availability
Zone2
? ?
Storage classes have
different behaviors
Data replication needs to
be handled out of band
#5 - K8s is K8s is K8s - right?
(Spoiler alert: Nope)
https://twitter.com/kelseyhightower/status/935252923721793536
You are probably doing multi-cloud
kubectl
PKS AKS GKE EKS
Kubernetes Master
API Server Controller Manager
DNS Scheduler …
…
There are 150 flags
you can set on
startup
There are many
different controllers
that affect workload
behaviors
Your chosen machine
types can affect your
workloads (i.e. standard
CPU vs. GPU)
Cluster addons affect
your workloads
You are probably doing multi-cloud
kubectl
PKS AKS GKE EKS
Different cluster configurations -> Different workload behaviors
6 Things You Need to Know to Safely Run Kubernetes
You are probably doing multi-cloud
kubectl
PKS PKS PKS PKS
Same cluster configurations across all clouds
#6 - New Operational Practices
You are probably doing multi-cloud
kubectl
PKS AKS GKE EKS
pks az gcloud aws
4 times the:
- Skills
- Scripts
- Runbooks
- …
Where should the abstractions lie?
kubectl
PKS PKS PKS PKS
pks pks pks pks
https://content.pivotal.io/blog/happy-monday-how-to-fix-a-kubernetes-cve-before-your-boss-and-the-rest-of-the-world-reads-about-it
Embedded OS
(Windows & Linux)
NSX-T
CPI (15 methods)
v1
v2
v3
...
CVEs
Product Updates
vSphere
Azure & 

Azure StackGoogle CloudAWSOpenstack
Pivotal

Network
“3Rs”
Concourse
Repair
— CVEs
Repave Rotate
— Credhub
Pivotal Application
Service (PAS)
Pivotal Container
Service (PKS)
Pivotal Services

Marketplace
Pivotal Function
Service (PFS)
Do you trust your software
delivery supply chain?
https://www.youtube.com/watch?v=1qcTu2QUtrU
6 Things You Need to Know to Safely Run Kubernetes
Slaying
Dragons
Slaying Dragons
1. Think about your tenancy needs
2.You need something to take care of your Kubernetes clusters
3.Great care needed in establishing roles and permissions
4.Stateful workloads work - need to be deliberate about persistence
5.There is no such thing as “Vanilla Kubernetes”
6.Establish new operational practices
Transforming How The World Builds Software
© Copyright 2017 Pivotal Software, Inc. All rights Reserved.
Cover w/ Image
Me?
Developer (wasn’t Ops)
Web architectures for >10 years
Cloud-native for 6+ years
Cloud Foundry for 6+ years
Discount code 40% off!: 40cloudnat
https://www.manning.com/books/cloud-native-patterns
@cdavisafc

More Related Content

PDF
You Might Just be a Functional Programmer Now
PDF
Pivotal Cloud Foundry 2.5: A First Look
PDF
Zero-downtime deployment of Micro-services with Kubernetes
PDF
PCF: Platform for a New Era - Kubernetes for the Enterprise - London
PDF
Pivotal Cloud Foundry 2.0: First Look
PDF
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
PDF
Kubernetes: one cluster or many
PPTX
Building Developer Pipelines with PKS, Harbor, Clair, and Concourse
You Might Just be a Functional Programmer Now
Pivotal Cloud Foundry 2.5: A First Look
Zero-downtime deployment of Micro-services with Kubernetes
PCF: Platform for a New Era - Kubernetes for the Enterprise - London
Pivotal Cloud Foundry 2.0: First Look
Kubernetes Docker Container Implementation Ppt PowerPoint Presentation Slide ...
Kubernetes: one cluster or many
Building Developer Pipelines with PKS, Harbor, Clair, and Concourse

What's hot (20)

PDF
Kube Your Enthusiasm - Paul Czarkowski
PPTX
Basics of Kubernetes on BOSH: Run Production-grade Kubernetes on the SDDC
PDF
Helm - Package Manager for Kubernetes
PDF
Cloud Native Microservices with Spring Cloud
PDF
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
PPTX
What is Windows Azure Platform
PPTX
12 Factor App
PDF
Spring Boot Observability
PDF
쿠버네티스를 이용한 기능 브랜치별 테스트 서버 만들기 (GitOps CI/CD)
PDF
Intro to GKE and app deployment with Kubernetes
PDF
Welcome - Kubernetes for the Enterprise - London
PDF
Weave GitOps Core Overview (Free GitOps Workshop)
PDF
PCF Cloud-Native Workshop Slides
PDF
Getting MongoDB to a Developer Fast - Kubernetes for the Enterprise - London
PPTX
Delivering Cloud Native Batch Solutions - Dodd Pfeffer
PPTX
Kubernetes: від знайомства до використання у CI/CD
PPTX
Going Serverless with Kubeless In Google Container Engine (GKE)
PPTX
Microservices with kubernetes @190316
PDF
Kubernetes Multi-cluster without Federation - Kubecon EU 2018
PDF
What’s New in Spring Data MongoDB
Kube Your Enthusiasm - Paul Czarkowski
Basics of Kubernetes on BOSH: Run Production-grade Kubernetes on the SDDC
Helm - Package Manager for Kubernetes
Cloud Native Microservices with Spring Cloud
Pivotal Container Service (PKS) at SF Cloud Foundry Meetup
What is Windows Azure Platform
12 Factor App
Spring Boot Observability
쿠버네티스를 이용한 기능 브랜치별 테스트 서버 만들기 (GitOps CI/CD)
Intro to GKE and app deployment with Kubernetes
Welcome - Kubernetes for the Enterprise - London
Weave GitOps Core Overview (Free GitOps Workshop)
PCF Cloud-Native Workshop Slides
Getting MongoDB to a Developer Fast - Kubernetes for the Enterprise - London
Delivering Cloud Native Batch Solutions - Dodd Pfeffer
Kubernetes: від знайомства до використання у CI/CD
Going Serverless with Kubeless In Google Container Engine (GKE)
Microservices with kubernetes @190316
Kubernetes Multi-cluster without Federation - Kubecon EU 2018
What’s New in Spring Data MongoDB
Ad

Similar to 6 Things You Need to Know to Safely Run Kubernetes (20)

PPTX
Episode 2: Deploying Kubernetes at Scale
PDF
Cloud-Native Operations with Kubernetes and CI/CD
PPTX
Pivotal Container Service Overview
PDF
PKS: The What and How of Enterprise-Grade Kubernetes
PDF
Kubermatic.pdf
PDF
Kubermatic CNCF Webinar - start.kubermatic.pdf
PDF
Where should I run my code? Serverless, Containers, Virtual Machines and more
PDF
Rancher Rodeo 13 mai 2022
PDF
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
PDF
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
PDF
1. CNCF kubernetes meetup - Ondrej Sika
PDF
Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)
PDF
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
PPTX
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
PDF
Rancher Rodeo
PDF
'DOCKER' & CLOUD: ENABLERS For DEVOPS
PDF
Docker and Cloud - Enables for DevOps - by ACA-IT
PDF
Kubernetes at Google Cloud Community Copenhagen
PDF
AWS 고객사를 위한 ‘AWS 컨테이너 교육’ - 유재석, AWS 솔루션즈 아키텍트
PPTX
Operating Kubernetes at Scale (Australia Presentation)
Episode 2: Deploying Kubernetes at Scale
Cloud-Native Operations with Kubernetes and CI/CD
Pivotal Container Service Overview
PKS: The What and How of Enterprise-Grade Kubernetes
Kubermatic.pdf
Kubermatic CNCF Webinar - start.kubermatic.pdf
Where should I run my code? Serverless, Containers, Virtual Machines and more
Rancher Rodeo 13 mai 2022
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
Kubo (Cloud Foundry Container Platform): Your Gateway Drug to Cloud-native
1. CNCF kubernetes meetup - Ondrej Sika
Amazon Container Services – 유재석 (AWS 솔루션즈 아키텍트)
AWS Container Services – 유재석 (AWS 솔루션즈 아키텍트)
GIDS 2019: Developing Apps with Containers, Functions and Cloud Services
Rancher Rodeo
'DOCKER' & CLOUD: ENABLERS For DEVOPS
Docker and Cloud - Enables for DevOps - by ACA-IT
Kubernetes at Google Cloud Community Copenhagen
AWS 고객사를 위한 ‘AWS 컨테이너 교육’ - 유재석, AWS 솔루션즈 아키텍트
Operating Kubernetes at Scale (Australia Presentation)
Ad

More from VMware Tanzu (20)

PDF
Spring into AI presented by Dan Vega 5/14
PDF
What AI Means For Your Product Strategy And What To Do About It
PDF
Make the Right Thing the Obvious Thing at Cardinal Health 2023
PPTX
Enhancing DevEx and Simplifying Operations at Scale
PDF
Spring Update | July 2023
PPTX
Platforms, Platform Engineering, & Platform as a Product
PPTX
Building Cloud Ready Apps
PDF
Spring Boot 3 And Beyond
PDF
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
PDF
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
PDF
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
PPTX
tanzu_developer_connect.pptx
PDF
Tanzu Virtual Developer Connect Workshop - French
PDF
Tanzu Developer Connect Workshop - English
PDF
Virtual Developer Connect Workshop - English
PDF
Tanzu Developer Connect - French
PDF
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
PDF
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
PDF
SpringOne Tour: The Influential Software Engineer
PDF
SpringOne Tour: Domain-Driven Design: Theory vs Practice
Spring into AI presented by Dan Vega 5/14
What AI Means For Your Product Strategy And What To Do About It
Make the Right Thing the Obvious Thing at Cardinal Health 2023
Enhancing DevEx and Simplifying Operations at Scale
Spring Update | July 2023
Platforms, Platform Engineering, & Platform as a Product
Building Cloud Ready Apps
Spring Boot 3 And Beyond
Spring Cloud Gateway - SpringOne Tour 2023 Charles Schwab.pdf
Simplify and Scale Enterprise Apps in the Cloud | Boston 2023
Simplify and Scale Enterprise Apps in the Cloud | Seattle 2023
tanzu_developer_connect.pptx
Tanzu Virtual Developer Connect Workshop - French
Tanzu Developer Connect Workshop - English
Virtual Developer Connect Workshop - English
Tanzu Developer Connect - French
Simplify and Scale Enterprise Apps in the Cloud | Dallas 2023
SpringOne Tour: Deliver 15-Factor Applications on Kubernetes with Spring Boot
SpringOne Tour: The Influential Software Engineer
SpringOne Tour: Domain-Driven Design: Theory vs Practice

Recently uploaded (20)

PPT
Teaching material agriculture food technology
PPTX
A Presentation on Artificial Intelligence
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
KodekX | Application Modernization Development
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Big Data Technologies - Introduction.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Electronic commerce courselecture one. Pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
Teaching material agriculture food technology
A Presentation on Artificial Intelligence
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Reach Out and Touch Someone: Haptics and Empathic Computing
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Chapter 3 Spatial Domain Image Processing.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
KodekX | Application Modernization Development
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation_ Review paper, used for researhc scholars
Network Security Unit 5.pdf for BCA BBA.
Big Data Technologies - Introduction.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Monthly Chronicles - July 2025
Electronic commerce courselecture one. Pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx

6 Things You Need to Know to Safely Run Kubernetes