Uploaded July 2020 | Updated November 2026, 3 hours ago
βΊ Part of the DevOps Bootcamp π More infos here: bit.ly/3WrhlUp
Learn how to setup Prometheus Monitoring and Grafana on Kubernetes cluster using Helm chart for Prometheus Operator
NOTE: Prometheus Operator shown in video is Deprecated. See the git repo for new operator installation and other relevant commands:
gitlab.com/nanuchi/youtube-tutorial-series/-/blob/master/prometheus-exporter/install-prometheus-commands.md
Missed the theoretic part? Prometheus Architecture explained βΊ youtu.be/h4Sl21AKiDg
Demo Part 1: Setup Prometheus Monitoring with Helm chart for Prometheus Operator (this video)
Demo Part 2: In the 2nd part we will actually configure Prometheus to expose /metrics endpoint and configure Prometheus to scrape it. βΊ youtu.be/mLPg49b33sA π€
In the demo I show you the third way. We will easily deploy Prometheus and Grafana using Helm chart for Prometheus Operator and I walk you through the different components, which were created. So that you have a good understanding π‘ of what they are and what they do.
Used versions in the demo:
βΊ helm version: v3.2.1
βΊ prometheus-operator: v0.38.1
In general there are 3 ways to do the setup:
1. Create all the configuration files yourself π©π»βπ»
This way is pretty inefficient and it's a lot of effort.
2. Using a Kubernetes Operator π
In this option you would go and find an operator for Prometheus and deploy it in the cluster using the configuration files of the operator. It is more efficient.
3. Using Helm chart to deploy the Prometheus Operator π
This is the most efficient way. Prometheus Operator has a Helm chart that is maintained by the Helm community. You can use this Helm chart to deploy the operator.
So, Helm will do the initial setup. Operator will then manage the running Prometheus setup
#prometheusmonitoring #kubernetes #devops #techworldwithnana
β¬β¬β¬β¬β¬β¬ T I M E S T A M P S β° β¬β¬β¬β¬β¬β¬
0:00 - Intro
0:05 - Recap Prometheus architecture
0:52 - How to deploy all the parts into K8s cluster - 3 options
3:10 - Setup with Prometheus Operator using Helm
4:10 - Understand what components were created and what they do?
10:00 - What's inside Prometheus Operator?
19:13 - Access Grafana UI
23:30 - Access Prometheus UI
24:52 - Summarize
β¬β¬β¬β¬β¬β¬ Useful Links π β¬β¬β¬β¬β¬β¬
Prometheus Operator Helm chart: βΊ github.com/helm/charts/tree/master/stable/prometheus-operator
Awesome operators: βΊ github.com/operator-framework/awesome-operators
β¬β¬β¬β¬β¬β¬ Want to learn more? π β¬β¬β¬β¬β¬β¬
Kubernetes Operator explained βΊ youtu.be/ha3LjlD6g7g
Full Kubernetes and Docker tutorial βΊ bit.ly/2YGeRp9
DevOps Tools, like Ansible, Prometheus βΊ bit.ly/2W9UEq6
Jenkins Pipeline Tutorials βΊ bit.ly/2Wunx08
β¬β¬β¬β¬β¬β¬ Courses & Bootcamp & Ebooks π β¬β¬β¬β¬β¬β¬
βΊ Become a DevOps Engineer - full educational program ππΌ bit.ly/45mXaer
βΊ High-Quality and Hands-On Courses ππΌ bit.ly/3BNS8Kv
βΊ Kubernetes 101 - compact and easy-to-read ebook bundle ππΌ bit.ly/3Ozl28x
β¬β¬β¬β¬β¬β¬ Connect with me π β¬β¬β¬β¬β¬β¬
Join private Facebook group βΊ bit.ly/32UVSZP
Don't forget to subscribe βΊ bit.ly/3mO4jxT
DEV βΊ bit.ly/3h2fqiO
INSTAGRAM βΊ bit.ly/2F3LXYJ
TWITTER βΊ bit.ly/3i54PUB
LINKEDIN βΊ bit.ly/3hWOLVT
βΊ Part of the DevOps Bootcamp π More infos here: bit.ly/3WrhlUp
Learn how to setup Prometheus Monitoring and Grafana on Kubernetes cluster using Helm chart for Prometheus Operator
NOTE: Prometheus Operator shown in video is Deprecated. See the git repo for new operator installation and other relevant commands:
gitlab.com/nanuchi/youtube-tutorial-series/-/blob/master/prometheus-exporter/install-prometheus-commands.md
Missed the theoretic part? Prometheus Architecture explained βΊ youtu.be/h4Sl21AKiDg
Demo Part 1: Setup Prometheus Monitoring with Helm chart for Prometheus Operator (this video)
Demo Part 2: In the 2nd part we will actually configure Prometheus to expose /metrics endpoint and configure Prometheus to scrape it. βΊ youtu.be/mLPg49b33sA π€
In the demo I show you the third way. We will easily deploy Prometheus and Grafana using Helm chart for Prometheus Operator and I walk you through the different components, which were created. So that you have a good understanding π‘ of what they are and what they do.
Used versions in the demo:
βΊ helm version: v3.2.1
βΊ prometheus-operator: v0.38.1
In general there are 3 ways to do the setup:
1. Create all the configuration files yourself π©π»βπ»
This way is pretty inefficient and it's a lot of effort.
2. Using a Kubernetes Operator π
In this option you would go and find an operator for Prometheus and deploy it in the cluster using the configuration files of the operator. It is more efficient.
3. Using Helm chart to deploy the Prometheus Operator π
This is the most efficient way. Prometheus Operator has a Helm chart that is maintained by the Helm community. You can use this Helm chart to deploy the operator.
So, Helm will do the initial setup. Operator will then manage the running Prometheus setup
#prometheusmonitoring #kubernetes #devops #techworldwithnana
β¬β¬β¬β¬β¬β¬ T I M E S T A M P S β° β¬β¬β¬β¬β¬β¬
0:00 - Intro
0:05 - Recap Prometheus architecture
0:52 - How to deploy all the parts into K8s cluster - 3 options
3:10 - Setup with Prometheus Operator using Helm
4:10 - Understand what components were created and what they do?
10:00 - What's inside Prometheus Operator?
19:13 - Access Grafana UI
23:30 - Access Prometheus UI
24:52 - Summarize
β¬β¬β¬β¬β¬β¬ Useful Links π β¬β¬β¬β¬β¬β¬
Prometheus Operator Helm chart: βΊ github.com/helm/charts/tree/master/stable/prometheus-operator
Awesome operators: βΊ github.com/operator-framework/awesome-operators
β¬β¬β¬β¬β¬β¬ Want to learn more? π β¬β¬β¬β¬β¬β¬
Kubernetes Operator explained βΊ youtu.be/ha3LjlD6g7g
Full Kubernetes and Docker tutorial βΊ bit.ly/2YGeRp9
DevOps Tools, like Ansible, Prometheus βΊ bit.ly/2W9UEq6
Jenkins Pipeline Tutorials βΊ bit.ly/2Wunx08
β¬β¬β¬β¬β¬β¬ Courses & Bootcamp & Ebooks π β¬β¬β¬β¬β¬β¬
βΊ Become a DevOps Engineer - full educational program ππΌ bit.ly/45mXaer
βΊ High-Quality and Hands-On Courses ππΌ bit.ly/3BNS8Kv
βΊ Kubernetes 101 - compact and easy-to-read ebook bundle ππΌ bit.ly/3Ozl28x
β¬β¬β¬β¬β¬β¬ Connect with me π β¬β¬β¬β¬β¬β¬
Join private Facebook group βΊ bit.ly/32UVSZP
Don't forget to subscribe βΊ bit.ly/3mO4jxT
DEV βΊ bit.ly/3h2fqiO
INSTAGRAM βΊ bit.ly/2F3LXYJ
TWITTER βΊ bit.ly/3i54PUB
LINKEDIN βΊ bit.ly/3hWOLVT










![Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]
βΊ Grab your free DevOps Roadmap: https://bit.ly/3RUQ7UK
π Become a DevOps Engineer - full educational program: https://bit.ly/3MRjKEE
Full Kubernetes Tutorial | Kubernetes Course | Hands-on course with a lot of demos
Connect with me π
INSTAGRAM βΊ https://bit.ly/2F3LXYJ
LINKEDIN βΊ https://bit.ly/3hWOLVT
β¬β¬β¬β¬β¬β¬ T I M E S T A M P S β° β¬β¬β¬β¬β¬β¬
0:00 - Course Overview
2:18 - What is K8s
5:20 - Main K8s Components
22:29 - K8s Architecture
34:47 - Minikube and kubectl - Local Setup
44:52 - Main Kubectl Commands - K8s CLI
1:02:03 - K8s YAML Configuration File
1:16:16 - Demo Project: MongoDB and MongoExpress
1:46:16 - Organizing your components with K8s Namespaces
2:01:52 - K8s Ingress explained
2:24:17 - Helm - Package Manager
2:38:07 - Persisting Data in K8s with Volumes
2:58:38 - Deploying Stateful Apps with StatefulSet
3:13:43 - K8s Services explained
β¬β¬β¬β¬β¬β¬ COURSE OVERVIEW π β¬β¬β¬β¬β¬β¬
π₯ What is Kubernetes π₯
βΊ What problems does Kubernetes solve?
βΊ What features do container orchestration tools offer?
π₯ Main K8s Components π₯
βΊ Node & Pod
βΊ Service & Ingress
βΊ ConfigMap & Secret
βΊ Volumes
βΊ Deployment & StatefulSet
π₯ K8s Architecture π₯
βΊ Worker Nodes
βΊ Master Nodes
βΊ Api Server
βΊ Scheduler
βΊ Controller Manager
βΊ etcd - the cluster brain
π₯ Minikube and kubectl - Local Setup π₯
βΊ What is minikube?
βΊ What is kubectl?
βΊ install minikube and kubectl
βΊ create and start a minikube cluster
π Links:
- Install Minikube (Mac, Linux and Windows): https://bit.ly/38bLcJy
- Install Kubectl: https://bit.ly/32bSI2Z
- Gitlab: If you are using Mac, you can follow along the commands. I listed them all here: https://bit.ly/3oZzuHY
π₯ Main Kubectl Commands - K8s CLI π₯
βΊ Get status of different components
βΊ create a pod/deployment
βΊ layers of abstraction
βΊ change the pod/deployment
βΊ debugging pods
βΊ delete pod/deployment
βΊ CRUD by applying configuration file
π - Git repo link of all the commands: https://bit.ly/3oZzuHY
π₯ K8s YAML Configuration File π₯
βΊ 3 parts of a Kubernetes config file (metadata, specification, status)
βΊ format of configuration file
βΊ blueprint for pods (template)
βΊ connecting services to deployments and pods (label & selector & port)
βΊ demo
π - Git repo link: https://bit.ly/2JBVyIk
π₯ Demo Project π₯
βΊ Deploying MongoDB and Mongo Express
βΊ MongoDB Pod
βΊ Secret
βΊ MongoDB Internal Service
βΊ Deployment Service and Config Map
βΊ Mongo Express External Service
π - Git repo link: https://bit.ly/3jY6lJp
π₯ Organizing your components with K8s Namespaces π₯
βΊ What is a Namespace?
βΊ 4 Default Namespaces
βΊ Create a Namespace
βΊ Why to use Namespaces? 4 Use Cases
βΊ Characteristics of Namespaces
βΊ Create Components in Namespaces
βΊ Change Active Namespace
π - Install Kubectx: https://github.com/ahmetb/kubectx#installation
π₯ K8s Ingress explained π₯
βΊ What is Ingress? External Service vs. Ingress
βΊ Example YAML Config Files for External Service and Ingress
βΊ Internal Service Configuration for Ingress
βΊ How to configure Ingress in your cluster?
βΊ What is Ingress Controller?
βΊ Environment on which your cluster is running (Cloud provider or bare metal)
βΊ Demo: Configure Ingress in Minikube
βΊ Ingress Default Backend
βΊ Routing Use Cases
βΊ Configuring TLS Certificate
π Links:
- Git Repo: https://bit.ly/3mJHVFc
- Ingress Controllers: https://bit.ly/32dfHe3
- Ingress Controller Bare Metal: https://bit.ly/3kYdmLB
π₯ Helm - Package Manager π₯
βΊ Package Manager and Helm Charts
βΊ Templating Engine
βΊ Use Cases for Helm
βΊ Helm Chart Structure
βΊ Values injection into template files
βΊ Release Management / Tiller (Helm Version 2!)
π Links:
- Helm hub: https://hub.helm.sh/
- Helm charts GitHub Project: https://github.com/helm/charts
- Install Helm: https://helm.sh/docs/intro/install/
π₯ Persisting Data in K8s with Volumes π₯
βΊ The need for persistent storage & storage requirements
βΊ Persistent Volume (PV)
βΊ Local vs Remote Volume Types
βΊ Who creates the PV and when?
βΊ Persistent Volume Claim (PVC)
βΊ Levels of volume abstractions
βΊ ConfigMap and Secret as volume types
βΊ Storage Class (SC)
π - Git Repo: https://bit.ly/2Gv3eLi
π₯ Deploying Stateful Apps with StatefulSet π₯
βΊ What is StatefulSet? Difference of stateless and stateful applications
βΊ Deployment of stateful and stateless apps
βΊ Deployment vs StatefulSet
βΊ Pod Identity
βΊ Scaling database applications: Master and Worker Pods
βΊ Pod state, Pod Identifier
βΊ 2 Pod endpoints
π₯ K8s Services π₯
βΊ What is a Service in K8s and when we need it?
βΊ ClusterIP Services
βΊ Service Communication
βΊ Multi-Port Services
βΊ Headless Services
βΊ NodePort Services
βΊ LoadBalancer Services Kubernetes Tutorial for Beginners [FULL COURSE in 4 Hours]](https://i.ytimg.com/vi/X48VuDVv0do/mqdefault.jpg)