Monitor Linux machines with node-exporter on Kubernetes

  Рет қаралды 13,810

That DevOps Guy

That DevOps Guy

Күн бұрын

Subscribe to show your support! goo.gl/1Ty1Q2 .
Patreon 👉🏽 / marceldempers
Today we're going to explore the Prometheus node-exporter.
Node Exporter is one of my most favorite observability tools on Linux used in Prometheus monitoring. It surfaces up hundreds of valuable upstream Linux metrics which are available in /proc
This will help you find bottlenecks in your server's ability to perform.
Remember to like, subscribe and checkout the source code below:
Source Code
github.com/marcel-dempers/doc...
Also if you want to support the channel further, become a member 😎
marceldempers.dev/join
Checkout "That DevOps Community" too
marceldempers.dev/community
If you need to know more about managing Prometheus instances, checkout my operator video:
• Introduction to the Pr...
Also, if you're new to Kubernetes, checkout my guides below:
Check out part 1 for how to install Kubernetes on Windows:
• Kubernetes Getting Sta...
Check out part 2 of how to use KUBECTL:
• Kubectl basics for beg...
Check out part 3 of how to do deployments
• Kubernetes Deployments...
Check out part 4 of how to manage application configurations
• Configuration manageme...
Check out part 5 of secret management explained
• Kubernetes Secret Mana...
Like and Subscribe for more :)
Follow me on socials!
Patreon | / marceldempers
Twitter | / marceldempers
GitHub | github.com/marcel-dempers
Facebook | thatdevopsguy
LinkedIn | / marceldempers
Instagram | / thatdevopsguy
Music:
Track: MESIØ - Clario Bubblegum
Listen: / clario-bubblegum-mesio...
Track: MNDBD - "TYPE BEAT" TYPE BEAT (FT. TGWOG & FEEP) | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / type-beat-type-beat-ft...
Track: HERTHA - ROLLING
Listen: / g59
Track: souKo - souKo - Parallel | is licensed under a Creative Commons Attribution licence (creativecommons.org/licenses/...)
Listen: / parallel

Пікірлер: 24
@leo5946
@leo5946 Жыл бұрын
you are really chnging the learniing experience for us with your blog type tutorials, great job, big fan
@romannikolaevich5281
@romannikolaevich5281 Ай бұрын
Your vlog is excellent! Thank you so much!
@salborough2
@salborough2 2 жыл бұрын
Such a great video - thanks Marcel :)
@RayanSlim087
@RayanSlim087 2 жыл бұрын
Fantastic Demo!
@AlexStuffss
@AlexStuffss 4 жыл бұрын
For someone like me who's just getting started with Docker and Kubernetes, this is fantastic. Really appreciate your videos!
@kellenlincoln2052
@kellenlincoln2052 2 жыл бұрын
You prolly dont care but does any of you know of a trick to get back into an Instagram account? I somehow lost the account password. I would love any tips you can offer me
@justinjesse6417
@justinjesse6417 2 жыл бұрын
@Kellen Lincoln instablaster ;)
@whyismychannelhandletaken
@whyismychannelhandletaken 4 жыл бұрын
Another excellent video! Keep up the good work!
@whyismychannelhandletaken
@whyismychannelhandletaken 4 жыл бұрын
Alermanager 101 would be useful as well :)
@MarcelDempers
@MarcelDempers 4 жыл бұрын
@@whyismychannelhandletaken Great idea 👍
@m19mesoto
@m19mesoto 4 жыл бұрын
Thank you for your nice work, can you showcase how to monitor redis or rabbit that are running in side the kube cluster?
@jairams
@jairams 14 күн бұрын
HI, your videos are excellent. The only thing to change I think is that your codebase has changed. For example, you dont have the prometheus-monitoring folder under the root structure.
@user-rq4bu3jz8x
@user-rq4bu3jz8x 3 жыл бұрын
Thanks, could you give some ideas how to monitor socket queue in k8s with help of prometheus?
@rajeshn8681
@rajeshn8681 4 жыл бұрын
Nice and clear explanation. Keep doing the good work. How about monitoring mongodb in kubernetes using these tools. Do you have in your git resources already or planning any time in future ??
@MarcelDempers
@MarcelDempers 4 жыл бұрын
Thank you! Nothing in the pipeline for mongoDB specifically. However, all service monitor concepts in my kubernetes monitoring series will work for mongoDB. You will want to add an exporter to it and use service monitors to scrape and pull metrics github.com/percona/mongodb_exporter
@georgelza
@georgelza 2 жыл бұрын
just curious, if we deploy onto a multi node K8S environment... thinking we want a persistent volume on the cluster where Prometheus stores it's configuration and metric data, so that if the pod moves around to another node or we have a restart it can still get to it's data folder ? did you by any chance do a follow up of this video covering that ? which files/values needs to be modified to accommodate this ?
@ka11ki
@ka11ki 4 жыл бұрын
I love your videos. I an a newbie in DevOps and have a basic question. Lets say the infrastructure is very simple and as an example have 2 Ec2 instance son AWS. Is it possible to NOT have Prometheus installed on another remote machine outside of the infrastructure which it needs to monitor. Only node_exporter will be installed on the 2 instances in the infrastructure. is this possible?
@MarcelDempers
@MarcelDempers 4 жыл бұрын
Thanks for the kind words :) You will need prometheus somewhere (local on machine or same network or remote network) to scrape the metrics from node exporter. Prometheus is the time series database that stores and aggregates metrics for consumption by UI tools like Grafana
@zukerberg007
@zukerberg007 3 жыл бұрын
Hi I am stuck up in this scenario please help . Scenario - with EKS created a master cluster and 2 slave machines . deployed a basic application. Now I want to expose the port of the application to external . could you please let me know how to use node exporter in this scenario. Also , please note , my local machine is Win10 and I create ec2 machine from aws console and proceeded with above scenario.
@RavindraRaivlogs
@RavindraRaivlogs 2 жыл бұрын
Where you configured node_expoter in promtheus.yml file with port 9100..... without configured how can you received metrics... please reply
@rajualapati8742
@rajualapati8742 Жыл бұрын
Can you please help me with how to do it on multiple AWS accounts without VPC peering? I need to get metrics from private IP subnets using any exporter and IAM role ... Please help
@ctrlz4439
@ctrlz4439 3 жыл бұрын
I am puzzled that you are attempting to monitor linux machine , by running node_exporter in isolated container where it does not have full access to machines resources due cgroups, does not have access to physical machine filesystems and network as well. What kind of data it is monitoring ?
@MarcelDempers
@MarcelDempers 3 жыл бұрын
Node exporter mounts host proc which gives access to every metric on the kernel for every process on the system regardless of container or not. From cpu, memory, file system to tcp and everything else tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html
@lamle5183
@lamle5183 3 жыл бұрын
To add to Marcel's answer: Have a look at timestamp 8:40 as well. Indeed, containers are isolated. If we attempt to run node exporters in containers, we surely monitor the container. But what happens is we mount the metrics from the worker nodes to the node exporter containers via volume mounts. These are not really isolated now. Metrics are shared and node exporters will pick up the metrics from the same folders, but now, they are from the machines hosting them!
Kubernetes Cluster Monitoring for beginners
17:44
That DevOps Guy
Рет қаралды 11 М.
Simplify Kubernetes YAML with Kustomize
20:37
That DevOps Guy
Рет қаралды 75 М.
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 61 МЛН
孩子多的烦恼?#火影忍者 #家庭 #佐助
00:31
火影忍者一家
Рет қаралды 51 МЛН
Русалка
01:00
История одного вокалиста
Рет қаралды 5 МЛН
Monitoring Linux Host Metrics with Prometheus | Node Exporter (Setup, Scrape, Query, Grafana)
10:21
Prometheus Monitoring with Julius | PromLabs
Рет қаралды 11 М.
How load balancing and service discovery works in Kubernetes
10:41
That DevOps Guy
Рет қаралды 41 М.
Introduction to HashiCorp Vault on Kubernetes for beginners
21:49
That DevOps Guy
Рет қаралды 76 М.
Monitor Kubernetes in 10 minutes
13:25
That DevOps Guy
Рет қаралды 10 М.
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 185 М.
Storing Secrets in GIT | GitOps | Kubernetes
27:17
That DevOps Guy
Рет қаралды 17 М.
Why I use Windows as a DevOps Engineer
21:07
That DevOps Guy
Рет қаралды 17 М.
What is Kubernetes AFFINITY ?
17:28
That DevOps Guy
Рет қаралды 6 М.
Service Mesh: What & Why ? - a new series
13:38
That DevOps Guy
Рет қаралды 35 М.
Сколько реально стоит ПК Величайшего?
0:37
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 334 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 339 М.
Игровой Комп с Авито за 4500р
1:00
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,2 МЛН