SlideShare a Scribd company logo
Nilesh Gule
@nileshgule | www.HandsOnArchitect.com
Monitoring Kubernetes
With
Prometheus and Grafana
$whoami
{
“name” : “Nilesh Gule”,
“website” : “https://www.HandsOnArchitect.com",
“github” : “https://GitHub.com/NileshGule"
“twitter” : “@nileshgule”,
“linkedin” : “https://www.linkedin.com/in/nileshgule”,
“likes” : “Technical Evangelism, Cricket”,
“co-organizer” : “Azure Singapore UG”
}
@nileshgule
Kubernetes
Monitoring
Prometheus and Grafana
Need for Prometheus & Grafana Prometehus Architecture
Spring Boot integration demo .Net Core integration demo
Alert manager demo
Agenda
Pre-requisites
• Self contained application with all its
dependencies
Docker
• Orchestrates containers
• Self healing
• Service discovery
• Scaling
Kubernetes
• Dockerhub / private container registry
• Repository for storing container images
Container Registry
• Managed Kubernetes service on Azure
• Native integration with other Azure services like Azure Active
Directory (AAD), Azure Container registry (ACR), Azure
Container Instances (ACI), Azure Monitor etc.
Azure Kubernetes Service (AKS)
@nileshgule
Rise of Cloud Native Adoption
Building Cloud Native Software on Top of Kubernetes (slideshare.net)
Monitoring kubernetes wwith prometheus and grafana   azure singapore - 19 august 2021
@nileshgule
CNCF cloud trail
https://github.com/cncf/trailmap
@nileshgule
Prometheus Architecture
@nileshgule
Prometheus Metric Types
@nileshgule
Install Prometheus using Kube-prometheues-stack
https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack
 Installs collection of Kubernetes manifests, Grafana dashboards and Prometheus rules
 Documentation and scripts to provide easy to operate end-to-end Kubernetes cluster monitoring
with Prometheus using the Prometheus operator
 Prometheus operator : simplify & automate the configuration of Prometheus based monitoring stack
for Kubernetes clusters
 Kubernetes custom resources
 Simplified deployment configuration (versions, persistence, retention policies, replicas)
 Prometheus target configurations
@nileshgule
Conference App Demo setup
https://github.com/NileshGule/spring-boot-conference-app/tree/mssql-server
@nileshgule
Spring Boot Conference App integration
https://github.com/NileshGule/spring-boot-conference-app/tree/mssql-server
@nileshgule
TechTalks Demo setup
1000
(configurable)
messages
Batch of 50
(configurable)
messages
https://github.com/NileshGule/pd-tech-fest-2019
@nileshgule
.Net Core TechTalks Integration
https://github.com/NileshGule/pd-tech-fest-2019
Summary
• Modern day cloud native applications need new ways of monitoring
• Prometheus provides easy to use metrics for platforms, applications
• Use service monitor to scrape metrics for Kubernetes service
• Use pod monitor to scrape metrics for Kubernetes pods
• Grafana provides visualization capabilities to build intuitive dashboards
• Alert Manager provides alerting capabilities based on Prometheus queries
/ expressions
Prometheus.io
Grafana.com
Kube Prometheus Stack
Prometheus operator
Houssem Dellai – Prometheus & Grafana for monitoring Kubernetes
Tech world with Nana
Prometheus debugging
https://github.com/NileshGule/pd-tech-fest-2019
https://github.com/NileshGule/spring-boot-
conference-app/tree/mssql-server
Thank you very much
Code with Passion and Strive for Excellence
https://www.slideshare.net/nileshgule/presentations
https://speakerdeck.com/nileshgule/
Nilesh Gule
ARCHITECT | MICROSOFT MVP
“Code with Passion and
Strive for Excellence”
nileshgule @nileshgule Nilesh Gule
NileshGule
www.handsonarchitect.com
Q&A

More Related Content

PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
PDF
Kubernetes Secrets Management on Production with Demo
PPTX
Introduction to Docker - 2017
PDF
Infrastructure & System Monitoring using Prometheus
PPTX
Kubernetes for Beginners: An Introductory Guide
PDF
(Draft) Kubernetes - A Comprehensive Overview
PDF
Hands-On Introduction to Kubernetes at LISA17
PPTX
Autoscaling in Kubernetes
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Kubernetes Secrets Management on Production with Demo
Introduction to Docker - 2017
Infrastructure & System Monitoring using Prometheus
Kubernetes for Beginners: An Introductory Guide
(Draft) Kubernetes - A Comprehensive Overview
Hands-On Introduction to Kubernetes at LISA17
Autoscaling in Kubernetes

What's hot (20)

PPTX
Kubernetes
PPTX
Kubernetes PPT.pptx
PPTX
Kubernetes 101 for Beginners
PPTX
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
PDF
Introduction to kubernetes
PDF
Prometheus monitoring
PPTX
MeetUp Monitoring with Prometheus and Grafana (September 2018)
PDF
Prometheus - basics
PDF
Getting Started Monitoring with Prometheus and Grafana
PPT
Monitoring using Prometheus and Grafana
PDF
Introduction of Kubernetes - Trang Nguyen
PDF
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
PDF
Monitoring Kubernetes with Prometheus
PPTX
Terraform modules restructured
PDF
Exploring the power of OpenTelemetry on Kubernetes
PPTX
Introduction to ansible
PPTX
K8s in 3h - Kubernetes Fundamentals Training
PPTX
쿠버네티스 ( Kubernetes ) 소개 자료
PDF
What Is Helm
PDF
The Power of GitOps with Flux & GitOps Toolkit
Kubernetes
Kubernetes PPT.pptx
Kubernetes 101 for Beginners
Prometheus - Intro, CNCF, TSDB,PromQL,Grafana
Introduction to kubernetes
Prometheus monitoring
MeetUp Monitoring with Prometheus and Grafana (September 2018)
Prometheus - basics
Getting Started Monitoring with Prometheus and Grafana
Monitoring using Prometheus and Grafana
Introduction of Kubernetes - Trang Nguyen
[오픈소스컨설팅] 쿠버네티스와 쿠버네티스 on 오픈스택 비교 및 구축 방법
Monitoring Kubernetes with Prometheus
Terraform modules restructured
Exploring the power of OpenTelemetry on Kubernetes
Introduction to ansible
K8s in 3h - Kubernetes Fundamentals Training
쿠버네티스 ( Kubernetes ) 소개 자료
What Is Helm
The Power of GitOps with Flux & GitOps Toolkit
Ad

Similar to Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 august 2021 (20)

PDF
Improve Monitoring and Observability for Kubernetes with OSS tools
PDF
Azure-Container-Apps.pdf
PPTX
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
PDF
Event driven workloads on Kubernetes with KEDA
PDF
Improve monitoring and observability for kubernetes with oss tools
PPTX
Manage your kubernetes cluster with cluster api, azure and git ops
PDF
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
PDF
Let's build Developer Portal with Backstage
PDF
The App Developer's Kubernetes Toolbox
PDF
Autoscale applications based on external events with KEDA.pdf
PDF
Distributed Event Driven Systems with KEDA.pdf
PDF
Azure kubernetes service (aks) part 3
PDF
Containerised ASP.NET Core apps with Kubernetes
PPTX
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
PDF
Mete Atamel
PPTX
Portable Multi-cloud Microservices with Dapr .pptx
PDF
Serverless Event Driven Containers with KEDA
PDF
Week 4 lecture material cc (1)
PDF
week 4_watermark.pdfffffffffffffffffffff
PDF
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
Improve Monitoring and Observability for Kubernetes with OSS tools
Azure-Container-Apps.pdf
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
Event driven workloads on Kubernetes with KEDA
Improve monitoring and observability for kubernetes with oss tools
Manage your kubernetes cluster with cluster api, azure and git ops
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Let's build Developer Portal with Backstage
The App Developer's Kubernetes Toolbox
Autoscale applications based on external events with KEDA.pdf
Distributed Event Driven Systems with KEDA.pdf
Azure kubernetes service (aks) part 3
Containerised ASP.NET Core apps with Kubernetes
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
Mete Atamel
Portable Multi-cloud Microservices with Dapr .pptx
Serverless Event Driven Containers with KEDA
Week 4 lecture material cc (1)
week 4_watermark.pdfffffffffffffffffffff
CloudStack Tooling Ecosystem – Kiran Chavala, ShapeBlue
Ad

More from Nilesh Gule (20)

PDF
API Management in the AI Era - Azure Singapore.pdf
PDF
Infuse Intelligence Into your App with Foundry Local.pdf
PDF
Enhance GitHub Copilot using MCP - Enterprise version.pdf
PDF
API Management in the AI Era session GAB Melbourne
PDF
GitHub Copilot Agent Mode - Azure Builders Melbourne
PDF
Festive Tech Calendar -2024 Supercharge Kubernetes Debugging with k8sGPT.pdf
PDF
Code Creativity and Customers- Navigating the Generative AI Landscape - Austr...
PDF
Supercharge Kubernetes Debugging with k8sGPT.pdf
PDF
Portable Multi-cloud Applications with Dapr.pdf
PDF
k8sug Melbourne - Improve Kubernetes with k8sGPT
PDF
Event Driven Autoscaling using KEDA - MVP
PDF
Code Creativity and Customers- Navigating the Generative AI Landscape.pdf
PDF
Improve Monitoring And Observability for Kubernetes with OSS tools.pdf
PDF
Modular Architecturs for Resilience and Adaptability.pdf
PDF
Singapore JUG - Open Telemetry.pdf
PDF
Build Secure Portable Applications using AKS and its ecosystem
PDF
Cloud Native Ninja - PT8 - Containerize React app.pdf
PDF
Cloud Native Ninja - PT8 - Containerize React app.pdf
PDF
Modular Architecturs for resilience and Adaptability.pdf
PDF
Modular Architecturs for resilience and Adaptability.pdf
API Management in the AI Era - Azure Singapore.pdf
Infuse Intelligence Into your App with Foundry Local.pdf
Enhance GitHub Copilot using MCP - Enterprise version.pdf
API Management in the AI Era session GAB Melbourne
GitHub Copilot Agent Mode - Azure Builders Melbourne
Festive Tech Calendar -2024 Supercharge Kubernetes Debugging with k8sGPT.pdf
Code Creativity and Customers- Navigating the Generative AI Landscape - Austr...
Supercharge Kubernetes Debugging with k8sGPT.pdf
Portable Multi-cloud Applications with Dapr.pdf
k8sug Melbourne - Improve Kubernetes with k8sGPT
Event Driven Autoscaling using KEDA - MVP
Code Creativity and Customers- Navigating the Generative AI Landscape.pdf
Improve Monitoring And Observability for Kubernetes with OSS tools.pdf
Modular Architecturs for Resilience and Adaptability.pdf
Singapore JUG - Open Telemetry.pdf
Build Secure Portable Applications using AKS and its ecosystem
Cloud Native Ninja - PT8 - Containerize React app.pdf
Cloud Native Ninja - PT8 - Containerize React app.pdf
Modular Architecturs for resilience and Adaptability.pdf
Modular Architecturs for resilience and Adaptability.pdf

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPT
Teaching material agriculture food technology
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Electronic commerce courselecture one. Pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Empathic Computing: Creating Shared Understanding
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Review of recent advances in non-invasive hemoglobin estimation
MYSQL Presentation for SQL database connectivity
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Teaching material agriculture food technology
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Electronic commerce courselecture one. Pdf
Spectral efficient network and resource selection model in 5G networks
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Chapter 3 Spatial Domain Image Processing.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Empathic Computing: Creating Shared Understanding
Advanced methodologies resolving dimensionality complications for autism neur...
Review of recent advances in non-invasive hemoglobin estimation

Monitoring kubernetes wwith prometheus and grafana azure singapore - 19 august 2021