Services | ClusterIP vs NodePort vs LoadBalancer Service | Load Balancing Hands-on
n this video we will be discussing everything you need to know about services.
We'll be understanding the different Service types and their use cases:
1. ClusterIP Service
2. Multi-Port Service
3. NodePort Service
4. LoadBalancer Service
So by the end of the video, you’ll have a great understanding of Kubernetes Services and will be able to use them in practice
Please give a Like and Subscribe - bit.ly/pavanelthepu
Timestamps:
00:00 - Intro
00:55 - Why do we need services?
02:34 - What is a service?
03:16 - Advantages of services
04:02 - Services in action
06:13 - ClusterIP Service
11:55 - Load Balancing Hands-on
15:15 - Multi-Port Services
16:18 - NodePort Services
19:10 - LoadBalancer Services
My other courses:
Docker Complete Course: • Docker Tutorial | Ful...
Thank you very much!
#kubernetes #services #loadbalancing #fullstackdevelopment
Пікірлер: 76
I have watched many videos on kubernetes but Your videos most usefull to learn. thankyou for these videos.
You rarely see people proving the points with practical cases. Thank you pal found this very helpul.
@PavanElthepu
5 ай бұрын
Thank you so much. Please subscribe and share with your friends and colleagues
Got so many new things as a beginner. Thank you so much for beginner friendly tutorial sir ♥
hats off to you bro, you made the trickiest part of k8 so simple, i got the complete idea about service types, Thanks a lot 😍😍
Easy to follow. Very nice explanation. Thanks Pavan. Keep it up 👍
I really like how you diagrams together the node/pod/container and associated it with what values in the various yaml files they are related to... asking/hoping, have you done a video showing the implementation for ingress on AWS / EKS. a recent version. bringing all of this together.
Described this confusing topic in a easy way. Thank you Pavan👍
A rare gem for sure
sir you really did a very good job after listening your classes i have cracked interview thank you very much..i owe you.
@PavanElthepu
7 ай бұрын
Wow, that’s great to hear. Many congratulations💐💐
Thanks Pavan, your explanation is both detailed and crisp. I learned more from this than paid Udemy courses. Good work!!
@PavanElthepu
10 ай бұрын
Means a lot! Thank you so much. Please subscribe and share with your friends and colleagues
Thanks for video❤
Thankyou Pavan Elthepu. Now I've understand the services in k8s.
@PavanElthepu
2 жыл бұрын
Stay tuned for more such videos Auno Gohe
Pavan, Simply superb. the entire K8S story in 20 minutes you explained. Your video is FAR FAR BEST than Nana video. God bless you . thank you. I wish you to make more such videos . thank you again
@PavanElthepu
Жыл бұрын
Wow, really overwhelmed with your love. Thank you so much Raghu Vardhan. Please subscribe and share with your friends and colleagues.
Thanks man, been following your K8s playlist and loving it. Everything is explained in crisp manner.
@PavanElthepu
6 ай бұрын
Thank you Shrikhar. Please subscribe and share with your friends and colleagues
Thank you Pavan for this easy-to-understand video on K8s services. Your explanation has been spot on and made the concept clear.
@PavanElthepu
Жыл бұрын
Thank you Sandeep. Please subscribe and share with your friends and colleagues
Your way of explanation and especially the pictorial representation is like awesome Anyone who watch this session will have no further doubts Good work , keep it up Thanks for this
@PavanElthepu
8 ай бұрын
Thank you so much Naveen. Please subscribe and share with your friends and colleagues
@naveenprasad432
8 ай бұрын
Sure i will
thanks for the great content. I have a question: What enables a pod to be port-forwarded? can all the pods be port forwarded? some jumpbox running as pods does not support port-forwarding.
very helpful!!
I watched may tutorial on K* , yours are really one of best and really hands on . Thakn you !
@PavanElthepu
Жыл бұрын
Thank you so much Saleem. Means a lot. Please subscribe and share with your friends and colleagues. Happy Learning!
This cleared up so many questions I had after watching a bunch of other videos. Great job! Question: can I have both a LB service and a nodeport service to the same app? I want a VIP to my whole Openfire cluster, but also be able to log into the individual nodes' web console
Awesome work, you save my time.
@PavanElthepu
9 ай бұрын
Thank you, please subscribe and share with your friends and colleagues
Nice Pavan ..Simple and elegent.
@PavanElthepu
8 ай бұрын
Thank you so much. Please subscribe and share with your friends and colleagues🙏
With ClusterIP-type service, you showed load balancer runs properly by running your script since kube-proxy does as a load balancer. With Load Balancer-type service, the kube-proxy load balancer runs or not? The kube-proxy load balancer runs ONLY when ClusterIP or NodePort-type service is configured?
Easy and in detail explanation ❤❤
@PavanElthepu
Жыл бұрын
Thanks a lot😊. Please subscribe and share with your friends and colleagues
Thanks
This explanation was too good pavan♥️♥️
@PavanElthepu
Жыл бұрын
Thank you 🙏. Please subscribe and share with your friends and colleagues
Thx
Hi Pavan, quick question on node port service, let say we have two worker nodes, with ips: 1.1.1.1, 1.1.1.2 respectively, pod1 is on node1. If we have to use node port service ( say 3000) we must also know which node is running the pod . In our case it is worker node1, if node1 goes down, Pod1 will be run on worker node2 but external users does not know that. they continue to use 1.1.1.1:3000. Right? Much appreciated!!
Excellent Sir
@PavanElthepu
Жыл бұрын
Thank you. Please subscribe and share with your friends and colleagues
@sauplmaity2868
Жыл бұрын
@@PavanElthepu subscribed..!!
Hi Bro, your videos are very informative and heart touching and please make videos regarding real time tasks in kuberntes that how we will resolve it, if you will make this type of videos then we feel proud and lots of help so please bro....🙏🙏
@PavanElthepu
Жыл бұрын
Sure Jalandhar
Thank you
@PavanElthepu
3 ай бұрын
Thank you so much. Please subscribe and share with your friends and colleagues
Thanks Pavan for the videos, clear explanations. can you please the GIT repo so that it will be easier to practice.
@PavanElthepu
9 ай бұрын
Hi Praveen, you can find all the resources here: github.com/pelthepu/Kubernetes/tree/master/resources
@praveenmustoor654
9 ай бұрын
@@PavanElthepu Am able to ping the pods without getting into the pods, with curl : i can get the pods response
Nice explanation with easy way to understand hard topics ..Thankyou ..please Add Head less service also??..
@PavanElthepu
2 жыл бұрын
Thank you so much Rakesh. I'll cover it in some other video when we get a use case.
@PavanElthepu
Жыл бұрын
Hi Rakesh, I uploaded Statefulset video and that will cover headless kzread.info/dash/bejne/l4mVj6t9gKqyXbQ.html
I can curl from pod1 to pod2 using clusterIP successful but curl using service name gives response " could not resolve host ... " What could be the reason please suggest
bro how to create local host in linux could you plz explain
Y could not we access application on master node when we do curl cluster IP Curl cluster IP:port Above command I run on master node But didnot access
can you plan for series for isio
@PavanElthepu
9 ай бұрын
Sure👍
How service port and pod port is same?
could you please explain how nodePort works in multiple node scenario.
@PavanElthepu
Жыл бұрын
Sure Mohanty. I’ll try to make a video on it
Hi, Pawan when I am trying to access Nodeport service from browser it doesn't work any suggestions. I followed exactly what you did in the video.
@vaibhavasundkar5527
9 күн бұрын
yes same is happening with me as well
@19:52 though we change the type: Loadbalance we still kept nodePort: 30000 👈 No problem If we place it over there?
@PavanElthepu
2 ай бұрын
No problem
@user-bu3em6zg4r
2 ай бұрын
@@PavanElthepu thanks Pavan Sir
sir can you please explain multi-port service?
@PavanElthepu
Жыл бұрын
I'll try to see if I can make a short video on it
Good video but you need a new microphone. Hard to understand you.
how can i get local cluster ip using kind , i am not using minikube (minikube ip -p local-cluster)
@PavanElthepu
Жыл бұрын
in Kind, you can use the kubectl get nodes -o wide command to get the IP address of the control-plane node, which is the IP address of the Kubernetes cluster
*istio
Hi Pavan, I have created my own k8s cluster with one master and one worker nodes using kubeadm. I deployed my spring boot application and exposed a NodePort service for my spring boot deployment. My master node IP is 192.168.254.xx and my worker node IP is 192.168.254.yy, my node port service port is 30000, now could you please guide me on how to access my spring boot on the internet?
@PavanElthepu
2 жыл бұрын
Hi Srinivasan, If your node is reachable from outside of the Kubernetes cluster, you can access it with 192.168.254.yy:30000