Full Kubernetes tutorial on Docker, KinD, kubectl, Helm, Prometheus, Grafana

  Рет қаралды 9,238

Anais Urlichs

Anais Urlichs

Күн бұрын

This end-to-end tutorial covers the following:
* Setting up your first Kubernetes cluster with KinD
* Installing Docker Desktop, KinD, kubectl, Helm
* Installing the Kube Prometheus Stack Helm Chart that provides Grafana and Prometheus
* Understanding and customizing Helm Charts
* Showing you how the different components interact in your KinD cluster
* Port-forwarding an application
* Installing an application through Kubernetes YAML Manifests
* How Service and Deployments in Kubernetes interact
* How to use a ServiceMonitor for Prometheus
* Verify access to metrics in Prometheus
* Setting up a Grafana Dashboard
ALL OF THE ABOVE in this tutorial
Here is the blog post with the written version of everything covered in this video: anaisurl.com/full-kubernetes-...
Repository with the additional resources: github.com/Cloud-Native-Secur...
-----------------------------------------------------------------------------------------------------------------------
Installation links for the different tools covered in this video:
* KinD Installation kind.sigs.k8s.io/docs/user/qu...
* Docker Desktop installation for Mac: docs.docker.com/desktop/insta...
* Docker Desktop installation for Windows: docs.docker.com/desktop/insta...
* kubectl installation: kubernetes.io/docs/tasks/tool...
* Helm installation: helm.sh/docs/intro/install/
-----------------------------------------------------------------------------------------------------------------------
Related Kubernetes tutorials that can be helpful to better understand the content covered in this video:
* Practical Introduction to Helm: • Practical Introduction...
* Create a Helm Chart For YOUR Application: • Create a Helm Chart Fo...
* Manage Your Helm Chart with Helm Commands: • Manage Your Helm Chart...
* Kubernetes Deployment: • Kubernetes Deployments...
* Kubernetes Services: • Kubernetes Service han...
* Kubernetes Pods: • Kubernetes Pods: Day 3...
-----------------------------------------------------------------------------------------------------------------------
Additional Resources used in this video:
* Repository with the deployment resources: github.com/Cloud-Native-Secur...
* 100 Days of Kubernetes repository mentioned: github.com/100daysofkubernete...
* The container image on my Docker Hub: hub.docker.com/r/anaisurlichs...
* The kube-prometheus-stack Helm Chart: github.com/prometheus-communi...
-----------------------------------------------------------------------------------------------------------------------
Weekly DevOps Newsletter:
* Subscribe to my Weekly DevOps Newsletter: anaisurl.com/newsletter/
-----------------------------------------------------------------------------------------------------------------------
🕒Timestamps🕒
00:00 - Introduction to the tutorial
02:00 - What's in the blog post
03:43 - Install Docker Desktop
05:41 - Docker Hub Overview
07:06 - KinD Kubernetes Installation
08:00 - Install Kubectl
08:52 - Create a Kubernetes Cluster
09:46 - Verify Kubernetes Installation
12:20 - Kubernetes Namespaces
15:53 - Installing Helm
18:08 - Understanding Helm Charts
21:02 - Installing the kube-prometheus-stack Helm Chart
22:55 - Customising the Helm Chart through values.yaml
26:15 - What are ServiceMonitors
32:20 - Installing the Helm Chart
33:42 - Deployments, Pods and Services
35:54 - Port-forwarding a Service
39:15 - Customising our Application Deployment
47:06 - How Services and Deployments are connected
50:18 - Creating a ServiceMonitor
54:04 - Querying Metrics in Prometheus
54:47 - Setting up our Grafana Dashboard
57:35 - Everything we did in this tutorial
59:39 - Outro

Пікірлер: 31
@peanut-d-cat
@peanut-d-cat 2 ай бұрын
the way you teach is like telling a friend what a day has been, detailed yet - storylike. captivating for a newb like me whom afraid at first to explore these big terms and words. Thank you and more blessings to come.
@ashharSartaj
@ashharSartaj Жыл бұрын
I m lack of words to thank you for bringing such quality content for free. Please do not stop, such people in tech are really needed. Especially for one who can't afford going to college. Thanks again!
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
These comments are all worth it hahah, amazing!
@ayencoscolfield3312
@ayencoscolfield3312 11 күн бұрын
hahah haha but you dont need to rub that in is not necessary telling about not going to college but i guess you were trying to make a point. Anyways thanks for sharing your thought
@ayencoscolfield3312
@ayencoscolfield3312 11 күн бұрын
Thanks for sharing beautiful contents
@computersindia
@computersindia 2 ай бұрын
The efforts you have made is much appreciated!! Thank you for the wonderful tutorial.
@alexsimonjones
@alexsimonjones Жыл бұрын
What a great tutorial!
@CloudNativeJanitor
@CloudNativeJanitor Жыл бұрын
Awesome work Anais, thank you for sharing it
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
I really hope it is useful! Please let me know what other long-form tutorials would be needed in the space :)
@ictelligent9323
@ictelligent9323 Жыл бұрын
Awesome hands on to get you started, my compliments!
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
thank you, that means a lot!
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
Also, I just got reminded that you need to clean up your environment -- just one command needed for that: "kind delete cluster -n "
@prashlovessamosa
@prashlovessamosa 11 ай бұрын
Thanks for sharing.
@t-roy80
@t-roy80 5 ай бұрын
Thankyou!
@jiangao4426
@jiangao4426 7 ай бұрын
very nice walk through, everything just works when typing along. Towards the end of the blog post, when forwarding service port 9171, there is a missing digit, so the 917 won't work. Just pointing out the small typo. Thanks for the great tutorial
@AyushPanditofficial
@AyushPanditofficial Жыл бұрын
Wow in one hour
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
Hi, I just saw that you posted somewhere that you are unable to log into grafana? How did you name the prometheus helm installation? e.g. in my case it is called prom so the login password is prom-operator and the username should always be admin
@AyushPanditofficial
@AyushPanditofficial Жыл бұрын
@@AnaisUrlichs problem solved mam
@AyushPanditofficial
@AyushPanditofficial Жыл бұрын
@@AnaisUrlichs by the way great tutorial thanks for this contribution
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
@@AyushPanditofficial Amazing! glad you enjoyed it!
@Rahman-xm7zm
@Rahman-xm7zm Жыл бұрын
Hey what terminal shell are you using? it looks beautiful. Can you share the config
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
Heya, I am using ohmyz.sh/ with this github.com/AlexsJones/dotfiles
@AjayKumar-lm4yr
@AjayKumar-lm4yr 10 ай бұрын
Hi all, I'm not getting all the pods and namespace in the Loki, what i do
@BluAngy
@BluAngy 9 ай бұрын
Hello, I'm confused by the tutorial. How did you create the monitoring-resources/new-dashboard.yaml file? Is this autogenerated or created by you?
@dallyntolo145
@dallyntolo145 Жыл бұрын
hi and thank you for this tuto i did your installation on a remote server and i'm at this level "kubectl port-forward -n demo service/prometheus-operated 9090:9090" but when i enter the ip of my server and the port : 9090 i don't have prometheus
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
what service for prometheus on port 9090 do you get when you use "kubectl get all -n demo" -- you have to make sure that prometheus is running correctly, i.e. the prometheus pod so that the service can access it so also check the prometheus pod
@dallyntolo145
@dallyntolo145 Жыл бұрын
@@AnaisUrlichs here is: service/prometheus-operated ClusterIP None 9090/TCP 88m pod/prometheus-prom-kube-prometheus-stack-prometheus-0 2/2 Running 0 88m
@saradalekshmipr3489
@saradalekshmipr3489 Ай бұрын
@@dallyntolo145 Did yo get the answer. I think we need to use load balancer/nodeport
@ianlatif2862
@ianlatif2862 11 ай бұрын
Hi I want to learn all about devops from You , How can I learn from You?
@scriptcircle9989
@scriptcircle9989 Жыл бұрын
thx for sharing
@AnaisUrlichs
@AnaisUrlichs Жыл бұрын
Thanks for watching ☺
Full tutorials: K8sGPT -- Kubernetes Superpowers through AI
38:03
Anais Urlichs
Рет қаралды 8 М.
Русалка
01:00
История одного вокалиста
Рет қаралды 7 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 160 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 31 МЛН
you need to learn Kubernetes RIGHT NOW!!
29:34
NetworkChuck
Рет қаралды 1,1 МЛН
Must Know Linux Commands
23:02
Anais Urlichs
Рет қаралды 1,8 М.
NestJS Beginners Guide - Part 1: Core Concepts and REST API
40:24
Kubernetes Monitoring Made Easy with Prometheus | KodeKloud
1:08:55
Full Tutorial: AlertManager Set up and PrometheusRules
42:06
Anais Urlichs
Рет қаралды 7 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 252 М.
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
TechWorld with Nana
Рет қаралды 2,6 МЛН
Docker Tutorial for Beginners [FULL COURSE in 3 Hours]
2:46:15
TechWorld with Nana
Рет қаралды 5 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 675 М.
iPhone, Galaxy или Pixel? 😎
0:16
serg1us
Рет қаралды 881 М.
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 12 МЛН
Смартфон УЛУЧШАЕТ ЗРЕНИЕ!?
0:41
ÉЖИ АКСЁНОВ
Рет қаралды 1,1 МЛН
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
Вэйми
Рет қаралды 1,3 МЛН
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 9 МЛН