SlideShare a Scribd company logo
Kubernetes Logging
Implement and test self-managed logs
collection and visualization solution for
your k8s cluster
Real world requirements
●
Quick and easy deployment and testing
(do it like a DevOps)
●
Reliable enough
●
Maximum performance by default
●
Simple to understand and debug (KISS)
●
Reuse existing solutions as much as possible
Stack decisions and tools
●
Playground: Minikube/Microk8s/Kubeadm/Kops
●
FluentD/Fluent Bit/Logstash/Telegraf
●
EL(F)K/TICK (InfluxDB) stacks, Graphana?
●
Using k8s operator, reliability concerns
●
Helm/GitKube/Kapitan
●
Ingress controller (Nginx/ALB)
Kubernetes on localhost
Minikube
●
Needs a VM
●
Needs special
treatment
●
Good for developing
services, not
operations testing
Microk8s
●
Super simple
●
Real cluster
●
Docker (in Docker)
●
Too much magic
●
We need Cloud for UI
Load balancing and
ingress
Kubernetes in the Cloud
Kubeadm
●
Not really for cloud
●
Needs manual job
●
No mature enough
automations available
Kops
●
Easy, scalable
●
AWS native
●
Cluster-as-a-Code
●
Addons
●
Generates Terraform!
●
Actively developed
Logs collector and processor
●
Logstash: heavy, do we need all its features?
●
Telegraf (InfluxDB): looks cool, where is k8s
support?
●
FluentD: good stuff, recommended upstream,
Kops plugin
●
Fluent Bit: lightweight and fast, native support for
Kubernetes, minimal configuration
EFK stack for logs visualisation
●
ElasticSearch: deploy real cluster, rotate
indexes, resize, backup, kubernetes operator is
the only option
●
Fluent Bit: read all container logs, enrich with
kubernetes metadata and system metrics, does
buffering and retries, deployed via DaemonSet
●
Kibana: discover the index in ES, configure
timestamp field, watch and query.
TODO: create some pretty dashboards
Turn-key deployment
●
GitKube looks nice…
●
Kapitan is more Pythonic
●
Helm appears to be widely adopted, many
examples available
●
Install all stack components from single chart
●
Helm is great about vendorizing dependencies
●
GitHub repo could become Helm repo!
●
TODO: enable ingress rule
Wanna try?
https://github.com/vutny/kube-efk
Concerns and future improvements
●
Authentication, sensitive data, ES hardening,
Cerebro, capasity, proper TLS setup
●
“IFG” stack: InfluxDB, FluentD, Grafana
Thank you.
Questions?
●
https://github.com/vutny
●
https://www.linkedin.com/in/denyshavrysh/

More Related Content

PDF
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
PDF
WTF Do We Need a Service Mesh?
PDF
Managing kubernetes deployment with operators
PDF
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
PDF
Kubernetes debug like a pro
PDF
Deploy prometheus on kubernetes
PPTX
Kubernetes 1.16 and rancher 2.3 enhancements
PDF
Operator development made easy with helm
Five Lessons Learned from Large-scale Implementation of Kubernetes in the Ent...
WTF Do We Need a Service Mesh?
Managing kubernetes deployment with operators
Effective Kubernetes - Is Kubernetes the new Linux? Is the new Application Se...
Kubernetes debug like a pro
Deploy prometheus on kubernetes
Kubernetes 1.16 and rancher 2.3 enhancements
Operator development made easy with helm

What's hot (20)

PDF
Serverless stream processing of Debezium data change events with Knative | De...
PDF
Multi-cloud Kubernetes BCDR with Velero
PDF
K8s Pod Scheduling - Deep Dive. By Tsahi Duek.
PDF
Kubernetes Deployments: A "Hands-off" Approach
PDF
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
PDF
Monitoring Cockpit for OpenShift Clusters
PDF
Kubernetes-native or not? When should you ditch your traditional CI/CD server...
PDF
GPU enablement for data science on OpenShift | DevNation Tech Talk
PPTX
OpenShift Application Development | DO288 | Red Hat OpenShift
PPTX
Building CI/CD Pipelines with Jenkins and Kubernetes
PDF
OSDC 2018 - Distributed monitoring
PDF
Using kubernetes to lose your fear of using containers
PPTX
Kubernetes Helm: Why It Matters
PDF
Kubernetes: The evolution of distributed systems | DevNation Tech Talk
PDF
OpenStack on Kubernetes (BOS Summit / May 2017 update)
PPTX
Centralizing Kubernetes and Container Operations
PDF
Remote debugging of Application in Kubernetes
PDF
Democratizing machine learning on kubernetes
PPTX
Kubernetes fundamentals
PDF
KubeCon EU 2016: Heroku to Kubernetes
Serverless stream processing of Debezium data change events with Knative | De...
Multi-cloud Kubernetes BCDR with Velero
K8s Pod Scheduling - Deep Dive. By Tsahi Duek.
Kubernetes Deployments: A "Hands-off" Approach
"Using Automation Tools To Deploy And Operate Applications In Real World Scen...
Monitoring Cockpit for OpenShift Clusters
Kubernetes-native or not? When should you ditch your traditional CI/CD server...
GPU enablement for data science on OpenShift | DevNation Tech Talk
OpenShift Application Development | DO288 | Red Hat OpenShift
Building CI/CD Pipelines with Jenkins and Kubernetes
OSDC 2018 - Distributed monitoring
Using kubernetes to lose your fear of using containers
Kubernetes Helm: Why It Matters
Kubernetes: The evolution of distributed systems | DevNation Tech Talk
OpenStack on Kubernetes (BOS Summit / May 2017 update)
Centralizing Kubernetes and Container Operations
Remote debugging of Application in Kubernetes
Democratizing machine learning on kubernetes
Kubernetes fundamentals
KubeCon EU 2016: Heroku to Kubernetes
Ad

Similar to Kubernetes Logging (20)

PDF
To Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
PDF
[WSO2Con USA 2018] Deploying Applications in K8S and Docker
PDF
[WSO2Con EU 2018] Deploying Applications in K8S and Docker
PPTX
Kubernetes 101
PPTX
Virtual Flink Forward 2020: Integrate Flink with Kubernetes natively - Yang Wang
PDF
Scalable Spark deployment using Kubernetes
PDF
[WSO2Con Asia 2018] Deploying Applications in K8S and Docker
PPTX
Kubernetes Manchester - 6th December 2018
PPTX
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
PDF
DevEx | there’s no place like k3s
PDF
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
PDF
reBuy on Kubernetes
PDF
Kubernetes: The Next Research Platform
PDF
Kubernetes: Managed or Not Managed?
PPTX
Session 4 GCCP.pptx
PDF
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
PDF
Kubernetes & Google Container Engine @ mabl
PPTX
Containers, Serverless and Functions in a nutshell
PDF
Free GitOps Workshop + Intro to Kubernetes & GitOps
PDF
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
To Russia with Love: Deploying Kubernetes in Exotic Locations On Prem
[WSO2Con USA 2018] Deploying Applications in K8S and Docker
[WSO2Con EU 2018] Deploying Applications in K8S and Docker
Kubernetes 101
Virtual Flink Forward 2020: Integrate Flink with Kubernetes natively - Yang Wang
Scalable Spark deployment using Kubernetes
[WSO2Con Asia 2018] Deploying Applications in K8S and Docker
Kubernetes Manchester - 6th December 2018
Kubernates : An Small introduction for Beginners by Rajiv Vishwkarma
DevEx | there’s no place like k3s
Como creamos QuestDB Cloud, un SaaS basado en Kubernetes alrededor de QuestDB...
reBuy on Kubernetes
Kubernetes: The Next Research Platform
Kubernetes: Managed or Not Managed?
Session 4 GCCP.pptx
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
Kubernetes & Google Container Engine @ mabl
Containers, Serverless and Functions in a nutshell
Free GitOps Workshop + Intro to Kubernetes & GitOps
Javantura v4 - Self-service app deployment with Kubernetes and OpenShift - Ma...
Ad

Recently uploaded (20)

PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
System and Network Administraation Chapter 3
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
history of c programming in notes for students .pptx
PDF
Digital Strategies for Manufacturing Companies
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Nekopoi APK 2025 free lastest update
PDF
medical staffing services at VALiNTRY
PDF
System and Network Administration Chapter 2
How Creative Agencies Leverage Project Management Software.pdf
CHAPTER 2 - PM Management and IT Context
Which alternative to Crystal Reports is best for small or large businesses.pdf
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Odoo POS Development Services by CandidRoot Solutions
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
System and Network Administraation Chapter 3
VVF-Customer-Presentation2025-Ver1.9.pptx
Upgrade and Innovation Strategies for SAP ERP Customers
How to Choose the Right IT Partner for Your Business in Malaysia
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Softaken Excel to vCard Converter Software.pdf
history of c programming in notes for students .pptx
Digital Strategies for Manufacturing Companies
Navsoft: AI-Powered Business Solutions & Custom Software Development
Nekopoi APK 2025 free lastest update
medical staffing services at VALiNTRY
System and Network Administration Chapter 2

Kubernetes Logging

  • 1. Kubernetes Logging Implement and test self-managed logs collection and visualization solution for your k8s cluster
  • 2. Real world requirements ● Quick and easy deployment and testing (do it like a DevOps) ● Reliable enough ● Maximum performance by default ● Simple to understand and debug (KISS) ● Reuse existing solutions as much as possible
  • 3. Stack decisions and tools ● Playground: Minikube/Microk8s/Kubeadm/Kops ● FluentD/Fluent Bit/Logstash/Telegraf ● EL(F)K/TICK (InfluxDB) stacks, Graphana? ● Using k8s operator, reliability concerns ● Helm/GitKube/Kapitan ● Ingress controller (Nginx/ALB)
  • 4. Kubernetes on localhost Minikube ● Needs a VM ● Needs special treatment ● Good for developing services, not operations testing Microk8s ● Super simple ● Real cluster ● Docker (in Docker) ● Too much magic ● We need Cloud for UI Load balancing and ingress
  • 5. Kubernetes in the Cloud Kubeadm ● Not really for cloud ● Needs manual job ● No mature enough automations available Kops ● Easy, scalable ● AWS native ● Cluster-as-a-Code ● Addons ● Generates Terraform! ● Actively developed
  • 6. Logs collector and processor ● Logstash: heavy, do we need all its features? ● Telegraf (InfluxDB): looks cool, where is k8s support? ● FluentD: good stuff, recommended upstream, Kops plugin ● Fluent Bit: lightweight and fast, native support for Kubernetes, minimal configuration
  • 7. EFK stack for logs visualisation ● ElasticSearch: deploy real cluster, rotate indexes, resize, backup, kubernetes operator is the only option ● Fluent Bit: read all container logs, enrich with kubernetes metadata and system metrics, does buffering and retries, deployed via DaemonSet ● Kibana: discover the index in ES, configure timestamp field, watch and query. TODO: create some pretty dashboards
  • 8. Turn-key deployment ● GitKube looks nice… ● Kapitan is more Pythonic ● Helm appears to be widely adopted, many examples available ● Install all stack components from single chart ● Helm is great about vendorizing dependencies ● GitHub repo could become Helm repo! ● TODO: enable ingress rule
  • 10. Concerns and future improvements ● Authentication, sensitive data, ES hardening, Cerebro, capasity, proper TLS setup ● “IFG” stack: InfluxDB, FluentD, Grafana