Тёмный

Pods and Containers - Kubernetes Networking | Container Communication inside the Pod 

TechWorld with Nana
Подписаться 1,1 млн
Просмотров 255 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 255   
@darcsoul5087
@darcsoul5087 4 года назад
Really appreciate it. Your kubernetes videos are better and more understandable than the most of the paid training offerings. Thanks for keeping it free and sharing your knowledge to all.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thank you Darc, really happy to hear that 🙂
@jdubeau007
@jdubeau007 4 года назад
@@TechWorldwithNana It's true, I got so frustrated with the instructor. I told him what in hell does any of this have to with docker volumes? So I found your video on youtube. Now I'm going through all the Kubernetes subjects on your channel.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
@@jdubeau007 thanks Joseph 👍 hope my videos will be helpful for you
@meraxe5
@meraxe5 4 года назад
I agree, i am loving these short precise explanations over my cloud academy training!
@fareedezzedeen8017
@fareedezzedeen8017 2 года назад
33
@TechWorldwithNana
@TechWorldwithNana 4 года назад
❌ Correction for 6:15 in the video: Vagrant is NOT a container runtime alternative. K8s lists some of the alternatives here ► kubernetes.io/docs/setup/production-environment/container-runtimes/. . ► Reference to demo YAML Configs: gitlab.com/nanuchi/kubernetes-tutorial-series-youtube/-/tree/master/container-communication-k8s-networking T I M E S T A M P S 0:46 - Pod - fundamental concept 1:05 - Problem with Container Port Mapping WITHOUT Pod 4:15 - Solution - Pod abstraction 6:28 - When do we need multiple containers in a pod? Side-car containers 7:08 - How do containers in a pod communicate to each other? 9:30 - pause or sandbox container 12:27 - Kubernetes Networking Topics Overview Please subscribe and like the video, if you learned something new 💡🙂
@jimmyd6152
@jimmyd6152 2 года назад
Thanks for correcting! I got confused and even convinced for a bit till I saw your comment here :)
@joshwolfer
@joshwolfer 4 года назад
Just going to echo what everyone else is saying, THANK YOU! I've been avoiding learning k8s for months, because everyone just say's it's too complicated and impossible to understand. I've learned more from a couple hours of your videos, than I have from asking questions and looking at other resources the last year. Really great content!
@georgezviadgoglodze7810
@georgezviadgoglodze7810 3 года назад
Absolutely agree!
@pierreyves.lebrun
@pierreyves.lebrun 4 года назад
Thanks for the explanation, so far I had never taken the time to even think about why the abstraction a pod offers is so important
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thanks Pierre, glad you liked the video :)
@mostafasharbaf4829
@mostafasharbaf4829 10 дней назад
appreciate for your hard working to make these video series that made me more confident and value able in my job
@thrinathreddy6755
@thrinathreddy6755 8 месяцев назад
Nana...I Love you and your all DevOps topics explained. When ever i look for any cloud topics want to learn first i look for yours videos. You are really gem of a person. Learning aspirants really required a teacher like you. ❤❤❤
@bzqr2k
@bzqr2k 4 года назад
Congrats ! You are a fantastic teacher! Very clear and didactic!
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi Mauricio! Thanks for your feedback, happy to hear :)
@Admiral.MacDonnell
@Admiral.MacDonnell 3 года назад
You are very gifted in explaining things! You make K8 less daunting!
@EViL3666
@EViL3666 3 года назад
Excellent videos, I love the bit sized format, you've just explained more in < 14 minutes, than I've learnt in 3 days of reading documentation :D
@jean-pierrefouche1827
@jean-pierrefouche1827 3 года назад
In my view, some of the best Kubernetes content on the internet lives here. Thank You.
@dhanunjayreddyvalluru8161
@dhanunjayreddyvalluru8161 4 года назад
You’re Kubernetes videos are amazing. These are far better than paid courses. Thank you. If possible can you make video on ISTIO??
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Wow thank you for that amazing feedback :) Will definitely create a video or course about Istio.
@vishalwhite
@vishalwhite 4 года назад
Just now finished the same concept in LinuxAcademy (Now Acloudguru) but was very confusing. Came here and now everything is clear. The fact that this video is free and available for everyone is astonishing. You are doing a great job. If you plan on releasing a paid course, Remember you definitely have one buyer here.
@kslvvaraprasad5864
@kslvvaraprasad5864 3 года назад
hi nana...i am just searching for why pod not container in k8s.you just answered it very preciously...loved your explanation nana.thank you .
@saeedahmed-lb1iz
@saeedahmed-lb1iz 4 года назад
Your kubernetes videos are better and more understandable than the most of the paid training offerings. please share Networking k8s quickly.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thanks a lot, really happy to hear :)
@deepanchakrvarthyp7063
@deepanchakrvarthyp7063 4 года назад
To the level of clear start, explanation as per concept was fantabulous...keep up
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Happy to hear Deepan, thank you
@cayofelipe1217
@cayofelipe1217 4 года назад
Thanks nana!! You are helping me to be DevOps now 🙏🏾🙏🏾🙏🏾
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Glad to hear my videos help you Cayo! 🙂 And btw it's Nana ;)
@lenakultys7438
@lenakultys7438 Год назад
You're a lifesaver. I love all your videos about docker, kubernetes and gitlab ci. I learned so much thanks to you.
@rajasivagaminathan9828
@rajasivagaminathan9828 4 года назад
Well done. Much needed concept well explained.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thank you Raja! Glad this has helped. Best of luck in your career. 😊
@CSSFACE
@CSSFACE Год назад
how did you gain such a depth of knowledge of kubernetes. very impressive and informative, thank you
@yogeshshetty804
@yogeshshetty804 4 года назад
Hi Nana, One of the Best explanations . Highly appreciable. Your explanation is the best. thank you.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi Yogesh, thank you so much! Really happy to hear :)
@yogeshshetty804
@yogeshshetty804 4 года назад
Glad to see your reply. thank you
@venkateshjamadarkhana4817
@venkateshjamadarkhana4817 3 года назад
Such a powerhouse of technology and training with ease !. Wonderful service to the technical community ! Donno how to thank you and appreciate your work. Great .... Thanks a ton Nana.
@rahulrai78
@rahulrai78 4 года назад
Nana you are just awesome. It so simple to understand concept with your videos.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Really happy you like my way of teaching :) Please share if you think it will be helpful for others too 🙏
@yashghatti
@yashghatti 4 года назад
thank you so much, your videos as really easy to follow and cover the most important parts
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Glad my way of explaining things is so helpful and easy to follow 👍
@hamestet
@hamestet 4 года назад
What a voice, what a lovely voice. And the content as always is top. Thanks!
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thank you 🙏
@If_you_hvae_noticed
@If_you_hvae_noticed 3 года назад
I need more about the Pod to pod communication videos. Please make those soon.
@AZeeee
@AZeeee 2 года назад
thanks for having diagrams !! Its so good to finally see it visually.
@peregineme
@peregineme 2 года назад
Thanks, looking forward to the networking course.
@anupreddy0830
@anupreddy0830 3 месяца назад
Thank you very much, your concepts are clear and easily understood. Have you created videos on the entire networking concept of Kubernetes?
@saxmanrex
@saxmanrex 2 года назад
Excellent video Nana!!!
@prasannanayak5454
@prasannanayak5454 4 года назад
I will be waiting for kubernetes networking course with real time examples. Thanks #Nana for such valuable content.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
👍 thanks Prasanna
@Joe-tk8cx
@Joe-tk8cx 4 года назад
Super informative, especially I never knew the idea of pause containers until today. You are the Captain Marvel of K8s nana keep up the good work.
@bigfanentertainment3940
@bigfanentertainment3940 4 года назад
Eagerly waiting for complete Kubernetes Networking course
@TechWorldwithNana
@TechWorldwithNana 4 года назад
👍
@subhand9961
@subhand9961 2 года назад
very nice video it helped me a lot in understanding the pod and container behavior in Kubernetes. appreciate your time&efforts
@gokurtm
@gokurtm 4 года назад
Great Video, really helping me with my work with AKS.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Awesome, glad I can help you with these videos :)
@nguyendinhnguyen8327
@nguyendinhnguyen8327 4 года назад
Waiting for the "Complete K8S Networking Course". Thank you!!
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Will try to make it as soon as possible! Stay tuned
@buacomgiadinh1
@buacomgiadinh1 4 года назад
Me too
@jaipalkhambra2253
@jaipalkhambra2253 4 года назад
Please I am waiting
@Admiral.MacDonnell
@Admiral.MacDonnell 3 года назад
Me 3. Urgent need so I can start re-architecting my project... Much appreciated!
@sayyedaarif1187
@sayyedaarif1187 3 года назад
I need complete k8s networking concepts
@kirhie123
@kirhie123 3 года назад
Superb information. waiting for your Complete Kubernetes Networking Course. Thanks! :)
@ptankov
@ptankov 3 года назад
I got Low-Battery Anxiety by looking at the remaining battery level at 11% at the end of your video. :) Great vid, by the way.
@jawandsingh1464
@jawandsingh1464 3 года назад
well, she plugged it in 😅
@sivaprasad7555
@sivaprasad7555 3 года назад
It will be helpful if you have done 2nd part also
@bhaskar6705
@bhaskar6705 4 года назад
Hey really good explanation...I am always having one doubt in my mind about networking how it will work inside pod multiple containers..your answer it’s like laptop we can multiple services that’s really easy to understand everyone ...I am really waiting for your full networking next video, thanks a lot
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Glad you like the video :)
@lkledu2
@lkledu2 Год назад
I aways thought that a pod was the same as a container. Thank you a lot.
@ZAITOMArt
@ZAITOMArt 2 года назад
Thank you so much! It was very helpful!
@sreekanthjanapati409
@sreekanthjanapati409 4 года назад
Excellent video.. Waiting for further videos
@mystiqkc
@mystiqkc 3 года назад
Great video!
@RakeshSharma-bk8rl
@RakeshSharma-bk8rl 3 месяца назад
Excellent videos on Kubernetes. I just wanted to check if you released Complete K8s Networking course?
@tejsinghranaofficial
@tejsinghranaofficial 4 года назад
Really great content. Eagerly waiting for kubernetes networking. (y)
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thanks, already working on it 👩🏻‍💻
@sandeepyalamarthi2485
@sandeepyalamarthi2485 2 года назад
This is really good explanation. Can you do videos on istio or any other service mesh?
@AntoniosPikoulas
@AntoniosPikoulas Месяц назад
Many thanks, very intuitive
@786Prat
@786Prat 3 года назад
Great videos for knowledge gaining .
@GopalRoy-nn6ft
@GopalRoy-nn6ft 3 года назад
Great work nana
@anhquocnguyen1578
@anhquocnguyen1578 Год назад
love the video and how you explained it very well. thank you
@callahan7257
@callahan7257 3 года назад
Really understandable video.Very good explanations. Looking forward to the network course.
@RadhaKrishna-cw5bj
@RadhaKrishna-cw5bj 2 года назад
Fantastic explanation Nana.
@anshukhanna6041
@anshukhanna6041 4 года назад
Please please please , release networking course as soon as possible. You have no idea how desperate I am to go through it!!!!! :D
@someshbose
@someshbose 4 года назад
Hi Nana, You are doing a great work here. Keep it up the good job. Can you please create a video on Istio side car as well.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi Somesh thank you! Istio is on my list for future videos
@someshbose
@someshbose 4 года назад
@@TechWorldwithNana thank you. Looking for it.
@faridakbarov4532
@faridakbarov4532 4 года назад
As always great video explain!! Next wait persistance storage solutions in k8s Thanks in advance!!
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thanks a lot Farid! :)
@shiningshaan
@shiningshaan 3 года назад
Superb explaination...
@AmolGautam
@AmolGautam 2 года назад
Thank you so much.
@juleswombat5309
@juleswombat5309 4 года назад
Great clearly explained video as always. But I was hoping for an explanation on how to expose a K8 pod services to local host and clients. Most people will set up services on K8 clusters, but will want to connect into those services from outside the K8 cluster. I thought there was an expose command, but that may only be for Google Kubernetes Engine. Obviously there are K8 services, but these need to expose external port and static IP addresses for persistent network access points.
@agostinopugliese5288
@agostinopugliese5288 Год назад
Great session!!! Where can I find the complete k8s networking course? Is it available?
@santroproin6969
@santroproin6969 4 года назад
Hello Nana You are doing greate. Can you create one video on Elk cluster deployment on k8s with pvc. It would be great
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi Sandeep, I cover this topic in a full course on udemy :)
@buacomgiadinh1
@buacomgiadinh1 4 года назад
Could you please let me know your course on udemy
@gilbertlara1547
@gilbertlara1547 2 года назад
Looking forward for container for storage.
@michalkosinski4459
@michalkosinski4459 Год назад
Dear Nana , I hope you are well , thank you for this video and all other related to k8s , may I ask if full Kubernetes Networking Guide course that you mentioned at the end was released ? I have not found it , might be that it is a part of some bigger one that I havent reach so far. Br, MK
@iamapatriot
@iamapatriot 2 года назад
Great content 👍
@mamu12121
@mamu12121 4 года назад
Hi Nana, first of all really great explanation ! BTW, what video editing/animation tool are u using to show the kool graphics ?.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi, I'm using Screenflow
@asamardhudu68
@asamardhudu68 9 месяцев назад
Do we end up in same state when we expose pod ports? Can you please clarify
@manohar628
@manohar628 2 года назад
Hi Nana, what is the use of POD when you are using one container per pod. I think when you have multiple containers in pod you can save port and IP address but single container per pod is no use.
@flesz_
@flesz_ Год назад
is Calico CNI the most popular plugin for networking ? I am reading about Cilium as becoming a standard now. Is that correct?
@abdulmabood4397
@abdulmabood4397 4 года назад
Glad u put the laptop back on charging at 12%. It was giving me anxiety
@TechWorldwithNana
@TechWorldwithNana 4 года назад
😀
@narindersingh4703
@narindersingh4703 4 года назад
Awesome stuff .. patient and just to the point ->
@ashok-hg8se
@ashok-hg8se 3 года назад
How many side cars we can deploy in a pod. Is there any min and max limit? And for every pod, should we maintain "pause container"?
@iragoel
@iragoel 2 года назад
Hi Nana, any plans for K8S networking course in the near future ?
@jlesseyp
@jlesseyp 3 года назад
Great video as always! Have you already released your Complete K8s Networking course?
@samarthjain5170
@samarthjain5170 2 года назад
Hi Nana, I'm learning kubernetes while accessing pods using curl cmd I'm getting an error curl: (7) Failed to connect to localhost port 80: Connection refused.
@fidisoleil5606
@fidisoleil5606 2 года назад
Hi Nana! Thanks so much for this great video! Have you already published more videos of the Kubernetes Networking Course?
@valour.se47
@valour.se47 4 года назад
Keep it up Nana
@benchiro7581
@benchiro7581 4 года назад
thanks Nana well explained
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thanks Ben :)
@7470bird
@7470bird 3 года назад
Hello Nana, I have build some docker images in docker container. How can i upgrade k8s pod use new docker image? Have any web content can share for me? Thanks very much...
@kirankumarmanenni4900
@kirankumarmanenni4900 4 года назад
One doubt, from previous videos of kubernetes I learnt that pods cannot be created directly, they gets created along with deployment. But in this video I could see you are creating kind:pod. So it is possible to creates independently without tagging it to deployment?
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi, thanks for your question. Here I'm creating a pod using configuration file, so there is own "Kind: Pod" in k8s. What I meant in the previous video was, that you can not create pod using "kubectl" command, because there is no "kubectl create pod" option. I hope this makes it clear for you.
@kirankumarmanenni4900
@kirankumarmanenni4900 4 года назад
Thank you, it is clear now.
@mohamedmohamed118
@mohamedmohamed118 3 года назад
Dear NANA, many thanks for amazing videos, May I ask when you plan to release K8s full networking course mentioned at the end of this video?
@atulmahori2497
@atulmahori2497 Месяц назад
Please share link to Complete Kubernetes Networking course .
@Raj-si5yz
@Raj-si5yz 4 года назад
Thanks Nana,if we want to run pod in specific node,how to do
@sasanknekkalapudi7303
@sasanknekkalapudi7303 4 года назад
Label the nodes and use nodeselectors in your deployments
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi Raj. There is a way to "force" a pod on a specific node, by defining nodeSelector attribute in pod's configuration. The value could be either node's hostname/IP or you can assign node or nodes a label and use that label as a selector. I will make a separate video on node labels and in which scenarios you would need to label nodes. Thanks for the question!
@redbro8893
@redbro8893 Год назад
Hi..inside the pod container port map to pod port ?
@tdiallo199
@tdiallo199 4 года назад
amazing tutorial. thank you!
@cyberstair
@cyberstair 4 года назад
how to prevent access to pod from another pod inside same network
@RajeshSamson
@RajeshSamson 2 года назад
Where can I find the complete networking course?
@seetsamolapo5600
@seetsamolapo5600 Год назад
- Every pod has a unique IP that is reachable from the other pods in the cluster
@himanshugoyal3158
@himanshugoyal3158 2 месяца назад
How to create multiple nodes on kubernetes cluster?
@mohammedkhan5717
@mohammedkhan5717 Год назад
How to communicate between containers in different pods
@rajkiransenapaty5379
@rajkiransenapaty5379 Год назад
May i know the command for to get list of pod using docker command??
@AdityaBhuyanHub
@AdityaBhuyanHub 3 года назад
Very Nice
@madhu_parimi
@madhu_parimi 4 года назад
Thank you.
@nicolasafonso8916
@nicolasafonso8916 4 года назад
Great tutorial. Quick question, what's the difference on executing docker ps -a in a minikube ssh shell with the eval on the minikube docker-env?
@pale27
@pale27 4 года назад
very helpful, Thanke you :)
@TechWorldwithNana
@TechWorldwithNana 4 года назад
You're welcome pale, glad it was helpful :)
@maheshg7228
@maheshg7228 3 года назад
HI Nana, thanks for the valuable information. In my application, if want to ping from specific process to other application I am using below procedure 1. SSH to node 2. docker inspect | grep Pid 3. nsenter -n-t -- ping -I Can u pls help if any other Kubctl command to do all of this ? Thanks in advance.🙂
@srgvg
@srgvg 4 года назад
I'm confused. You compare running a docker container mapping a port to the host, with running a pod what you don't map the port to the local host. A docker container would get it's own op address, too, in its own network space, just as a pod. So I don't get why running s pod solved the problem of having the same port bring used within each container?
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Hi Serge. I don't really understand your question or reason for the confusion. So maybe you can clarify that. But generally, speaking, container and pod comparison isn't about them being alternatives to each other but rather how POD networking concept works and how CONTAINER networking concept works and how then both of them in combination make up that specific part of k8s networking. In more detail, however, I already explained that in the video.
@srgvg
@srgvg 4 года назад
​@@TechWorldwithNana So, the premise you are arguing, is that using pods in Kubernetes solves the problem of exhausting a lot of ports if you only use a plain docker container. But a plain docker container, gets it's own ip address, too. Docker will create a (default) docker network, and attach the container to it. That way, you can easily laucnh multiple postgres containers with the db each listening on it's default same port within eacht container. Just like that is possible with different kubernetes pods. The problem you address here, is when you expose that port, on the local host (with docker --port x:y), and would want to expose multiple container ports, you need to pick a separate port for that. Given that you'd want to map Kubernetes pod ports on a host port, you face there the exact same problem. The pod having it's dedicated ip address doen not solve that. The number of ports on the local host are limited, to both the docker host and a kubernetes node. (The only difference could be where you have several kuberntes nodes, and can ree-use the same port on different kubernetes nodes, but that would apply the same way to docker swarm nodes.) To wrap up, I don't see how the concept of kubernetes pods solve a problem of using container/pod ports nor exposing those ports, compared to plain docker containers. As you compare in your video two different things: (1) mapping plain docker container ports to host ports, and (2) deploying multiple pods with pod & container ports. That seems like apples and oranges to me. Or am I wrong? Did I still miss something? BTW, re-watching you presentation, I also noticed you talk about replacing the docker runtime, with .. vagrant. Vagrant is a lot, but not a container runtime.
@TechWorldwithNana
@TechWorldwithNana 4 года назад
"That way, you can easily laucnh multiple postgres containers with the db each listening on it's default same port within eacht container. Just like that is possible with different kubernetes pods." - that's not true. Yes you can start 10 Postgres containers on your host, and I show that in this video as well, but you have to map their ports to the host port. Pod on the other hand is its own virtual host. So pod port mapping isn't even a topic here. So that comparison is false. That's why I compare pod with laptop, and not with a container in this case. Also "Given that you'd want to map Kubernetes pod ports on a host port, you face there the exact same problem" - how do you map pod's port to a host's port? That's not even a thing. That's what I'm trying to explain in the video. So pod is a host itself. So maybe think about difference between running container directly on a server node vs wrapping it in a pod and then running a pod on a server node. Hope this makes my point clearer :) and I hope we're not talking past each other. Or maybe I misinterpreted your point. Let me know! As for Vagrant - you are absolutely right. I made a mistake. Wrote corrections in the description and the comment right away. Thanks for pointing out. 🙏
@srgvg
@srgvg 4 года назад
@@TechWorldwithNana when you start 10 containers in docker, you don't HAVE go map their ports. I disagree on the expressions here, but in the way you express it, a docker "host"is the same concept as a pod "host".
@srgvg
@srgvg 4 года назад
@@TechWorldwithNana "- how do you map pod's port to a host's port? That's not even a thing." That is very much a thing. That or a service object or Ingress. How else would you reach that service in a pod?
@ragunathmuthukumar1993
@ragunathmuthukumar1993 3 года назад
Are we able to set static IP address(podip) to the POD(s) ?
@sivaprasad7555
@sivaprasad7555 3 года назад
you are awesome mam
@ruslanramazanov5814
@ruslanramazanov5814 4 года назад
Excellent
@TechWorldwithNana
@TechWorldwithNana 4 года назад
Thanks Ruslan :)
@xiangweng7170
@xiangweng7170 3 года назад
Hello, I have a question: to run "kubectl get pod -o wide, we can see that each pod ip is automatically got in 10.244 range. However, if I want to change one of the pod ip in a different range, for example, 10.200.0.0, what should I do? Thank you.
@kalankaraivilakkam
@kalankaraivilakkam 4 года назад
Yet another great tutorial. :) I have a question: How to define autoscaling options outside the cluster environment. Eg, through a REST Api call . I want to define my tresholds there. is this possible? Because I have a queue service in cloud and want to scale the pods based on it. Thanks.
Далее
Network Namespaces Basics Explained in 15 Minutes
15:32
NGINX Tutorial - What is Nginx
14:32
Просмотров 177 тыс.
Networking with Kubernetes
11:07
Просмотров 218 тыс.
Containers vs Pods
5:12
Просмотров 28 тыс.
How does Kubernetes create a Pod?
9:55
Просмотров 71 тыс.