SlideShare a Scribd company logo
Logging and Monitoring
at scale on Kubernetes
@dungdm93
1. Logging
2
1.1 Log Hander
Option 1: File
● Pros
○ Easy to configs
○ Support by most services & libs
● Cons
○ Hard to Aggregate
○ No out-of-the box supported by k8s tools (e.g kubectl)
3
Option 2: Transport via Network (TCP/UDP/Socket)
● Pros
○ Easy to Aggregate
● Cons
○ Not every services & libs are supported
○ Each services/languages has different configuration
○ No out-of-the box supported by k8s tools (e.g kubectl)
1.1 Log Hander
4
Option 3: Console
● Pros
○ Supported by every services/languages
○ All official images logs to console by default
○ kubectl & other tools supported out-of-the-box
● Cons
○ Log format?
1.1 Log Hander
5
1.2 Architecture
6
7
2. Monitoring
What is Operator?
● Custom Resource
8
What is Operator?
● Custom Resource
● Custom Resource Definition
● Controller
9
Benefit of Operator
● Cloud Native Approach
○ Manage App’s Resources in the same way as
Kubernetes’ Resources.
● Lifecycle Management
10
2.1 Monitoring Architecture
11
2.1 Monitoring Architecture (cont.)
12
2.2 Monitor your own apps
13
3. Recap
14
● Logging
● Monitoring
4. Future works
15
16
17
Unify Metrics, Logs (and Traces) UI
ElasticSearch & Kibana is good, but it has some limitations:
● ElasticSearch is far from what we need
● Kibana is slow
● Developer need to remember 2+ places:
○ 1 for Metrics
○ 1 for Logs
○ and… 1 more for Traces
=> Alternative solutions
● Loki + Grafana (evaluating…)
Thank you :)
18

More Related Content

What's hot (20)

PPTX
LinuxKit: the first five months by Justin Cormack & Riyaz Faizullabhoy (Docker)
Docker, Inc.
 
PPTX
Who Lives in Our Garden?
Altoros
 
PDF
Open stack nova reverse engineer
Vietnam Open Infrastructure User Group
 
PDF
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
WSO2
 
PDF
Docker Enterprise Edition: Building a Secure Supply Chain for the Enterprise ...
Docker, Inc.
 
PDF
Looking Under The Hood: containerD
Docker, Inc.
 
PDF
Service Mesh For Beginner
Mien Dinh
 
PPTX
Linux kit meetup_v1.0.0
Anshul Patel
 
PDF
Back to the Future: Containerize Legacy Applications
Docker, Inc.
 
PDF
CNCF Projects Overview
Neependra Khare
 
PDF
Securing Applications and Pipelines on a Container Platform
All Things Open
 
PDF
Integrating Docker EE into Société Générale's Existing Enterprise IT Systems
Docker, Inc.
 
PDF
Kubernetes in Docker
docker-athens
 
PDF
Deploying your first application with Kubernetes
OVHcloud
 
PPTX
DockerCon EU 2015: Nesting Containers: Real Life Observations
Docker, Inc.
 
PDF
Deep Dive into Kubernetes - Part 2
Imesh Gunaratne
 
PPTX
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Vietnam Open Infrastructure User Group
 
PDF
Securing Your Resources with Short-Lived Certificates!
All Things Open
 
PDF
Kubernetes a comprehensive overview
Gabriel Carro
 
PDF
A Closer Look at Kubernetes Pods and Replica Sets
Janakiram MSV
 
LinuxKit: the first five months by Justin Cormack & Riyaz Faizullabhoy (Docker)
Docker, Inc.
 
Who Lives in Our Garden?
Altoros
 
Open stack nova reverse engineer
Vietnam Open Infrastructure User Group
 
WSO2Con ASIA 2016: WSO2 Cloud Strategy Update
WSO2
 
Docker Enterprise Edition: Building a Secure Supply Chain for the Enterprise ...
Docker, Inc.
 
Looking Under The Hood: containerD
Docker, Inc.
 
Service Mesh For Beginner
Mien Dinh
 
Linux kit meetup_v1.0.0
Anshul Patel
 
Back to the Future: Containerize Legacy Applications
Docker, Inc.
 
CNCF Projects Overview
Neependra Khare
 
Securing Applications and Pipelines on a Container Platform
All Things Open
 
Integrating Docker EE into Société Générale's Existing Enterprise IT Systems
Docker, Inc.
 
Kubernetes in Docker
docker-athens
 
Deploying your first application with Kubernetes
OVHcloud
 
DockerCon EU 2015: Nesting Containers: Real Life Observations
Docker, Inc.
 
Deep Dive into Kubernetes - Part 2
Imesh Gunaratne
 
Kata Container - The Security of VM and The Speed of Container | Yuntong Jin
Vietnam Open Infrastructure User Group
 
Securing Your Resources with Short-Lived Certificates!
All Things Open
 
Kubernetes a comprehensive overview
Gabriel Carro
 
A Closer Look at Kubernetes Pods and Replica Sets
Janakiram MSV
 

Similar to Meetup 22 - 04 - Logging and Monitoring at scale on Kubernetes (20)

PDF
Kubernetes Logging
Denys Havrysh
 
PDF
Download full Managing Kubernetes operating Kubernetes clusters in the real w...
duduhasikul
 
PDF
DevOpsDays Houston 2019 - Terry Shea - Centralizing Kubernetes Operations
DevOpsDays Houston
 
PDF
DevOpsDays Houston 2019 - Dan Kirkpatrick - My Kubernetes Tool Chain: Open-So...
DevOpsDays Houston
 
PDF
The elements of kubernetes
Aaron Schlesinger
 
PDF
Deploy Prometheus - Grafana and EFK stack on Kubic k8s Clusters
Syah Dwi Prihatmoko
 
PPTX
Kubernetes #2 monitoring
Terry Cho
 
PDF
Kubernetes at Datadog the very hard way
Laurent Bernaille
 
PDF
kubernetes_largescale_system_design_optimization
RaviShankar KS
 
PDF
Kubernetes extensibility: crd & operators
Giacomo Tirabassi
 
PDF
Kubernetes extensibility: CRDs & Operators
SIGHUP
 
PDF
Kubernetes lessons learned
Paul Guth
 
PDF
Kubecon seattle 2018 workshop slides
Weaveworks
 
PDF
KUDO - Kubernetes Operators, the easy way
Nick Jones
 
PDF
Scaling Monitoring At Databricks From Prometheus to M3
LibbySchulze
 
PDF
Kubernetes in Action First Edition Marko Luksa
linnjhmkoq2198
 
PDF
Presentación11.pdf
PabloCanesta
 
PDF
A generic log analyzer for auto recovery of container orchestration system
Conference Papers
 
PDF
Running Apache Spark on Kubernetes: Best Practices and Pitfalls
Databricks
 
PPTX
DevOps with Kubernetes
EastBanc Tachnologies
 
Kubernetes Logging
Denys Havrysh
 
Download full Managing Kubernetes operating Kubernetes clusters in the real w...
duduhasikul
 
DevOpsDays Houston 2019 - Terry Shea - Centralizing Kubernetes Operations
DevOpsDays Houston
 
DevOpsDays Houston 2019 - Dan Kirkpatrick - My Kubernetes Tool Chain: Open-So...
DevOpsDays Houston
 
The elements of kubernetes
Aaron Schlesinger
 
Deploy Prometheus - Grafana and EFK stack on Kubic k8s Clusters
Syah Dwi Prihatmoko
 
Kubernetes #2 monitoring
Terry Cho
 
Kubernetes at Datadog the very hard way
Laurent Bernaille
 
kubernetes_largescale_system_design_optimization
RaviShankar KS
 
Kubernetes extensibility: crd & operators
Giacomo Tirabassi
 
Kubernetes extensibility: CRDs & Operators
SIGHUP
 
Kubernetes lessons learned
Paul Guth
 
Kubecon seattle 2018 workshop slides
Weaveworks
 
KUDO - Kubernetes Operators, the easy way
Nick Jones
 
Scaling Monitoring At Databricks From Prometheus to M3
LibbySchulze
 
Kubernetes in Action First Edition Marko Luksa
linnjhmkoq2198
 
Presentación11.pdf
PabloCanesta
 
A generic log analyzer for auto recovery of container orchestration system
Conference Papers
 
Running Apache Spark on Kubernetes: Best Practices and Pitfalls
Databricks
 
DevOps with Kubernetes
EastBanc Tachnologies
 
Ad

More from Vietnam Open Infrastructure User Group (20)

PDF
Room 3 - 5 - Nguyễn Văn Hoàn - 101 Bugs, issues when I work with Ceph
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 4 - Lê Quang Hiếu - How to be a cool dad: Leverage DIY Home Automati...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 2 - Trần Tuấn Anh - Defending Software Supply Chain Security in Bank...
Vietnam Open Infrastructure User Group
 
PPTX
Room 3 - 7 - Nguyễn Như Phúc Huy - Vitastor: a fast and simple Ceph-like bloc...
Vietnam Open Infrastructure User Group
 
PDF
Room 3 - 1 - Nguyễn Xuân Trường Lâm - Zero touch on-premise storage infrastru...
Vietnam Open Infrastructure User Group
 
PPTX
Room 2 - 2 - Giang Thiên Phú - Kinh nghiệm tối ưu mongodb với database hơn 10...
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
Vietnam Open Infrastructure User Group
 
PPTX
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
Vietnam Open Infrastructure User Group
 
PPTX
Room 2 - 1 - Phạm Quang Minh - A real DevOps culture in practice
Vietnam Open Infrastructure User Group
 
PDF
Room 2 - 5 - Seong Soo - NHN Cloud - Upstream contribution mentoring program ...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 2 - Nguyễn Văn Thắng & Dzung Nguyen - Proxmox VE và ZFS over iscsi
Vietnam Open Infrastructure User Group
 
PPTX
Room 1 - 6 - Trần Quốc Sang - Autoscaling for multi cloud platform based on S...
Vietnam Open Infrastructure User Group
 
PPTX
Room 1 - 3 - Lê Anh Tuấn - Build a High Performance Identification at GHTK wi...
Vietnam Open Infrastructure User Group
 
PPTX
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 5 - Thủy Đặng - Load balancing k8s services on baremetal with Cilium...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 4 - Phạm Tường Chiến & Trần Văn Thắng - Deliver managed Kubernetes C...
Vietnam Open Infrastructure User Group
 
PDF
Room 1 - 1 - Benoit TELLIER - On premise email inbound service with Apache James
Vietnam Open Infrastructure User Group
 
Room 3 - 5 - Nguyễn Văn Hoàn - 101 Bugs, issues when I work with Ceph
Vietnam Open Infrastructure User Group
 
Room 2 - 3 - Nguyễn Hoài Nam & Nguyễn Việt Hùng - Terraform & Pulumi Comparin...
Vietnam Open Infrastructure User Group
 
Room 3 - 6 - Nguyễn Văn Thắng & Dzung Nguyen - Ứng dụng openzfs làm lưu trữ t...
Vietnam Open Infrastructure User Group
 
Room 3 - 4 - Lê Quang Hiếu - How to be a cool dad: Leverage DIY Home Automati...
Vietnam Open Infrastructure User Group
 
Room 3 - 2 - Trần Tuấn Anh - Defending Software Supply Chain Security in Bank...
Vietnam Open Infrastructure User Group
 
Room 3 - 7 - Nguyễn Như Phúc Huy - Vitastor: a fast and simple Ceph-like bloc...
Vietnam Open Infrastructure User Group
 
Room 3 - 1 - Nguyễn Xuân Trường Lâm - Zero touch on-premise storage infrastru...
Vietnam Open Infrastructure User Group
 
Room 2 - 2 - Giang Thiên Phú - Kinh nghiệm tối ưu mongodb với database hơn 10...
Vietnam Open Infrastructure User Group
 
Room 2 - 6 - Đinh Tuấn Phong - Migrate opensource database to Kubernetes easi...
Vietnam Open Infrastructure User Group
 
Room 2 - 4 - Juncheng Anthony Lin - Redhat - A Practical Approach to Traditio...
Vietnam Open Infrastructure User Group
 
Room 2 - 7 - Lã Mạnh Hà - Agile + DevOps = A great combination
Vietnam Open Infrastructure User Group
 
Room 2 - 1 - Phạm Quang Minh - A real DevOps culture in practice
Vietnam Open Infrastructure User Group
 
Room 2 - 5 - Seong Soo - NHN Cloud - Upstream contribution mentoring program ...
Vietnam Open Infrastructure User Group
 
Room 1 - 2 - Nguyễn Văn Thắng & Dzung Nguyen - Proxmox VE và ZFS over iscsi
Vietnam Open Infrastructure User Group
 
Room 1 - 6 - Trần Quốc Sang - Autoscaling for multi cloud platform based on S...
Vietnam Open Infrastructure User Group
 
Room 1 - 3 - Lê Anh Tuấn - Build a High Performance Identification at GHTK wi...
Vietnam Open Infrastructure User Group
 
Room 1 - 7 - Lê Quốc Đạt - Upgrading network of Openstack to SDN with Tungste...
Vietnam Open Infrastructure User Group
 
Room 1 - 5 - Thủy Đặng - Load balancing k8s services on baremetal with Cilium...
Vietnam Open Infrastructure User Group
 
Room 1 - 4 - Phạm Tường Chiến & Trần Văn Thắng - Deliver managed Kubernetes C...
Vietnam Open Infrastructure User Group
 
Room 1 - 1 - Benoit TELLIER - On premise email inbound service with Apache James
Vietnam Open Infrastructure User Group
 
Ad

Recently uploaded (20)

PPTX
Transforming Insights: How Generative AI is Revolutionizing Data Analytics
LetsAI Solutions
 
PPTX
From spreadsheets and delays to real-time control
SatishKumar2651
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PDF
Best Web development company in india 2025
Greenusys
 
PDF
Why is partnering with a SaaS development company crucial for enterprise succ...
Nextbrain Technologies
 
PPTX
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
intro_to_cpp_namespace_robotics_corner.pdf
MohamedSaied877003
 
PPTX
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
PDF
AI Prompts Cheat Code prompt engineering
Avijit Kumar Roy
 
PDF
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 
Transforming Insights: How Generative AI is Revolutionizing Data Analytics
LetsAI Solutions
 
From spreadsheets and delays to real-time control
SatishKumar2651
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Best Web development company in india 2025
Greenusys
 
Why is partnering with a SaaS development company crucial for enterprise succ...
Nextbrain Technologies
 
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
intro_to_cpp_namespace_robotics_corner.pdf
MohamedSaied877003
 
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
AI Prompts Cheat Code prompt engineering
Avijit Kumar Roy
 
Ready Layer One: Intro to the Model Context Protocol
mmckenna1
 

Meetup 22 - 04 - Logging and Monitoring at scale on Kubernetes