How to Monitor a Kubernetes Cluster in 2022 with Prometheus & Grafana

preview_player
Показать описание
Today we take a look at the kube-prometheus stack. Create a Kubernetes 1.23 cluster and deploy all the monitoring components. We take a look at how everything is stitched up, which will help you understand not only how to monitor a latest version of kubernetes, but also how to monitor future version.
Checkout the source code below 👇🏽 and follow along 🤓

Also if you want to support the channel further, become a member 😎

Checkout "That DevOps Community" too

Source Code 🧐
--------------------------------------------------------------

If you are new to Kubernetes, check out my getting started playlist on Kubernetes below :)

Kubernetes Guide for Beginners:
---------------------------------------------------

Kubernetes Monitoring Guide:
-----------------------------------------------

Kubernetes Secret Management Guide:
--------------------------------------------------------------

Like and Subscribe for more :)

Follow me on socials!

Music:

Chapters:

00:00 Intro
01:28 Source Code
02:18 Create a cluster
03:33 Intro to kube-prometheus
05:43 Downloading source code
06:55 The manifests
08:56 Deploying kube-prometheus
11:21 Grafana
13:51 Prometheus configuration
15:53 Service Monitors
16:39 Extras: persistence and remote write
17:22 Outtro
Рекомендации по теме
Комментарии
Автор

As someone who has been working in Kubernetes full time for the last 6 months, this video is a great learning source. Thanks Marcel.

joross
Автор

As always Big Thanks Marcel. You Sir, are a master at explaining K8s and other stuff.

Mano-iing
Автор

Thanks a lot Marcel. your video are loaded with useful content. No fillers.

niketsingh
Автор

A big thank you, Marcel! 🙏🏻 Your hard work is much appreciated! 🥇

whiteorchid
Автор

Hey marcel, great video, really appreciate your efforts 👍🏼👍🏼, i think you should take this prom setup to next level by creating a detailed video on Thanos and it’s components( humble suggestion). 🙂

silentwatcher
Автор

you definitely slowed down from the last time i saw your videos! before i had to change the playback speed but now it's perfect for me lol keep up the good work Marcel

DamienMalakay
Автор

Quick, succulent, concise. 10/10, thank you! 👍

zenobikraweznick
Автор

Wonderful Video. This helps to learn a lot. Your support is awesome.

sharathkumar_
Автор

As always, awesome video! Very helpful!

wooja
Автор

This was fantastic! It would be great if you could do a video on how to integrate Datadog with kubernetes

shaheerzaman
Автор

Good Better Best - Never Let Them Rest - Thank you.

Fayaz-Rehman
Автор

Muchas gracias por explicar tan claramente tantas cosas indispensables para entender cómo trabajar con estas tecnologías tan nuevas, complejas e impresionantes

carlomagno
Автор

Thank you so much marcel, this is very informative

rupeshegishte
Автор

Great video. Already looking forward to a follow up.

stefanschmidbauer
Автор

Kube Prometheus is awesome project. I wish they maintained official Helm chart. Working with vanilla yaml files isn't scalable in the long term.

shinebayar
Автор

This video is pure gold 😀 Thanks a lot

loicgregoire
Автор

Would be great to see a video on how you are using prometheus, grafana, and alert manager for visualizations and alerting. I am assuming you are customizing the system you generated in this video, to some degree.

It would also be great to see how you are monitoring workloads. Is it just as simple as creating service monitors?

ryanwendel
Автор

When I try to do the port forwarding part, it just times out. Not sure why. It is a remote cluster on digital ocean.

bensiewert
Автор

Great, but how to I use Prometheus to monitor the servers outside the K8S cluster?

kanakorn.h
Автор

What, if anything, are other viewers using to store data collected by Prometheus? TIA

madrum