DAY-35 | EVERYTHING ABOUT KUBERNETES SERVICES | DISCOVERY | LOAD BALANCING | NETWORKING |
ฝัง
- เผยแพร่เมื่อ 27 ก.พ. 2023
- Support my work
www.buymeacoffee.com/abhishekprd FREE DEVOPS COURSE
• DEVOPS ZERO TO HERO CO...
Hi Everyone, In today's class Day-35, We will learn about Kubernetes Services.
Problem 1:
------------------
In the last class, we learnt that Kubernetes Deployments can implement the auto-healing capability for pod that goes down using Replica Sets but whenever the new pod comes up, It comes up with a new IP address. So how the customer or user know about this new IP address ?
How is Service Discovery Implemented in Kubernetes ?
Problem 2:
-----------------
If you application requires multiple replicas of a pod to serve multi concurrent users, each replica of a pod has unique IP address but customers or users would need a one common IP address or DNS. Just like we all access google.com(DNS) or 8.8.8.8(IP Address) to access google.
How is this implemented in Kubernetes ?
Problem 3:
-----------------
How are the applications deployed as Pods in Kubernetes are accessed by external or people from other teams in your organization who don't have access to the Kubernetes cluster ?
Problem 1 is solved by Kubernetes Service
Problem 2 is solved by Kubernetes Service
Problem 3 is solved by Kubernetes Service
Watch the video to understand complete details.
Telegram channel
===============
telegram.me/abhishekveeramalla
About me:
-----------------
LinkedIn: / abhishek-veeramalla-77...
GitHub: github.com/iam-veeramalla
Medium: / abhishekveeramalla-av
TH-cam: / @abhishekveeramalla - บันเทิง
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
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
Thank you so much, Brother. You are a guru!
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
Powerful Mentor only can teach powerful technology and same we are seeing here. Thanks bro your are besttttttttttttttttt mentorrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr.
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 🙏
love your efforts in this videos feels great to be part of this comunity...
Right time at right channel, am proud of myself, n thank u so much for creating this series for us ♥️
My pleasure 😊
Awsome Blossom, I , got the better understanding of Kubernetes because of you thank you very much, :)
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.
Thanks Abhishek.
U made the DevOps easy.. Previously I hv gone through several TH-cam channels but no one provided the content like u.
Most welcome !!
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 TH-cam
Thank you so much Abhi 😊
Thanks alot
Thankyou friend. I appreciate and respect the hard work you putting in the series which is benefiting all us folks who are pursing or in DevOps Role. Thanks
My pleasure!
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
Very well explained
Thanks for your efforts Abhishek
Thanks ❤️
You are a guru! Everything is demystified !! Thank you sir
Thanks alot . Please share the videos
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!
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
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
great bro..Kubernetes services are now crystal clear to me !!
Good 👍
thank you sir for all information shared with us
Thanku so much abhishek bro
Finally understood service discovery.
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
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
Great session!!!
These are very useful and anyone can understand easily. u r doing grt job sir🙏🙏
Thanks alot
The best ever tutorial on Kubernetes services......Thanks a lot Sir
Thank you so much 😀
Cleared all doubts in one video 🖖waiting for other videos.!
Awesome
Very good explanation. Better than any paid courses on EdTech platform. Thanks for enlightening.
🔥
Crystal clear explanation. Thanks sir
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!
Abhishek sirji , cleared my doubts for kubernetes thank you. your teaching is awesome , please make many more content it is beneficial for aspirants like us
sure, thanks
This playlist is evergreen!
Thanks a lot
great efforts Abihishek. thank you
Welcome
Great, and easily understand explaination❤
Thank you so much my concepts are cleared after watching this video.
Awesome
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.
well explained. now i can say that kubernetes is easy.
Awesome
Very well explained bro,
Thanks for your efforts 🙂
Most welcome 😊
Osm man 💗🙌
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
Thanks it is useful
Thanks Abhishek for this brilliant video on kubernetes service and it's types you cleared my concepts ❤❤
thanks alot
Thank you ^^
I tried to learn Kubernetes in Udemy by Tutorials. But Abhishek Tech me lot, more than Any.
Glad to hear that
excellent explanation. Thank you so much sir
welcome
Just osm
Thank you so much
Can you please conduct complete CKA certification course?
Paid bhi chalega
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.
Nicely explained bro... Can you please take one session on TLS/SSL K8 Certificate related topics
sure
@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.
Good One
Thanks
clear concept of svc ❤
Thanks alot
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, 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 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 ..
Thank You Sir!
Most welcome!
Thank You ❤
welcome
It's awesome video
Thanks alot
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
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.
Bro you are awesome.
Thanks alot
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.
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 ☺️👍
Super 👌 👍 😍
Thanks 🤗
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
Thanks
18:42 sir i understood the label and selectors but the question here is there are 2 team working on 2 pods both the team is having individual 1 pod if team A pod fails and with the help of deployment it again come up with the same label as it was before but how the service will decide that person from team A will be rendered to 1 pod which was using by his team A, the service might render him to pod 2 ?
To ensure that the traffic is routed to the correct pod, you need to set up a label selector in your service configuration that matches the labels of the pods you want to target.
Nice explination anna
Thanks 🙏
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 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
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
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
then what is the concept of ip changing
Day-35 done ✅️
keep going
This mean. If 10 deployments then 10 services. And also 10 load balancers use?
service has static ip address, so that application will be accessed at same ip,
💖💖
also, pls do video on helm charts
Sure
Sir any detailed videos on AWS in the coming days?
Yes .. Very very soon .. After Kubernetes
sir, a session on resume and how to include projects on resume please
Ok noted . For sure
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
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
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
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
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 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
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.
Kindly explain the what is the name space in kubernetes
sure. I will explain
@@AbhishekVeeramalla tqsm for your response
Anna, Tell me about Head loss service?
Noted
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
Hi bro please make a video on python scripting for devops
Noted
Please do abhisek
18:07 what is the use of selectors
Selectors identify the pods using the labels
@@AbhishekVeeramalla tq
20th Feb, 2024
The only thing I didn't like about this lecture is the ads 😭.
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.
Nice
Welcome
Thanks
Thanks for the support Rakesh