Kubernetes NodePort vs LoadBalancer vs Ingress

  Рет қаралды 74,403

Anton Putra

Anton Putra

Күн бұрын

Пікірлер: 100
@AntonPutra
@AntonPutra Жыл бұрын
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
@a.nk.r7209
@a.nk.r7209 Жыл бұрын
I highly appreciate your effort to teach advanced stuff with such depth and graphics. Keep them coming
@AntonPutra
@AntonPutra Жыл бұрын
Thanks, will do!
@nero4581
@nero4581 Жыл бұрын
Learning k8s right now and this is video is really interesting. Thank you, Anton!
@AntonPutra
@AntonPutra Жыл бұрын
Thanks! Appreciate it! One more k8s video coming in couple of days
@ianmubangizi
@ianmubangizi Жыл бұрын
Once again, Anton, you are a legend, this is precisely what I wanted to know. Amazing!!! 🔥
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@OsascogamingBrSP
@OsascogamingBrSP Жыл бұрын
I really appreciate your content, thanks Anton!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@MrRin_
@MrRin_ Жыл бұрын
Thank you, Anton! Really great stuff, one day I will be as knowledgable as you are
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@ShreyasWaichal
@ShreyasWaichal 5 ай бұрын
Super Helpful Anton..It helped me crack an interview!
@AntonPutra
@AntonPutra 5 ай бұрын
glad that it helped!
@babaramdass462
@babaramdass462 Жыл бұрын
Exactly what I was looking for 🙏
@varunj34
@varunj34 3 ай бұрын
This was really good. Thank you. Although the first part of how ClusterIP was exposed outside for the Kubernetes Dashboard kinda went over my head 😅
@AntonPutra
@AntonPutra 3 ай бұрын
thanks :) let me know if you have any questions
@azerbaijan50
@azerbaijan50 Жыл бұрын
Thank you for another great video, Anton. It is very informative.
@AntonPutra
@AntonPutra Жыл бұрын
Thank you! Appreciate it!
@CloudWithUgur
@CloudWithUgur Жыл бұрын
dude your content is great, I am watching one after one.. thank you
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@joelwembo
@joelwembo 4 ай бұрын
Very good tutorial with so much details !
@AntonPutra
@AntonPutra 4 ай бұрын
thanks!
@zekeluther
@zekeluther Жыл бұрын
Looking forward on Kubernetes 1.27: Avoid Collisions Assigning Ports to NodePort Services
@AntonPutra
@AntonPutra Жыл бұрын
What's your use case for NodePorts?
@zekeluther
@zekeluther Жыл бұрын
@@AntonPutra chatbot platform with different market region.
@AntonPutra
@AntonPutra Жыл бұрын
@@zekeluther I mean your use case for nodeports, why not to use load balancer or ingress?
@nealpan
@nealpan Жыл бұрын
Great visualization. Thanks for sharing.
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@vanshajdhar9223
@vanshajdhar9223 Жыл бұрын
Amazing knowledge
@AntonPutra
@AntonPutra Жыл бұрын
Thanks!
@Antonio-yy2ec
@Antonio-yy2ec Жыл бұрын
Your content is pure gold!!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@eleven_b_eleven
@eleven_b_eleven 6 ай бұрын
Thanks. Very clear and concise
@AntonPutra
@AntonPutra 6 ай бұрын
thanks!
@Gouravpandey1
@Gouravpandey1 5 ай бұрын
nicely explained. Thankyou!
@AntonPutra
@AntonPutra 5 ай бұрын
Thanks!
@nds8780
@nds8780 2 ай бұрын
Great stuff!
@AntonPutra
@AntonPutra 2 ай бұрын
thank you!
@LuisGarcia-ec5el
@LuisGarcia-ec5el Жыл бұрын
Excelente video 🤌🏽🙌🏽
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@kayoutube690
@kayoutube690 Жыл бұрын
Wow!! Thank you!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@sebastiancanevari7287
@sebastiancanevari7287 9 ай бұрын
Thank you! Very clear!
@AntonPutra
@AntonPutra 8 ай бұрын
thanks!
@mitya80
@mitya80 Жыл бұрын
спасибо ! полезная инфа !
@AntonPutra
@AntonPutra Жыл бұрын
spasibo za otziv!
@bunny96
@bunny96 8 ай бұрын
perfect explanation, keep it up!
@AntonPutra
@AntonPutra 8 ай бұрын
thanks! will do
@auzanwidhatama9421
@auzanwidhatama9421 3 ай бұрын
I thought you were Indonesian 😅 Putra is a really common name here. Great content btw!
@AntonPutra
@AntonPutra 3 ай бұрын
Thanks! 😃 coming back to Bali soon :))
@RafaelDurelli
@RafaelDurelli Жыл бұрын
What a vid. Thanks again
@AntonPutra
@AntonPutra Жыл бұрын
Thanks Rafael!
@ukaszl.9943
@ukaszl.9943 Жыл бұрын
Great video. Thank you.
@AntonPutra
@AntonPutra Жыл бұрын
my pleasure!
@farzadmf
@farzadmf Жыл бұрын
Very well explained!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@thedeadbaby
@thedeadbaby 7 ай бұрын
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 5 ай бұрын
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
@leoperez2566
@leoperez2566 Жыл бұрын
Very well explained.
@AntonPutra
@AntonPutra Жыл бұрын
thanks!
@rexzgamer
@rexzgamer 6 ай бұрын
Good to learn from you ❤
@HoneyHaiderMengha
@HoneyHaiderMengha 11 ай бұрын
@anton great work
@AntonPutra
@AntonPutra 11 ай бұрын
Thank you Mengha!
@nforlife
@nforlife Жыл бұрын
Awesome!
@AntonPutra
@AntonPutra Жыл бұрын
Thank you!
@user-ano-x5c
@user-ano-x5c 9 ай бұрын
Informative content .. Which tool do you use for graphics ?
@AntonPutra
@AntonPutra 9 ай бұрын
thanks, adobe suite
@ashadujjaman_hiru
@ashadujjaman_hiru Жыл бұрын
Would you please share a tutorial for onpremise scenario, How can I deploy Ingress my onpremise kubernetes cluster? Please please please 😊
@AntonPutra
@AntonPutra Жыл бұрын
For on premise use metallb to create load balancers, then use it to deploy ingress. github.com/metallb/metallb
@maxmustermann9858
@maxmustermann9858 10 ай бұрын
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 10 ай бұрын
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 10 ай бұрын
@@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.
@675FresH
@675FresH Жыл бұрын
Thanks for content Anton! May I ask your opinion, is it worth getting a certificate in Kubernetes(CKA or CKAD)?
@AntonPutra
@AntonPutra Жыл бұрын
Personally, I never pay attention to whether a candidate has certificates or not. Perhaps someone else does.
@nforlife
@nforlife Жыл бұрын
That's is a perfect answer
@dotnetknack
@dotnetknack 2 ай бұрын
Awesome :)
@AntonPutra
@AntonPutra 2 ай бұрын
thanks!
@equbqlalam6230
@equbqlalam6230 3 ай бұрын
GREAT
@AntonPutra
@AntonPutra 3 ай бұрын
thank you!
@RashmiDuneja
@RashmiDuneja 8 ай бұрын
Subscribed and liked
@AntonPutra
@AntonPutra 8 ай бұрын
thank you!
@diegonayalazo
@diegonayalazo 10 ай бұрын
Thanks Teacher
@danielecerboni418
@danielecerboni418 Жыл бұрын
Thanks
@xianxiangchang5251
@xianxiangchang5251 Жыл бұрын
What about using NodePort to aggregate different services under 1 load balancer using backends, instance-groups, url-maps, and HTTPS proxy?
@AntonPutra
@AntonPutra Жыл бұрын
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...
@kaushikkm9336
@kaushikkm9336 10 ай бұрын
When we use the ingress, what should be the backend service type ? is it OK if its ClusterIP ?
@AntonPutra
@AntonPutra 10 ай бұрын
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.
@RobertGaz
@RobertGaz 9 ай бұрын
почему так сложно обяснить получше про LoadBalancer service? Ты говоришь, что он открывает под во вне, но совершенно непонятно, нужно навешивается реально какой-то балансировщик нагрузки или нет? например на 5:00 по смыслу да. а в остальном видео по смыслу нет.
@AntonPutra
@AntonPutra 9 ай бұрын
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 9 ай бұрын
@@AntonPutra Hey Anton. Thank you so much for answering! Now this seems to be clear for me.
@davidvillasmil1468
@davidvillasmil1468 Жыл бұрын
what lesson number is this? can't fin the docs in github
@AntonPutra
@AntonPutra Жыл бұрын
I think I didn't commit any code for this lesson
@peace2941
@peace2941 Жыл бұрын
Anybody has an idea on the tools used to make this video (I mean animations and design) thank you !
@AntonPutra
@AntonPutra Жыл бұрын
I use adobe suite
@peace2941
@peace2941 Жыл бұрын
@@AntonPutra Thank you for your answer, that looks very cool but also complicated I guess it's using after Effects right?
@AntonPutra
@AntonPutra Жыл бұрын
@@peace2941 Yes, I create graphics in Illustrator and animate them in After Effects.
@peace2941
@peace2941 Жыл бұрын
@@AntonPutra Looks like a lot of effort, thank you, that looks really good !
@AntonPutra
@AntonPutra Жыл бұрын
@@peace2941 Thanks
@davidlee588
@davidlee588 Жыл бұрын
➜ ~ kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard 8443:443 Error from server (NotFound): namespaces "kubernetes-dashboard" not found
@AntonPutra
@AntonPutra Жыл бұрын
Have you deployed the dashboard? Run "kubectl get ns" to list all namespaces.
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,5 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 40 МЛН
Inside Out 2: ENVY & DISGUST STOLE JOY's DRINKS!!
00:32
AnythingAlexia
Рет қаралды 16 МЛН
Kubernetes Ingress Explained (2 Types)
8:54
Anton Putra
Рет қаралды 39 М.
Kubernetes Ingress networking
5:57
Project Calico
Рет қаралды 53 М.
API Gateway vs Load Balancer vs Reverse Proxy: when to use what?
9:06
Software Developer Diaries
Рет қаралды 19 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 300 М.
Kubernetes Ingress Explained Completely For Beginners - Updated
22:06
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,5 МЛН