SlideShare a Scribd company logo
Centralizing Kubernetes and Container
Operations
Terry Shea| Kublr
History
• Custom software development company
• Dozens of projects per year
• Varying target environments: clouds, on-prem,
hybrid
• Recurring need for unified application delivery
and ops platform w/ monitoring, logs, security,
multiple env, ...
@kublr
Docker and Kubernetes to the Rescue
• Docker is great, but local
• Kubernetes is great... when it is up and running
• Who sets up and operates K8S clusters?
• Who takes care of operational aspects at scale?
• How do you provide governance and ensure
compliance?
@kublr
Applications and Architecture
Digital– Web/Mobile
Data Science & Machine
Learning
Video
Streaming
DigitalTransformation and
App Modernization
Hybrid Cloud
Multi-Cloud
Edge
Computing
Private
Cloud
Internet of
Things
Some Application Considerations
Data Science/AI/ML etc.
• Operators
• Spark
• Kafka
• Projects
• Kubeflow (note ksonnet deprecated)
• Jupyter K8s
• Specialized Hardware
• GPUs, TPUs, FPGAs (oh my!)
NFV/SDN
• ONAP
• Intel Multus CNI
Web/Mobile/Microservice Apps
• Service Meshes
• Istio, Linkerd
• Deployment Strategies
• Rolling, Canary, Blue-Green
Hybrid Apps
• App Scaling re: Back-end Resources
IOT/Edge Projects
• Eclipse Foundation
• KubeEdge (Huawei)
Enterprise Kubernetes Needs
Developers SRE/Ops/DevOps/SecOps
• Self-service
• Compatible
• Conformant
• Configurable
• Open & Flexible
• Org multi-tenancy
• Single pane of glass
• Operations
• Monitoring
• Log collection
• Image management
• Identity management
• Security
• Reliability
• Performance
• Portability
@kublr
@kublr
Automation
Ingress
Custom
Clusters
Infrastructure
Logging Monitoring
Observability
API
Usage
Reporting
RBAC IAM
Air Gap TLS
Certificate
Rotation
Audit
Storage Networking Container
Registry
CI / CD App Mgmt
Infrastructure
Container Runtime Kubernetes
OPERATIONS SECURITY &
GOVERNANCE
Central Control Plane: Operations
K8S Clusters
Cloud(s)
Data
center
API UI
Log collection
Operations
Monitoring
Authn and authz, SSO, federation
Audit Image Repo
Infrastructure management
Backup & DR
Dev
K8S API
Cloud API
Prod
PoC
Dev
@kublr
Central Control Plane: Operations
@kublr
Flexible Deployment for Security & Customization Requirements
Central Control Plane: Logs and Metrics
K8S Clusters
Cloud(s)
Data
center
API UI Operations
Authn and authz, SSO, federation
Image Repo
Infrastructure management
Backup & DR
Dev
K8S API
Cloud API
Prod
PoC
Dev
Log collection Monitoring
Audit
@kublr
K8S Monitoring with Prometheus
• Discover nodes, services, pods
via K8S API
• Query metrics from discovered
endpoints
• Endpoint are accessed directly
via internal cluster addresses
Kubernetes Cluster
Prometheus
Nodes
K8S API
Grafana
Pods
Discovery
Srv
Metrics
@kublr
Centralized Monitoring
Cluster registry
PROMETHEUSGrafana
K8S Proxy API
nodes, pods,
service endpoints
Ship externally
Ship externally
Prometheus
config
Prometheus
data
Configurator
Control plane
KUBERNETES CLUSTER
Prometheus
(collector)
Prometheus
(collector)
@kublr
Centralized Monitoring: Considerations
• Prometheus resource usage tuning
• Long-term storage (m3)
• Configuration file growth with many clusters
• Metrics labeling
• Additional load on API server
@kublr
Centralized Monitoring
@kublr
K8S Logging with Elasticsearch
• Fluentd runs on nodes
• OS, K8S, and container logs
collected and shipped to
Elasticsearch
• Kibana for visualization
Kubernetes Cluster
Elasticsearch
Kibana
Pods
Logs
@kublr
Prometheus
(collector)
RabbitMQ
Centralized Log Collection
Cluster registry
K8S Proxy API
Port
forwarding
MQTT
Ship externally
Messaging
config
Configurator
Control plane
RabbitMQ
Shovel
ElasticsearchLogstash
Fluentd
KUBERNETES CLUSTER
filter
filter analyze
Ship externally
MQTT
Forwarder
filter
@kublr
Centralized Log Collection: Considerations
• Tune Elasticsearch resource usage
• Take into account additional load on API server
• Log index structure normalization
{
"data": {
"elasticsearch": {
"version": "6.x"
}
}
}
{
"flatData": [
{
"key": "elasticsearch.version",
"type": "string",
"key_type": "elasticsearch.version.string",
"value_string": "6.x"
},
...
]
}
@kublr http://smnh.me/indexing-and-searching-arbitrary-json-data-using-elasticsearch/
The Rest: Considerations
• Identity management
Use Identity Broker (e.g. KeyCloak): Users, Authn, Autzn, SSO, RBAC,
• Backup and disaster recovery
K8s metadata + app data/volumes: full cluster recovery or copy
• Docker image management
Docker image registry (e.g. Nexus, Artifactory, Docker Hub);
image scanning;
air-gapped or isolated environment: image registries proxying and caching,
“system” images
@kublr
CI/CD projects at Kublr
• CircleCI Orb (coming soon)
• Keptn ( a Dynatrace open source project)
https://keptn.sh
• Canary Deployments with Istio and Spinaker
https://kublr.com/blog/hands-on-canary-deployments-with-istio-and-kubernetes/
Q&A
@kublr
Use Kublr for k8s POCs
kublr.com/deploy
Free non-production license.
Terry Shea
terry@kublr.com
Kublr | kublr.com
@kublr

More Related Content

PDF
Azure Pipeline
PDF
Cncf kanister.pptx
PDF
Data protection in a kubernetes-native world
PDF
Cloud to Edge
PDF
Google Cloud Platform Tutorial | GCP Fundamentals | Edureka
PPTX
Gdsc muk - innocent
PDF
Delivering-Off-The-Shelf Software with Kubernetes- November 12, 2020
PPTX
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...
Azure Pipeline
Cncf kanister.pptx
Data protection in a kubernetes-native world
Cloud to Edge
Google Cloud Platform Tutorial | GCP Fundamentals | Edureka
Gdsc muk - innocent
Delivering-Off-The-Shelf Software with Kubernetes- November 12, 2020
Comparing Microsoft SQL Server 2019 Performance Across Various Kubernetes Pla...

What's hot (20)

PPTX
Running database infrastructure on containers
PPTX
Which PostgreSQL is right for your multi cloud strategy? P2
PPTX
Wisconsin .NET UG - Windows Azure
PDF
OSS DB on Azure
PDF
Introduction to Spring Cloud Kubernetes
PPTX
Cloud Native Summit 2019 Summary
PDF
Architecting for Continuous Delivery
PDF
KubeCon 2017 - Kubernetes SIG Scheduling and Resource Management Working Grou...
PDF
Enterprise Java on Azure: From Java EE to Spring, we have you covered
PPTX
Why cloud native matters
PDF
Anthos Application Modernization Platform
PDF
RedisConf18 - Using Redis as a Backend in a Serverless Application With Kubeless
PPTX
Achieving DevSecOps Outcomes with Tanzu Advanced- March 22, 2021
PDF
SRE & Kubernetes
PPTX
Which PostgreSQL is right for your multi cloud strategy? P1
PDF
Stability anti patterns in cloud-native applications
PDF
Kubernetes 1.21 release
PDF
Harnessing the virtual realm for successful real world artificial intelligence
PPTX
Enabling Microservices Frameworks to Solve Business Problems
PDF
Geek Sync | Linux, Containers, and SQL Server—Get Ready for Big Data Clusters...
Running database infrastructure on containers
Which PostgreSQL is right for your multi cloud strategy? P2
Wisconsin .NET UG - Windows Azure
OSS DB on Azure
Introduction to Spring Cloud Kubernetes
Cloud Native Summit 2019 Summary
Architecting for Continuous Delivery
KubeCon 2017 - Kubernetes SIG Scheduling and Resource Management Working Grou...
Enterprise Java on Azure: From Java EE to Spring, we have you covered
Why cloud native matters
Anthos Application Modernization Platform
RedisConf18 - Using Redis as a Backend in a Serverless Application With Kubeless
Achieving DevSecOps Outcomes with Tanzu Advanced- March 22, 2021
SRE & Kubernetes
Which PostgreSQL is right for your multi cloud strategy? P1
Stability anti patterns in cloud-native applications
Kubernetes 1.21 release
Harnessing the virtual realm for successful real world artificial intelligence
Enabling Microservices Frameworks to Solve Business Problems
Geek Sync | Linux, Containers, and SQL Server—Get Ready for Big Data Clusters...
Ad

Similar to DevOpsDays Houston 2019 - Terry Shea - Centralizing Kubernetes Operations (20)

PPTX
Centralizing Kubernetes and Container Operations
PDF
Centralizing Kubernetes Management in Restrictive Environments
PPTX
The Evolution of your Kubernetes Cluster
PDF
Monitoring kubernetes across data center and cloud
PPTX
DevOps with Kubernetes
PDF
Monitoring Kubernetes with Prometheus
PDF
Monitoring on Kubernetes using Prometheus - Chandresh
PPTX
Monitoring on Kubernetes using prometheus
PDF
Monitoring Kubernetes with Prometheus
PDF
KubeCon Prometheus Salon -- Kubernetes metrics deep dive
PPTX
Introduction+to+Kubernetes-Details-D.pptx
PDF
Kubernetes as Infrastructure Abstraction
PDF
Kubernetes Basics
PDF
Monitoring Kubernetes with Prometheus
PDF
AgileTW Feat. DevOpsTW: 維運 Kubernetes 的兩三事
PDF
DevOps in AWS with Kubernetes
PPTX
A brief study on Kubernetes and its components
PPTX
Kubernetes-introduction to kubernetes for beginers.pptx
PDF
Containers, orchestration and security, oh my!
PDF
Introduction to kubernetes
Centralizing Kubernetes and Container Operations
Centralizing Kubernetes Management in Restrictive Environments
The Evolution of your Kubernetes Cluster
Monitoring kubernetes across data center and cloud
DevOps with Kubernetes
Monitoring Kubernetes with Prometheus
Monitoring on Kubernetes using Prometheus - Chandresh
Monitoring on Kubernetes using prometheus
Monitoring Kubernetes with Prometheus
KubeCon Prometheus Salon -- Kubernetes metrics deep dive
Introduction+to+Kubernetes-Details-D.pptx
Kubernetes as Infrastructure Abstraction
Kubernetes Basics
Monitoring Kubernetes with Prometheus
AgileTW Feat. DevOpsTW: 維運 Kubernetes 的兩三事
DevOps in AWS with Kubernetes
A brief study on Kubernetes and its components
Kubernetes-introduction to kubernetes for beginers.pptx
Containers, orchestration and security, oh my!
Introduction to kubernetes
Ad

More from DevOpsDays Houston (11)

PDF
DevOpsDays Houston 2019 - Donovan Brown - Enterprise Transformation (and You ...
PDF
DevOpsDays Houston 2019 - Sagar Karmarkar - Organic DevOps - DevOps from with...
PDF
DevOpsDays Houston 2019 - Shaun Ladewig, Robert Stone - From OverTheWallOps t...
PDF
DevOpsDays Houston 2019 - Dan Kirkpatrick - My Kubernetes Tool Chain: Open-So...
PDF
DevOpsDays Houston 2019 -Kevin Crawley - Practical Guide to Not Building Anot...
PDF
DevOpsDays Houston 2019 - Robert Reeves - Relax: Automation Replaces Tasks no...
PDF
DevOpsDays Houston 2019 - Margaret Valtierra - "I'm not technical" and other ...
PDF
DevOpsDays Houston 2019 - Lee Barnes - Effective Test Automation in DevOps - ...
PDF
DevOpsDays Houston 2019 - Erik Peterson - FinDevOps: Site Reliability in the ...
PDF
DevOpsDays Houston 2019 - Jay Gordon - Checklists: Good Enough for NASA, good...
PDF
DevOpsDays Houston 2019 - Waldo Grunenwald - Product teams, the wonder drug ...
DevOpsDays Houston 2019 - Donovan Brown - Enterprise Transformation (and You ...
DevOpsDays Houston 2019 - Sagar Karmarkar - Organic DevOps - DevOps from with...
DevOpsDays Houston 2019 - Shaun Ladewig, Robert Stone - From OverTheWallOps t...
DevOpsDays Houston 2019 - Dan Kirkpatrick - My Kubernetes Tool Chain: Open-So...
DevOpsDays Houston 2019 -Kevin Crawley - Practical Guide to Not Building Anot...
DevOpsDays Houston 2019 - Robert Reeves - Relax: Automation Replaces Tasks no...
DevOpsDays Houston 2019 - Margaret Valtierra - "I'm not technical" and other ...
DevOpsDays Houston 2019 - Lee Barnes - Effective Test Automation in DevOps - ...
DevOpsDays Houston 2019 - Erik Peterson - FinDevOps: Site Reliability in the ...
DevOpsDays Houston 2019 - Jay Gordon - Checklists: Good Enough for NASA, good...
DevOpsDays Houston 2019 - Waldo Grunenwald - Product teams, the wonder drug ...

Recently uploaded (20)

PDF
Encapsulation theory and applications.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Modernizing your data center with Dell and AMD
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Empathic Computing: Creating Shared Understanding
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Encapsulation theory and applications.pdf
Electronic commerce courselecture one. Pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Monthly Chronicles - July 2025
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
cuic standard and advanced reporting.pdf
Big Data Technologies - Introduction.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Modernizing your data center with Dell and AMD
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Understanding_Digital_Forensics_Presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Empathic Computing: Creating Shared Understanding
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectral efficient network and resource selection model in 5G networks
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

DevOpsDays Houston 2019 - Terry Shea - Centralizing Kubernetes Operations

  • 1. Centralizing Kubernetes and Container Operations Terry Shea| Kublr
  • 2. History • Custom software development company • Dozens of projects per year • Varying target environments: clouds, on-prem, hybrid • Recurring need for unified application delivery and ops platform w/ monitoring, logs, security, multiple env, ... @kublr
  • 3. Docker and Kubernetes to the Rescue • Docker is great, but local • Kubernetes is great... when it is up and running • Who sets up and operates K8S clusters? • Who takes care of operational aspects at scale? • How do you provide governance and ensure compliance? @kublr
  • 4. Applications and Architecture Digital– Web/Mobile Data Science & Machine Learning Video Streaming DigitalTransformation and App Modernization Hybrid Cloud Multi-Cloud Edge Computing Private Cloud Internet of Things
  • 5. Some Application Considerations Data Science/AI/ML etc. • Operators • Spark • Kafka • Projects • Kubeflow (note ksonnet deprecated) • Jupyter K8s • Specialized Hardware • GPUs, TPUs, FPGAs (oh my!) NFV/SDN • ONAP • Intel Multus CNI Web/Mobile/Microservice Apps • Service Meshes • Istio, Linkerd • Deployment Strategies • Rolling, Canary, Blue-Green Hybrid Apps • App Scaling re: Back-end Resources IOT/Edge Projects • Eclipse Foundation • KubeEdge (Huawei)
  • 6. Enterprise Kubernetes Needs Developers SRE/Ops/DevOps/SecOps • Self-service • Compatible • Conformant • Configurable • Open & Flexible • Org multi-tenancy • Single pane of glass • Operations • Monitoring • Log collection • Image management • Identity management • Security • Reliability • Performance • Portability @kublr
  • 7. @kublr Automation Ingress Custom Clusters Infrastructure Logging Monitoring Observability API Usage Reporting RBAC IAM Air Gap TLS Certificate Rotation Audit Storage Networking Container Registry CI / CD App Mgmt Infrastructure Container Runtime Kubernetes OPERATIONS SECURITY & GOVERNANCE
  • 8. Central Control Plane: Operations K8S Clusters Cloud(s) Data center API UI Log collection Operations Monitoring Authn and authz, SSO, federation Audit Image Repo Infrastructure management Backup & DR Dev K8S API Cloud API Prod PoC Dev @kublr
  • 9. Central Control Plane: Operations @kublr
  • 10. Flexible Deployment for Security & Customization Requirements
  • 11. Central Control Plane: Logs and Metrics K8S Clusters Cloud(s) Data center API UI Operations Authn and authz, SSO, federation Image Repo Infrastructure management Backup & DR Dev K8S API Cloud API Prod PoC Dev Log collection Monitoring Audit @kublr
  • 12. K8S Monitoring with Prometheus • Discover nodes, services, pods via K8S API • Query metrics from discovered endpoints • Endpoint are accessed directly via internal cluster addresses Kubernetes Cluster Prometheus Nodes K8S API Grafana Pods Discovery Srv Metrics @kublr
  • 13. Centralized Monitoring Cluster registry PROMETHEUSGrafana K8S Proxy API nodes, pods, service endpoints Ship externally Ship externally Prometheus config Prometheus data Configurator Control plane KUBERNETES CLUSTER Prometheus (collector) Prometheus (collector) @kublr
  • 14. Centralized Monitoring: Considerations • Prometheus resource usage tuning • Long-term storage (m3) • Configuration file growth with many clusters • Metrics labeling • Additional load on API server @kublr
  • 16. K8S Logging with Elasticsearch • Fluentd runs on nodes • OS, K8S, and container logs collected and shipped to Elasticsearch • Kibana for visualization Kubernetes Cluster Elasticsearch Kibana Pods Logs @kublr
  • 17. Prometheus (collector) RabbitMQ Centralized Log Collection Cluster registry K8S Proxy API Port forwarding MQTT Ship externally Messaging config Configurator Control plane RabbitMQ Shovel ElasticsearchLogstash Fluentd KUBERNETES CLUSTER filter filter analyze Ship externally MQTT Forwarder filter @kublr
  • 18. Centralized Log Collection: Considerations • Tune Elasticsearch resource usage • Take into account additional load on API server • Log index structure normalization { "data": { "elasticsearch": { "version": "6.x" } } } { "flatData": [ { "key": "elasticsearch.version", "type": "string", "key_type": "elasticsearch.version.string", "value_string": "6.x" }, ... ] } @kublr http://smnh.me/indexing-and-searching-arbitrary-json-data-using-elasticsearch/
  • 19. The Rest: Considerations • Identity management Use Identity Broker (e.g. KeyCloak): Users, Authn, Autzn, SSO, RBAC, • Backup and disaster recovery K8s metadata + app data/volumes: full cluster recovery or copy • Docker image management Docker image registry (e.g. Nexus, Artifactory, Docker Hub); image scanning; air-gapped or isolated environment: image registries proxying and caching, “system” images @kublr
  • 20. CI/CD projects at Kublr • CircleCI Orb (coming soon) • Keptn ( a Dynatrace open source project) https://keptn.sh • Canary Deployments with Istio and Spinaker https://kublr.com/blog/hands-on-canary-deployments-with-istio-and-kubernetes/
  • 21. Q&A @kublr Use Kublr for k8s POCs kublr.com/deploy Free non-production license.