Kubernetes NodePort vs LoadBalancer vs Ingress

  Переглядів 50,685

Anton Putra

Anton Putra

День тому

🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
► Located in San Francisco Bay Area, CA (US citizen)
▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
► LinkedIn: / anton-putra
► Twitter/X: / antonvputra
► GitHub: github.com/antonputra
► Email: me@antonputra.com
▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬
👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
👉 [Playlist] Network Tutorials: • Network Tutorials
👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
👉 [Playlist] Database Tutorials: • Database Tutorials
▬▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬▬
0:00 Intro
0:21 ClusterIP
1:43 NodePort
3:55 LoadBalancer
5:04 Ingress
▬▬▬▬▬▬▬ Source Code 📚 ▬▬▬▬▬▬▬
► GitHub: github.com/antonputra/tutorials
#kubernetes #devops #cloud

КОМЕНТАРІ: 90
@AntonPutra
@AntonPutra 8 місяців тому
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@ShreyasWaichal
@ShreyasWaichal 15 днів тому
Super Helpful Anton..It helped me crack an interview!
@AntonPutra
@AntonPutra 14 днів тому
glad that it helped!
@a.nk.r7209
@a.nk.r7209 10 місяців тому
I highly appreciate your effort to teach advanced stuff with such depth and graphics. Keep them coming
@AntonPutra
@AntonPutra 10 місяців тому
Thanks, will do!
@babaramdass462
@babaramdass462 8 місяців тому
Exactly what I was looking for 🙏
@ianmubangizi
@ianmubangizi 10 місяців тому
Once again, Anton, you are a legend, this is precisely what I wanted to know. Amazing!!! 🔥
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@MrRin_
@MrRin_ 9 місяців тому
Thank you, Anton! Really great stuff, one day I will be as knowledgable as you are
@AntonPutra
@AntonPutra 9 місяців тому
Thank you!
@OsascogamingBrSP
@OsascogamingBrSP 10 місяців тому
I really appreciate your content, thanks Anton!
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@azerbaijan50
@azerbaijan50 10 місяців тому
Thank you for another great video, Anton. It is very informative.
@AntonPutra
@AntonPutra 10 місяців тому
Thank you! Appreciate it!
@nealpan
@nealpan 10 місяців тому
Great visualization. Thanks for sharing.
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@mitya80
@mitya80 8 місяців тому
спасибо ! полезная инфа !
@AntonPutra
@AntonPutra 8 місяців тому
spasibo za otziv!
@nero4581
@nero4581 10 місяців тому
Learning k8s right now and this is video is really interesting. Thank you, Anton!
@AntonPutra
@AntonPutra 10 місяців тому
Thanks! Appreciate it! One more k8s video coming in couple of days
@Antonio-yy2ec
@Antonio-yy2ec 10 місяців тому
Your content is pure gold!!
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@vanshajdhar9223
@vanshajdhar9223 10 місяців тому
Amazing knowledge
@AntonPutra
@AntonPutra 10 місяців тому
Thanks!
@eleven_b_eleven
@eleven_b_eleven Місяць тому
Thanks. Very clear and concise
@AntonPutra
@AntonPutra Місяць тому
thanks!
@sebastiancanevari7287
@sebastiancanevari7287 4 місяці тому
Thank you! Very clear!
@AntonPutra
@AntonPutra 3 місяці тому
thanks!
@xrextamil
@xrextamil 2 місяці тому
Good to learn from you ❤
@joelwembo
@joelwembo 2 дні тому
Very good tutorial with so much details !
@AntonPutra
@AntonPutra 2 дні тому
thanks!
@CloudWithUgur
@CloudWithUgur 9 місяців тому
dude your content is great, I am watching one after one.. thank you
@AntonPutra
@AntonPutra 9 місяців тому
Thank you!
@bunny96
@bunny96 3 місяці тому
perfect explanation, keep it up!
@AntonPutra
@AntonPutra 3 місяці тому
thanks! will do
@LuisGarcia-ec5el
@LuisGarcia-ec5el 10 місяців тому
Excelente video 🤌🏽🙌🏽
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@Gouravpandey1
@Gouravpandey1 13 днів тому
nicely explained. Thankyou!
@AntonPutra
@AntonPutra 13 днів тому
Thanks!
@farzadmf
@farzadmf 10 місяців тому
Very well explained!
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@kayoutube690
@kayoutube690 10 місяців тому
Wow!! Thank you!
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@ukaszl.9943
@ukaszl.9943 10 місяців тому
Great video. Thank you.
@AntonPutra
@AntonPutra 10 місяців тому
my pleasure!
@RafaelDurelli
@RafaelDurelli 10 місяців тому
What a vid. Thanks again
@AntonPutra
@AntonPutra 10 місяців тому
Thanks Rafael!
@diegonayalazo
@diegonayalazo 5 місяців тому
Thanks Teacher
@HoneyHaiderMengha
@HoneyHaiderMengha 6 місяців тому
@anton great work
@AntonPutra
@AntonPutra 6 місяців тому
Thank you Mengha!
@xianxiangchang5251
@xianxiangchang5251 9 місяців тому
What about using NodePort to aggregate different services under 1 load balancer using backends, instance-groups, url-maps, and HTTPS proxy?
@AntonPutra
@AntonPutra 9 місяців тому
Well that's how cloud providers used to do it behind the load balancer type service. Nowadays, they utilize IP mode and route traffic directly to the pod. On-premise, perhaps...
@leoperez2566
@leoperez2566 7 місяців тому
Very well explained.
@AntonPutra
@AntonPutra 7 місяців тому
thanks!
@nforlife
@nforlife 10 місяців тому
Awesome!
@AntonPutra
@AntonPutra 10 місяців тому
Thank you!
@danielecerboni418
@danielecerboni418 9 місяців тому
Thanks
@RashmiDuneja
@RashmiDuneja 3 місяці тому
Subscribed and liked
@AntonPutra
@AntonPutra 3 місяці тому
thank you!
@anas6435
@anas6435 4 місяці тому
Informative content .. Which tool do you use for graphics ?
@AntonPutra
@AntonPutra 4 місяці тому
thanks, adobe suite
@maxmustermann9858
@maxmustermann9858 5 місяців тому
Great Explanation! But I’m still not sure what to use for my setup, I want to setup a kubernetes cluster in the cloud so each node one VM. My cloud provider has a Load Balancer service but limits the possible targets it can connect to, so I thought I will connect the Cloud Load Balancer to a Ingress/Load Balancer on the Cluster which then routes the traffic accordingly. That way I only use 3 Targets of my load balancer and my Cluster also controls the certs, so I don’t need to pay extra for more certs and load balancer recourses. How could I accomplish that, and is this even possible when wanting a production grade/ready cluster?
@AntonPutra
@AntonPutra 5 місяців тому
You can use the Nginx ingress controller. Set it up using a single 'target,' possibly two for HTTP/S, and then internally route to your services using the Nginx controller.
@maxmustermann9858
@maxmustermann9858 5 місяців тому
@@AntonPutra Thanks! So my way wasn’t completely wrong. But as I understand this would now be a single point of failure, so how can I have HA Ingress Controller? Then the external load balancer can point to the 3 or more ingress controller.
@zekeluther
@zekeluther 9 місяців тому
Looking forward on Kubernetes 1.27: Avoid Collisions Assigning Ports to NodePort Services
@AntonPutra
@AntonPutra 9 місяців тому
What's your use case for NodePorts?
@zekeluther
@zekeluther 9 місяців тому
@@AntonPutra chatbot platform with different market region.
@AntonPutra
@AntonPutra 9 місяців тому
@@zekeluther I mean your use case for nodeports, why not to use load balancer or ingress?
@675FresH
@675FresH 10 місяців тому
Thanks for content Anton! May I ask your opinion, is it worth getting a certificate in Kubernetes(CKA or CKAD)?
@AntonPutra
@AntonPutra 10 місяців тому
Personally, I never pay attention to whether a candidate has certificates or not. Perhaps someone else does.
@nforlife
@nforlife 10 місяців тому
That's is a perfect answer
@kaushikkm9336
@kaushikkm9336 5 місяців тому
When we use the ingress, what should be the backend service type ? is it OK if its ClusterIP ?
@AntonPutra
@AntonPutra 5 місяців тому
Use ingress when you want to share one load balancer among multiple services, which is limited to HTTP/S only. Yes, most of the time you would use ClusterIP, except in some edge cases when you use the AWS Load Balancer Controller in instance mode.
@peace2941
@peace2941 7 місяців тому
Anybody has an idea on the tools used to make this video (I mean animations and design) thank you !
@AntonPutra
@AntonPutra 7 місяців тому
I use adobe suite
@peace2941
@peace2941 7 місяців тому
@@AntonPutra Thank you for your answer, that looks very cool but also complicated I guess it's using after Effects right?
@AntonPutra
@AntonPutra 7 місяців тому
@@peace2941 Yes, I create graphics in Illustrator and animate them in After Effects.
@peace2941
@peace2941 7 місяців тому
@@AntonPutra Looks like a lot of effort, thank you, that looks really good !
@AntonPutra
@AntonPutra 7 місяців тому
@@peace2941 Thanks
@ashadujjaman_hiru
@ashadujjaman_hiru 7 місяців тому
Would you please share a tutorial for onpremise scenario, How can I deploy Ingress my onpremise kubernetes cluster? Please please please 😊
@AntonPutra
@AntonPutra 7 місяців тому
For on premise use metallb to create load balancers, then use it to deploy ingress. github.com/metallb/metallb
@davidvillasmil1468
@davidvillasmil1468 8 місяців тому
what lesson number is this? can't fin the docs in github
@AntonPutra
@AntonPutra 8 місяців тому
I think I didn't commit any code for this lesson
@thedeadbaby
@thedeadbaby 2 місяці тому
Why does everyone show the same diagram with a load balancer with many arrows coming out of it, one of which is going into a kubernetes cluster? This only serves to confuse people, as if the data from the load balancer is a straight line pipe into a single cluster. This is not how it actually works. The external load balancer talks directly to the nodes themselves. If you're trying to set up a service mesh, maybe this diagram is accurate, but you're simply confusing people if this is not the case.
@Circe-wz3kg
@Circe-wz3kg 16 днів тому
What do you mean? The arrows on one end are either the ingresses or services themselves and on the other end it's control plane
@RobertGaz
@RobertGaz 5 місяців тому
почему так сложно обяснить получше про LoadBalancer service? Ты говоришь, что он открывает под во вне, но совершенно непонятно, нужно навешивается реально какой-то балансировщик нагрузки или нет? например на 5:00 по смыслу да. а в остальном видео по смыслу нет.
@AntonPutra
@AntonPutra 5 місяців тому
I didn't understand the question. In the cloud, the LoadBalancer service creates a cloud load balancer and routes traffic to your app; on-premise, it depends on your configuration. Also, LoadBalancer can use node ports underneath, and if Kubernetes supports native networks (without virtual network plugins such as Flannel, Calico), it can route directly to your pod's IP address. (I don't have a Russian keyboard.)
@RobertGaz
@RobertGaz 4 місяці тому
@@AntonPutra Hey Anton. Thank you so much for answering! Now this seems to be clear for me.
@davidlee588
@davidlee588 8 місяців тому
➜ ~ kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard 8443:443 Error from server (NotFound): namespaces "kubernetes-dashboard" not found
@AntonPutra
@AntonPutra 8 місяців тому
Have you deployed the dashboard? Run "kubectl get ns" to list all namespaces.
Піхотинець - про рутину на фронті
00:46
Суспільне Новини
Переглядів 1,2 млн
Get a knife! | Standoff 2
01:06
Standoff 2 Live
Переглядів 1,5 млн
Kubernetes Ingress in 5 mins
5:41
IBM Technology
Переглядів 172 тис.
Kubernetes Services networking
7:13
Project Calico
Переглядів 75 тис.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Переглядів 203 тис.
Kubernetes Ingress Explained Completely For Beginners - Updated
22:06
Kubernetes Ingress Explained (2 Types)
8:54
Anton Putra
Переглядів 26 тис.
Kubernetes - Services Explained in 15 Minutes!
14:03
KodeKloud
Переглядів 219 тис.
Most Common Kubernetes Deployment Strategies (Examples & Code)
20:06
Anton Putra
Переглядів 26 тис.
Компьютерная мышь за 50 рублей
0:28
dizzi
Переглядів 2,2 млн
Як знімати з музикою на iPhone #apple #icoola #айфон #айкула #tradein #відновлений #iphone #ремонт
0:18
📱 SAMSUNG, ЧТО С ЛИЦОМ? 🤡
0:46
Яблочный Маньяк
Переглядів 640 тис.