SlideShare a Scribd company logo
1 of 43
1
Elastic Meetup Amsterdam | April 2023
Miguel Luna | Product @Elastic
Christos Markou | Engineering @Elastic
Deep dive into Kubernetes monitoring
with Elastic Observability
About us…
Christos Markou
Senior Software Engineer
Miguel Luna
Principal Product Manager
Elastic Cloud Native Observability
What does Kubernetes have to do with hipsters?
A story about beer Kubernetes
Goal: Get to Union Square
⬅️ Queens midtown
tunnel
⬇️ Down 5th Avenue
🛑 Union square hotel
3 STEPS!
cab$ take queens-midtown-tunnel
drive down 5th-avenue
stop union square
Goal: Get to Union Square
TL;DL:
We ❤️ the resilience that
Kubernetes automation brings to
our work.
Problem Solved…?
Yes! Kubernetes brings challenges (like observing it)
● Dynamic and ephemeral environment
● A new meaning for scale
● Distributed nature of Kubernetes
● Data sprawl across different tools
● Interpreting Kubernetes signals requires expertise
● The rise of managed Kubernetes
Observing
with
Store, Search, &
Analyze
Visualize &
Manage
Ingest
Elastic Stack
Kibana
Elasticsearch
Beats/Elastic-Agent Logstash
Elastic Stack
Getting your K8s data into Elastic
• similar functionality to Beats for log collection and host monitoring
• Elastic Agent has some distinct advantages over Beats
• Easier to deploy and manage
• Easier to configure
• Central management
Elastic Agent
Ingest configuration
Type of integration
Shipper to use
Metrics endpoint
Integration specific settings
Elastic Integrations
https://docs.elastic.co/en/integrations/redis
https://github.com/elastic/integrations
Centrally manage configurations
Configuring Elastic Agent (managed by user)
• Standalone Elastic Agents are manually configured and managed
locally on the systems where they are installed.
• They are useful when you are not interested in centrally managing
agents in Fleet, either due to your company’s security requirements,
or because you prefer to use another configuration management
system.
From UI to GitOps
Elastic Agent on Kubernetes
Filebeat
Daemonset
Filebeat
Daemonset
Filebeat
Daemonset
Node_1 Node_2 Node_3
Elastic Agent
Pod
runs as Deamonset (one Pod per node) on a k8s cluster
Elastic Agent
Pod
Elastic Agent
Pod
Inputs
• kubernetes-cluster-metrics (using leaderelection)
• kubernetes-node-metrics (node’s kubelet API)
• system/metrics (from underlying node using system package)
• container-logs (using k8s dynamic provider)
• system-logs (from underlying node using system package)
• uptime monitoring
• redis/metrics (using k8s dynamic provider + hints)
• APM data
Dynamic workload discovery
• Conditions based autodiscover
• Hints annotations based autodiscover
Conditions based autodiscover
condition: ${kubernetes.labels.app} == ‘redis’
Hints annotations based autodiscover
APM instrumentation
● An implementation of k8s admission control webhook, that enables
automatic attachment of the Elastic APM agent to application pods.
● The registered MutatingAdmissionWebhook intercepts requests to the
Kubernetes API server and executes the mutating admission control
webhook prior to persistence of the object, but after the request is
authenticated and authorized.
This allows the mutation of the originally submitted request.
Your K8s data is in Elastic, now what?
Data collection into one single place, following common schema will
allows us
to convert these data into actionable observability rules:
• Latency
• Resource saturation
• Common errors
Alerting (through watchers)
A Watcher is an Elasticsearch feature that you can use to create actions
based on conditions, which are periodically evaluated using queries on your
data. Watches are helpful for analyzing mission-critical and business-critical
streaming data.
Alerting (through watchers)
https://github.com/elastic/integrations/blob/main/packages/kubernetes/docs/pod-terminated-oomkilled-alert.md
Alerting (through ML)
Demo 🤞
LET’S KEEP SHAPING ELASTIC
TOGETHER!
WE WOULD TO KEEP HEARING FROM YOU
https://discuss.elastic.co/c/beats
https://github.com/elastic/beats
https://discuss.elastic.co/c/elastic-stack/elastic-
agent
https://github.com/elastic/elastic-agent
https://github.com/elastic/integrations
Q&A
Elastic’s contribution of
Elastic Common Schema (ECS) to
OpenTelemetry (OTel)
April 18, 2023
ECS and OTel SemConv* Convergence
ECS
Security Events
Logs Metrics Traces
Resources
OTel SemConv*
Logs Metrics Traces
A schema that includes both Observability and Security
New OTel
common schema
Logs Metrics Traces
Security Events
Resources
Resources
ECS main
contributions
* OTel SemConv = OpenTelemetry Semantic Convention (OTel’s schema definition)
How a common schema helps: current state
Reduced visibility and harder root cause analysis
Where are you operationally?
Where are you trending?
Are you meeting business objectives?
Backend
OTel
Agent/S
DK
Elastic
Agents
Infra
Frontend
Dev process
src:10.42.42.42
OR client_ip:10.42.42.42
OR
apache2.access.remote_ip:
10.42.42.42
OR
context.user.ip:10.42.42.42
OR src_ip:10.42.42.42
Example: IP definition of a specific user end point
w/o
COMMON
SCHEMA
How a common schema helps: future state
Backend
OTel
Agent/S
DK
Elastic
Agents
Infra
Frontend
Dev process
Example: IP definition of a specific user end point
Where are you operationally?
Where are you trending?
Are you meeting business objectives?
src:10.42.42.42
OR client_ip:10.42.42.42
OR
apache2.access.remote_ip:
10.42.42.42
OR
context.user.ip:10.42.42.42
OR src_ip:10.42.42.42
Where are you operationally?
Where are you trending?
Are you meeting business objectives?
w/
COMMON
SCHEMA
source.ip:10.42.42.42
Simplified visibility and root cause analysis
Value of the new common schema
Better visibility and
root cause analysis
for operations and
security teams
Improved
collaboration
between
observability and
security
OTel is the
open standard for
observability and
security telemetry
Elastic’s native OpenTelemetry support
OTel
Collector
App
Code
Microservices
OTLP
Agent/SDK
Elastic Observability
Kibana
APM Server
Elasticsearch
OTLP
OR
Agent/SDK
App Code
Microservices
Elastic APM agents and OTel
coexist, delivering full APM
visibility and functionality enabling
customers migrate to an OTEL
NO Elastic based OTel Agent
needed
Learn more about this

More Related Content

Similar to Deep dive into Kubernetes monitoring with Elastic Observability.pptx

Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...
Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...
Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...Ashnikbiz
 
Monitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloudMonitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloudDatadog
 
2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...
2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...
2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...Ashnikbiz
 
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CDCloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CDVMware Tanzu
 
Streamlining Elastic integrations development .pptx
Streamlining Elastic integrations development .pptxStreamlining Elastic integrations development .pptx
Streamlining Elastic integrations development .pptxChris Markou
 
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...NETWAYS
 
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...NETWAYS
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
Bandwidth: Use Cases for Elastic Cloud on Kubernetes
Bandwidth: Use Cases for Elastic Cloud on Kubernetes Bandwidth: Use Cases for Elastic Cloud on Kubernetes
Bandwidth: Use Cases for Elastic Cloud on Kubernetes Elasticsearch
 
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKS
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKSMigrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKS
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKSWeaveworks
 
Implementing Observability for Kubernetes.pdf
Implementing Observability for Kubernetes.pdfImplementing Observability for Kubernetes.pdf
Implementing Observability for Kubernetes.pdfJose Manuel Ortega Candel
 
Implementing AKS on the Enterprise
Implementing AKS on the EnterpriseImplementing AKS on the Enterprise
Implementing AKS on the EnterpriseJorge Arteiro
 
Combining logs, metrics, and traces for unified observability
Combining logs, metrics, and traces for unified observabilityCombining logs, metrics, and traces for unified observability
Combining logs, metrics, and traces for unified observabilityElasticsearch
 
Combinación de logs, métricas y seguimiento para una visibilidad centralizada
Combinación de logs, métricas y seguimiento para una visibilidad centralizadaCombinación de logs, métricas y seguimiento para una visibilidad centralizada
Combinación de logs, métricas y seguimiento para una visibilidad centralizadaElasticsearch
 
Logging, Metrics, and APM: The Operations Trifecta
Logging, Metrics, and APM: The Operations TrifectaLogging, Metrics, and APM: The Operations Trifecta
Logging, Metrics, and APM: The Operations TrifectaElasticsearch
 
Full stack visibility with elastic, KubeCon 2017
Full stack visibility with elastic, KubeCon 2017Full stack visibility with elastic, KubeCon 2017
Full stack visibility with elastic, KubeCon 2017Carlos Pérez-Aradros
 
A GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKSA GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKSWeaveworks
 
Elasticsearch on Azure
Elasticsearch on AzureElasticsearch on Azure
Elasticsearch on AzureElasticsearch
 

Similar to Deep dive into Kubernetes monitoring with Elastic Observability.pptx (20)

Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...
Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...
Webinar: How to monitor Container, Kubernetes, and OpenShift environment usin...
 
Monitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloudMonitoring kubernetes across data center and cloud
Monitoring kubernetes across data center and cloud
 
2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...
2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...
2. สัมมนาสดทางออนไลน์ : วิธีตรวจสอบการใช้งาน Container, Kubernetes และ OpenSh...
 
Cloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CDCloud-Native Operations with Kubernetes and CI/CD
Cloud-Native Operations with Kubernetes and CI/CD
 
Streamlining Elastic integrations development .pptx
Streamlining Elastic integrations development .pptxStreamlining Elastic integrations development .pptx
Streamlining Elastic integrations development .pptx
 
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
OSDC 2017: Automating Kubernetes Cluster Operations with Operators by Timo De...
 
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
OSDC 2017 - Timo Derstappen - Automating kubernetes cluster operations with o...
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
Bandwidth: Use Cases for Elastic Cloud on Kubernetes
Bandwidth: Use Cases for Elastic Cloud on Kubernetes Bandwidth: Use Cases for Elastic Cloud on Kubernetes
Bandwidth: Use Cases for Elastic Cloud on Kubernetes
 
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKS
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKSMigrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKS
Migrating from Self-Managed Kubernetes on EC2 to a GitOps Enabled EKS
 
Implementing Observability for Kubernetes.pdf
Implementing Observability for Kubernetes.pdfImplementing Observability for Kubernetes.pdf
Implementing Observability for Kubernetes.pdf
 
Implementing AKS on the Enterprise
Implementing AKS on the EnterpriseImplementing AKS on the Enterprise
Implementing AKS on the Enterprise
 
Combining logs, metrics, and traces for unified observability
Combining logs, metrics, and traces for unified observabilityCombining logs, metrics, and traces for unified observability
Combining logs, metrics, and traces for unified observability
 
AKS: k8s e azure
AKS: k8s e azureAKS: k8s e azure
AKS: k8s e azure
 
Combinación de logs, métricas y seguimiento para una visibilidad centralizada
Combinación de logs, métricas y seguimiento para una visibilidad centralizadaCombinación de logs, métricas y seguimiento para una visibilidad centralizada
Combinación de logs, métricas y seguimiento para una visibilidad centralizada
 
Logging, Metrics, and APM: The Operations Trifecta
Logging, Metrics, and APM: The Operations TrifectaLogging, Metrics, and APM: The Operations Trifecta
Logging, Metrics, and APM: The Operations Trifecta
 
Full stack visibility with elastic, KubeCon 2017
Full stack visibility with elastic, KubeCon 2017Full stack visibility with elastic, KubeCon 2017
Full stack visibility with elastic, KubeCon 2017
 
A GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKSA GitOps model for High Availability and Disaster Recovery on EKS
A GitOps model for High Availability and Disaster Recovery on EKS
 
Elasticsearch on Azure
Elasticsearch on AzureElasticsearch on Azure
Elasticsearch on Azure
 
NextGenML
NextGenML NextGenML
NextGenML
 

Recently uploaded

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...aditisharan08
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfkalichargn70th171
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...Christina Lin
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Intelisync
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...gurkirankumar98700
 

Recently uploaded (20)

Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 
Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...Unit 1.1 Excite Part 1, class 9, cbse...
Unit 1.1 Excite Part 1, class 9, cbse...
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdfThe Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
The Essentials of Digital Experience Monitoring_ A Comprehensive Guide.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
ODSC - Batch to Stream workshop - integration of Apache Spark, Cassandra, Pos...
 
Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)Introduction to Decentralized Applications (dApps)
Introduction to Decentralized Applications (dApps)
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
(Genuine) Escort Service Lucknow | Starting ₹,5K To @25k with A/C 🧑🏽‍❤️‍🧑🏻 89...
 

Deep dive into Kubernetes monitoring with Elastic Observability.pptx

  • 1. 1 Elastic Meetup Amsterdam | April 2023 Miguel Luna | Product @Elastic Christos Markou | Engineering @Elastic Deep dive into Kubernetes monitoring with Elastic Observability
  • 2. About us… Christos Markou Senior Software Engineer Miguel Luna Principal Product Manager Elastic Cloud Native Observability
  • 3. What does Kubernetes have to do with hipsters?
  • 4. A story about beer Kubernetes
  • 5. Goal: Get to Union Square
  • 6. ⬅️ Queens midtown tunnel ⬇️ Down 5th Avenue 🛑 Union square hotel 3 STEPS!
  • 7. cab$ take queens-midtown-tunnel drive down 5th-avenue stop union square
  • 8.
  • 9.
  • 10. Goal: Get to Union Square
  • 11.
  • 12. TL;DL: We ❤️ the resilience that Kubernetes automation brings to our work.
  • 14. Yes! Kubernetes brings challenges (like observing it) ● Dynamic and ephemeral environment ● A new meaning for scale ● Distributed nature of Kubernetes ● Data sprawl across different tools ● Interpreting Kubernetes signals requires expertise ● The rise of managed Kubernetes
  • 16. Store, Search, & Analyze Visualize & Manage Ingest Elastic Stack Kibana Elasticsearch Beats/Elastic-Agent Logstash Elastic Stack
  • 17. Getting your K8s data into Elastic • similar functionality to Beats for log collection and host monitoring • Elastic Agent has some distinct advantages over Beats • Easier to deploy and manage • Easier to configure • Central management Elastic Agent
  • 18. Ingest configuration Type of integration Shipper to use Metrics endpoint Integration specific settings
  • 21. Configuring Elastic Agent (managed by user) • Standalone Elastic Agents are manually configured and managed locally on the systems where they are installed. • They are useful when you are not interested in centrally managing agents in Fleet, either due to your company’s security requirements, or because you prefer to use another configuration management system.
  • 22. From UI to GitOps
  • 23. Elastic Agent on Kubernetes Filebeat Daemonset Filebeat Daemonset Filebeat Daemonset Node_1 Node_2 Node_3 Elastic Agent Pod runs as Deamonset (one Pod per node) on a k8s cluster Elastic Agent Pod Elastic Agent Pod
  • 24. Inputs • kubernetes-cluster-metrics (using leaderelection) • kubernetes-node-metrics (node’s kubelet API) • system/metrics (from underlying node using system package) • container-logs (using k8s dynamic provider) • system-logs (from underlying node using system package) • uptime monitoring • redis/metrics (using k8s dynamic provider + hints) • APM data
  • 25. Dynamic workload discovery • Conditions based autodiscover • Hints annotations based autodiscover
  • 26. Conditions based autodiscover condition: ${kubernetes.labels.app} == ‘redis’
  • 27. Hints annotations based autodiscover
  • 28. APM instrumentation ● An implementation of k8s admission control webhook, that enables automatic attachment of the Elastic APM agent to application pods. ● The registered MutatingAdmissionWebhook intercepts requests to the Kubernetes API server and executes the mutating admission control webhook prior to persistence of the object, but after the request is authenticated and authorized. This allows the mutation of the originally submitted request.
  • 29. Your K8s data is in Elastic, now what? Data collection into one single place, following common schema will allows us to convert these data into actionable observability rules: • Latency • Resource saturation • Common errors
  • 30. Alerting (through watchers) A Watcher is an Elasticsearch feature that you can use to create actions based on conditions, which are periodically evaluated using queries on your data. Watches are helpful for analyzing mission-critical and business-critical streaming data.
  • 34. LET’S KEEP SHAPING ELASTIC TOGETHER!
  • 35. WE WOULD TO KEEP HEARING FROM YOU https://discuss.elastic.co/c/beats https://github.com/elastic/beats https://discuss.elastic.co/c/elastic-stack/elastic- agent https://github.com/elastic/elastic-agent https://github.com/elastic/integrations
  • 36. Q&A
  • 37. Elastic’s contribution of Elastic Common Schema (ECS) to OpenTelemetry (OTel) April 18, 2023
  • 38. ECS and OTel SemConv* Convergence ECS Security Events Logs Metrics Traces Resources OTel SemConv* Logs Metrics Traces A schema that includes both Observability and Security New OTel common schema Logs Metrics Traces Security Events Resources Resources ECS main contributions * OTel SemConv = OpenTelemetry Semantic Convention (OTel’s schema definition)
  • 39. How a common schema helps: current state Reduced visibility and harder root cause analysis Where are you operationally? Where are you trending? Are you meeting business objectives? Backend OTel Agent/S DK Elastic Agents Infra Frontend Dev process src:10.42.42.42 OR client_ip:10.42.42.42 OR apache2.access.remote_ip: 10.42.42.42 OR context.user.ip:10.42.42.42 OR src_ip:10.42.42.42 Example: IP definition of a specific user end point w/o COMMON SCHEMA
  • 40. How a common schema helps: future state Backend OTel Agent/S DK Elastic Agents Infra Frontend Dev process Example: IP definition of a specific user end point Where are you operationally? Where are you trending? Are you meeting business objectives? src:10.42.42.42 OR client_ip:10.42.42.42 OR apache2.access.remote_ip: 10.42.42.42 OR context.user.ip:10.42.42.42 OR src_ip:10.42.42.42 Where are you operationally? Where are you trending? Are you meeting business objectives? w/ COMMON SCHEMA source.ip:10.42.42.42 Simplified visibility and root cause analysis
  • 41. Value of the new common schema Better visibility and root cause analysis for operations and security teams Improved collaboration between observability and security OTel is the open standard for observability and security telemetry
  • 42. Elastic’s native OpenTelemetry support OTel Collector App Code Microservices OTLP Agent/SDK Elastic Observability Kibana APM Server Elasticsearch OTLP OR Agent/SDK App Code Microservices Elastic APM agents and OTel coexist, delivering full APM visibility and functionality enabling customers migrate to an OTEL NO Elastic based OTel Agent needed