00:04 Kubernetes services are critical components in production scenarios. 02:17 Creating multiple replicas in Kubernetes helps distribute the load and handle more requests. 06:20 Load balancing and service concept in Kubernetes 08:33 Instead of giving each user project a specific IP address, create a load balancer service using Kubernetes. 12:50 Service discovery is an advantage of Kubernetes services. 15:10 Kubernetes service uses labels and selectors for service discovery mechanism. 19:21 Exposing application to the world 21:14 A Kubernetes service can expose your application outside the cluster. 25:24 Different types of service in Kubernetes 27:42 Kubernetes load balancer creates a public IP address for accessing the application. 31:29 Kubernetes services offer load balancing, service discovery, and application exposure. 33:20 Different types of load balancing in Kubernetes
@@AbhishekVeeramalla sir, why did not you explain like real time for example in real time we can not access cluster like this, you should have explained kube config file
For each deployment you will create a service in the world of Kubernetes. So what is ideal pod numbers/count of replicas is decided by number of concurrent users trying to access the application and no. Of user or load a single pod can handle. When a pod replica dies, a new pod replaces with new ip adress as a feature of auto healing Service created on top of development and it acts as load balancer. Instead of accessing the ips of every single pod, service is used instead. Service using the kube-proxy will forward the request to underlying pod based on label and selectors, load balancing them out at the same time. Service keep tracks of pods based on labels and selectors instead of ip adress, since ip adress are bound to change. Service also expose your application to the external world, for end user to use the application.
There are three types of services 1. Cluster ip _ application will be accessed inside the cluster. Only if you have access to network inside the cluster/ cni /container network i.e flannel, calico. 2 node port - inside the organisation, or i can say whoever has access to the worker node ip address ( ec2 instance ip address or vpc ip address) 3. Load balancer type service - access service from external world. You will get ELB (elastic load balancer) in EKS, That has public address. Only for cloud provider implementation.
One of the resources for DevOps .... Thank you for making this effort... You will be remembered as the best teacher for the upcoming DevOps Engineers... One of my best quotes: "" Wherever you go, leave your mark"".. Bro, you made a mark in this segment.. Once again thank you... ❤️❤️❤️
Thanks mate, your all the series are very useful and informative. You are putting lot of effort and time which is highy appreciable. Keep up the good work.
Hi Abhishek, I don't know what to write more than that after reading all those comments below. You are Amazing Brother ! I heart fully wish good luck for all your future endeavors. May God shower his blessings upon you.
Please clarify my doubt , How load balancer identifies the load on the pod as the labelling for all the pods of replica set are same. How it will distribute load to different pods.
HI Abhishek, your doing great job. I Noticed that, even while using cloud service such as AWS if we create nodeport service for any deployment, that application can be accessed using publicIP address of worker node + port of the node, by this can we understand like by using nodeport service also we can expose application to external internet world. some where i read it is not recommended but possible , correct me if i am wrong.
Hi abhishek, can you please suggest how to get these theory stuff whatever your'e teaching us, to prepare for interview because it is absolutely very good stuff.
You always say tricky things in a simple manner, and there are no words for your nice explanation always, you are the best teacher on RUclips Thank you so much Abhi 😊
Hi anna, we may not exposing every service to outside world, we must be using services to disover other services in the cluster in that case what if a service which is for internal use haa gone down, then how can other service can discover the service which has gone down , as you said we will be giving the ip address of payment service to the user service, if the service has come up it might have new ip right, how will it get discovered?
Hello sir, can you make one project for members only like 3 tier application suppose front end and backend as well as db. And please involved end to end like from git to kubernetes. And this project includes all open source tool which is popular in devops. Thankyou once again. For this amazing lecture.. Many things is getting clear now. About kubernetes and docker.
HI Abhishek, while Expose Service LoadBalancer it's showing pending status and I don't see aws console any LoadBalancer. Eg:ku expose deployment app1 --port 80 --type LoadBalancer and i tried deployment through yaml file also it's showing External IP Pending showing. and i was checked in AWS Console also not able showing any LoadBalancer through iam using KOPS 1.i have gave full permission and ELB policy also. can you help me out where i was stuck.
Sometimes it might take a couple of minutes but if you watched it after couple of mins and still dont see it Check if the cloud controller manager is running and check the logs
Abhishek bro u don’t deserve a like and don’t ask for. After watching the video u deserve 10k like and love and that’s gun shot. I was really scared to learn docker k8s and terraform. Because of u I feel much confident now. Thanks a ton brotha🎉
Yes, you explain teh Beauty, with Question of "Why?". Mostly pople don't explain or try to get to explain WHY WHY WHY ? but you do which is imp. I will definelty tag you after making on project of application + permanent store of databases.
wonderful technical aspects that your providing to the people is amazing. Especially, beginners would grab this as hot cake. I knew preparing these materials are not easy, but i appericate your good heart for sharing knoweledge
@AbhishekVeeramalla Bro, Thanks for the detailed explanation, I can understand if a pod goes down, based on the label(not considering its IP) a new one will be created and continue from where it left. what happens, if 2 different pods with a same label goes down at a same time. Won't there be any clash or any issues(Hope we have some solution, but just wanted to know about the solution)
@@AbhishekVeeramalla Bro, Thanks for the quick response. Sorry for the another/chaining question 😋. Is this possible that a new pod created to replace Pod A (used by the developer team) could be scheduled on the same node where Pod B (used by the testing team) was running before. Similarly, a new pod created to replace Pod B could be scheduled on the same node where Pod A was running before(Opposite way). As both of the pods are having the same label-name.
what if there are multiple workers? what will be the public address exposed? can more nodes be independent from each other and provide different services so more than one public ip must be available?
really bhaiya Your way of using Techniq and taking each of the points and clearing us in a good way to teach us is very awesome. I really appreciate that you are helping all people get jobs as a free class. Thank you so much, Bhaiya.🙂
bro trust me i had lot of courses frm lot of edutech companies and websites but no one explained me in the way u explained thnx a lot 🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳
Powerful Mentor only can teach powerful technology and same we are seeing here. Thanks bro your are besttttttttttttttttt mentorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr.
What i can understand with this video is that the service in Kubernetes is basically used to communicate with the application that we have Deployed Right.
hi Abhishek, 1.)can service send traffic to pod 2 also the traffic of user project 1 people. incase if needed. 2.) can a service be like all three types like loadbal,clusterip,node port in one single cluster.
Hi sir , amazing work . Small query . I am into non it last 3 years .. want to move to devops and cloud . Now cleared aws cloud practitioner. And doing yours zero to hero . Is this sufficient to fetch a job in devops ..
I am yet to learn Kubernetes as part of my DevOps course module. Those videos from Days 30 to 36 has really opened my eyes. Thank you Abhishek, your impact transcends continents.
bhaiya can clear the difference between the first thing you have told about svc is load balancing and then you told that svc 3rd type is load balance, so my question that is there difference between both or they are same ?
Hi Abhishek, concepts which are confuse your explaining them very clear...if you don't mind can you please share documents class wise so that we can easily refer and remember those topic wise
Amazing video! I've watched other Kubernetes tutorials in the past, but none of them were as engaging or informative as this one. your passion for the helping students, sharing the knowledge was evident, and I learned a lot from your videos. I'll definitely be sharing this with my colleagues and friends. Thank a lot @abhishek
Hi Abhi, I have a requirement to delete the logs files in the mongodb pods which are created by statefull set in openshift cluster . so i created the cronjob but was unable to execute with mondodb pods. so how to connect the particular cron job with those pods. so that we can full fill the requirement.
Hi Abhishek When I tried the kubernetes service I am getting error like "Failed to connect to IP port 30007: could not connect to server" I have referenced your video fully to do the same, but still facing issue. Please help me to understand what I am doing wrong here
In case someone asks, can you please send me Abhishek sir's notes on Services Discovery and Load Balancing, it'll include subtitles for every second spoken in this video along with diagrams 😂 That's a great video, sir ❤
Thanks!
Thanks alot for supporting the channel 😍. It means alot to the channel 🎉
Abhishek bhaiya doesn't needs devops but devops needs him 👑
Haha .. thanks bhai
00:04 Kubernetes services are critical components in production scenarios.
02:17 Creating multiple replicas in Kubernetes helps distribute the load and handle more requests.
06:20 Load balancing and service concept in Kubernetes
08:33 Instead of giving each user project a specific IP address, create a load balancer service using Kubernetes.
12:50 Service discovery is an advantage of Kubernetes services.
15:10 Kubernetes service uses labels and selectors for service discovery mechanism.
19:21 Exposing application to the world
21:14 A Kubernetes service can expose your application outside the cluster.
25:24 Different types of service in Kubernetes
27:42 Kubernetes load balancer creates a public IP address for accessing the application.
31:29 Kubernetes services offer load balancing, service discovery, and application exposure.
33:20 Different types of load balancing in Kubernetes
I can never get tired of saying you are the best teacher!!!
Thanks alot
@@AbhishekVeeramalla sir, why did not you explain like real time for example in real time we can not access cluster like this, you should have explained kube config file
sir, why did not you explain like real time for example in real time we can not access cluster like this, you should have explained kube config file
For each deployment you will create a service in the world of Kubernetes.
So what is ideal pod numbers/count of replicas is decided by number of concurrent users trying to access the application and no. Of user or load a single pod can handle.
When a pod replica dies, a new pod replaces with new ip adress as a feature of auto healing
Service created on top of development and it acts as load balancer. Instead of accessing the ips of every single pod, service is used instead.
Service using the kube-proxy will forward the request to underlying pod based on label and selectors, load balancing them out at the same time.
Service keep tracks of pods based on labels and selectors instead of ip adress, since ip adress are bound to change.
Service also expose your application to the external world, for end user to use the application.
There are three types of services
1. Cluster ip _ application will be accessed inside the cluster. Only if you have access to network inside the cluster/ cni /container network i.e flannel, calico.
2 node port - inside the organisation, or i can say whoever has access to the worker node ip address ( ec2 instance ip address or vpc ip address)
3. Load balancer type service - access service from external world. You will get ELB (elastic load balancer) in EKS, That has public address. Only for cloud provider implementation.
One of the resources for DevOps ....
Thank you for making this effort...
You will be remembered as the best teacher for the upcoming DevOps Engineers...
One of my best quotes:
"" Wherever you go, leave your mark""..
Bro, you made a mark in this segment..
Once again thank you... ❤️❤️❤️
Thanks a ton
So true
request will be sent to label rather than ip by svc(IMP point)
Right time at right channel, am proud of myself, n thank u so much for creating this series for us ♥️
My pleasure 😊
Thanks mate, your all the series are very useful and informative. You are putting lot of effort and time which is highy appreciable. Keep up the good work.
Thanks alot 😊. Your support means alot to the channel.
Very well explained
Thanks for your efforts Abhishek
Thanks ❤️
Hi Abhishek, I don't know what to write more than that after reading all those comments below. You are Amazing Brother ! I heart fully wish good luck for all your future endeavors. May God shower his blessings upon you.
Thanks alot 🙏
You are a guru! Everything is demystified !! Thank you sir
Thanks alot . Please share the videos
Please clarify my doubt , How load balancer identifies the load on the pod as the labelling for all the pods of replica set are same. How it will distribute load to different pods.
Hi Abhi, Good explanation about the K8S Services, Explained about Labels but Need few example and explanation about Selectors
You r the best mentor..your r giving the best understanding of any of the topics which I had seen.. thank you so much ❣️
Thanks alot
20th Feb, 2024
sir, why did not you explain like real time for example in real time we can not access cluster like this, you should have explained kube config file
Thanks for the feedback.. Will try sometime
Hey Abhishek how services work for on-premise if it is a load balancer type? How will a public IP address will be generated as it does not have CCM
HI Abhishek, your doing great job.
I Noticed that, even while using cloud service such as AWS if we create nodeport service for any deployment, that application can be accessed using publicIP address of worker node + port of the node, by this can we understand like by using nodeport service also we can expose application to external internet world.
some where i read it is not recommended but possible , correct me if i am wrong.
Thanks alot Abhishek bhaiya for this wonderful Explanation of Kubernetes Services🙏
Hi abhishek, can you please suggest how to get these theory stuff whatever your'e teaching us, to prepare for interview because it is absolutely very good stuff.
You always say tricky things in a simple manner, and there are no words for your nice explanation always, you are the best teacher on RUclips
Thank you so much Abhi 😊
Thanks alot
Hi Sir, just wanted to know if each pod has unique selector or label or is it same for every pod.
thank you soo much,,,learnedf alot in this video
Hi abhishek would please share the Kubernetes notes i love your way of explanation ❤
Hi anna, we may not exposing every service to outside world, we must be using services to disover other services in the cluster in that case what if a service which is for internal use haa gone down, then how can other service can discover the service which has gone down , as you said we will be giving the ip address of payment service to the user service, if the service has come up it might have new ip right, how will it get discovered?
Hello sir, can you make one project for members only like 3 tier application suppose front end and backend as well as db. And please involved end to end like from git to kubernetes. And this project includes all open source tool which is popular in devops. Thankyou once again. For this amazing lecture.. Many things is getting clear now. About kubernetes and docker.
Sure
@@AbhishekVeeramalla please make one video on 3 tier application front end , backend and db using secrets and cofigmap
HI Abhishek,
while Expose Service LoadBalancer it's showing pending status and I don't see aws console any LoadBalancer.
Eg:ku expose deployment app1 --port 80 --type LoadBalancer
and i tried deployment through yaml file also
it's showing External IP Pending showing. and i was checked in AWS Console also not able showing any LoadBalancer
through iam using KOPS
1.i have gave full permission and ELB policy also.
can you help me out where i was stuck.
Sometimes it might take a couple of minutes but if you watched it after couple of mins and still dont see it
Check if the cloud controller manager is running and check the logs
18:28 how come service know that another pod has been created (which component are giving this info to service)
Abhishek bro u don’t deserve a like and don’t ask for. After watching the video u deserve 10k like and love and that’s gun shot. I was really scared to learn docker k8s and terraform. Because of u I feel much confident now. Thanks a ton brotha🎉
❤️❤️❤️
Subscribed,liked.. thanks
well explained. now i can say that kubernetes is easy.
Awesome
Can we create only a container on kubernetes instead of Pod ?
Yes, you explain teh Beauty, with Question of "Why?". Mostly pople don't explain or try to get to explain WHY WHY WHY ? but you do which is imp. I will definelty tag you after making on project of application + permanent store of databases.
Yup, that is very important
Very well explained bro,
Thanks for your efforts 🙂
Most welcome 😊
Thanks!
Thanks alot for contributing to the channel.
Bro please also make videos on python for beginners and for DevOps from scratch. And why don't you conduct online courses on platforms like udemy?
sure, I will do brother. regarding online course. I dont have any plans for now.
Very good explanation. Better than any paid courses on EdTech platform. Thanks for enlightening.
🔥
I tried to learn Kubernetes in Udemy by Tutorials. But Abhishek Tech me lot, more than Any.
Glad to hear that
Hi Abhishek can you explain with actual real time example of day to day activities ..you explained well but not with actual scenarios in detail.
Noted sure
wonderful technical aspects that your providing to the people is amazing. Especially, beginners would grab this as hot cake. I knew preparing these materials are not easy, but i appericate your good heart for sharing knoweledge
Thank you so much!
Finally understood service discovery.
@AbhishekVeeramalla Bro, Thanks for the detailed explanation, I can understand if a pod goes down, based on the label(not considering its IP) a new one will be created and continue from where it left. what happens, if 2 different pods with a same label goes down at a same time. Won't there be any clash or any issues(Hope we have some solution, but just wanted to know about the solution)
No issues
@@AbhishekVeeramalla Bro, Thanks for the quick response. Sorry for the another/chaining question 😋. Is this possible that a new pod created to replace Pod A (used by the developer team) could be scheduled on the same node where Pod B (used by the testing team) was running before. Similarly, a new pod created to replace Pod B could be scheduled on the same node where Pod A was running before(Opposite way). As both of the pods are having the same label-name.
what if there are multiple workers? what will be the public address exposed? can more nodes be independent from each other and provide different services so more than one public ip must be available?
Irrespective of the number of nodes .. service will be only one. So load balancer IP will be only one. That can be found by
kubectl get svc
really bhaiya Your way of using Techniq and taking each of the points and clearing us in a good way to teach us is very awesome. I really appreciate that you are helping all people get jobs as a free class. Thank you so much, Bhaiya.🙂
It's my pleasure
this is a terrific ground level explaination. completely understood why service is used in k8s and its features. Thank you for the explanation sir🤟
Glad it was helpful!
bro trust me i had lot of courses frm lot of edutech companies and websites but no one explained me in the way u explained thnx a lot 🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳🥳
Means alot
Very Well Explained !!
Nicely explained bro... Can you please take one session on TLS/SSL K8 Certificate related topics
sure
thanks abhishek bro😍😍
Thanks alot Abhishek
Hi abhishek can you please make a video on continuos integration delpoyent and delivery?
Its already available on the channel. Please chdck ultimate cicd pipeline
Powerful Mentor only can teach powerful technology and same we are seeing here. Thanks bro your are besttttttttttttttttt mentorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr.
What i can understand with this video is that the service in Kubernetes is basically used to communicate with the application that we have Deployed Right.
This is one point but there are other advantages that I explained in the video
Bro are you covering advanced topics like k8s networking, istio , rbac , cluster role, bindings etc..
Also setting up TLS setup
All that will be explained in a very simple way bro
@@AbhishekVeeramalla thanks ☺️👍
Kindly explain the what is the name space in kubernetes
sure. I will explain
@@AbhishekVeeramalla tqsm for your response
Thank you so much my concepts are cleared after watching this video.
Awesome
Crystal clear explanation. Thanks sir
hi Abhishek, 1.)can service send traffic to pod 2 also the traffic of user project 1 people. incase if needed.
2.) can a service be like all three types like loadbal,clusterip,node port in one single cluster.
This mean. If 10 deployments then 10 services. And also 10 load balancers use?
Hi sir , amazing work . Small query . I am into non it last 3 years .. want to move to devops and cloud . Now cleared aws cloud practitioner. And doing yours zero to hero . Is this sufficient to fetch a job in devops ..
I am yet to learn Kubernetes as part of my DevOps course module. Those videos from Days 30 to 36 has really opened my eyes. Thank you Abhishek, your impact transcends continents.
Just osm
Thank you so much
Can you please conduct complete CKA certification course?
Paid bhi chalega
Very nice 💯
Thank you so much, Brother. You are a guru!
sir, a session on resume and how to include projects on resume please
Ok noted . For sure
kya baat hai
bhaiya can clear the difference between the first thing you have told about svc is load balancing and then you told that svc 3rd type is load balance, so my question that is there difference between both or they are same ?
Both are same
@@AbhishekVeeramalla okay thank you bhaiya.
hi
Before starting video i everytime think i can not learn it but your teaching style is so good that it becomes easy to understand ❤️
Glad to hear that
Anna, Tell me about Head loss service?
Noted
The best ever tutorial on Kubernetes services......Thanks a lot Sir
Thank you so much 😀
Hi Abhishek, concepts which are confuse your explaining them very clear...if you don't mind can you please share documents class wise so that we can easily refer and remember those topic wise
Amazing video! I've watched other Kubernetes tutorials in the past, but none of them were as engaging or informative as this one. your passion for the helping students, sharing the knowledge was evident, and I learned a lot from your videos. I'll definitely be sharing this with my colleagues and friends. Thank a lot @abhishek
Thanks alot .. I am glad you found the video useful.
These are very useful and anyone can understand easily. u r doing grt job sir🙏🙏
Thanks alot
Cleared all doubts in one video 🖖waiting for other videos.!
Awesome
Bro thank you so much for these sessions .....and a small request from my side is if possible pls provide any sample resume for devops 4+yrs
Check Hireit DevOps Resume Database bro
@@AbhishekVeeramalla ohh ok bro, thank you so much for the reply
Awsome Blossom, I , got the better understanding of Kubernetes because of you thank you very much, :)
Hi Abhi, I have a requirement to delete the logs files in the mongodb pods which are created by statefull set in openshift cluster . so i created the cronjob but was unable to execute with mondodb pods. so how to connect the particular cron job with those pods. so that we can full fill the requirement.
Can you please guide me on this ?
it is not easy to answer without looking into the cluster
Can you please mentioned the approach
great efforts Abihishek. thank you
Welcome
Sir any detailed videos on AWS in the coming days?
Yes .. Very very soon .. After Kubernetes
Hi Abhishek
When I tried the kubernetes service I am getting error like "Failed to connect to IP port 30007: could not connect to server"
I have referenced your video fully to do the same, but still facing issue. Please help me to understand what I am doing wrong here
When do port forwarding it works, can you explain bit about it
great bro..Kubernetes services are now crystal clear to me !!
Good 👍
Super 👌 👍 😍
Thanks 🤗
Good One
Thanks
The only thing I didn't like about this lecture is the ads 😭.
Thank You ❤
welcome
very concise, to the point, and informative love the way you teach.
also, pls do video on helm charts
Sure
Hi bro please make a video on python scripting for devops
Noted
Please do abhisek
service has static ip address, so that application will be accessed at same ip,
love your efforts in this videos feels great to be part of this comunity...
hi abhishek
how many types of ingress controller is there in kubernetes??
@@minakshik9865 please tell me what are types
Will talk about ingress and Ingress controllers in future classes
@@AbhishekVeeramalla i have interview tomorrow thats way I am asking...thanks abhisek
Thanks Abhishek.
U made the DevOps easy.. Previously I hv gone through several RUclips channels but no one provided the content like u.
Most welcome !!
In case someone asks, can you please send me Abhishek sir's notes on Services Discovery and Load Balancing, it'll include subtitles for every second spoken in this video along with diagrams 😂
That's a great video, sir ❤
😂can I have that notes
This playlist is evergreen!
Thanks a lot
Nice explination anna
Thanks 🙏
Great, and easily understand explaination❤
It's awesome video
Thanks alot