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

Поділитися
Вставка
  • Опубліковано 18 тра 2024
  • Kubernetes Networking | Kubernetes Container Networking | Kubernetes Pods and Containers | Kubernetes Container Communication | Kubernetes Container Port
    ► Subscribe To Me On UA-cam: bit.ly/2z5rvTV
    In this video I cover one part of the broader Kubernetes Networking topic, which is container communication inside pods.
    Considering Pods mostly contain only 1 main container, I start by answering the question of why having a Pod as an abstraction over container is such an important concept in Kubernetes.
    I show how container port mapping is a problem with hundreds of containers, specifically how to allocate ports without getting conflicts. How this compares to Pods and how Pods solve this port allocation problem.
    In addition, I show you in which cases you would need to run multiple containers in one pod and how these containers communicate with each other inside this pod.
    ❌ 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/prod....
    ▬▬▬▬▬▬ Complete Kubernetes Networking Course 🎬:
    I'm making a complete course about Kubernetes Networking, covering rest of the topics, like
    ► how pods communicate with each other on the same node and across hundreds of servers?
    ► how does the outside world communicate with K8s cluster?
    ► how K8s cluster plugs into the underlying infrastructure network?
    ► Docker Container Networking
    ▬▬▬▬▬▬ T I M E S T A M P S
    0:00 - Intro
    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
    ► Reference to demo YAML Configs: gitlab.com/nanuchi/kubernetes...
    -------------------------------------------------------------------------------------------------------
    Full Kubernetes and Docker tutorial ► bit.ly/2YGeRp9
    DevOps Tools, like Ansible ► bit.ly/2W9UEq6
    Complete K8s Application Setup ► • Complete Application D...
    Complete Jenkins Pipeline Tutorial ► • Complete Jenkins Pipel...
    For any questions/issues/feedback, please leave me a comment and I will get back to you as soon as possible. Also please let me know what you want to learn about Docker & Kubernetes or another technology.
    #kubernetesnetworking #kubernetes #kubernetestutorial #devops #techworldwithnana
    -------------------------------------------------------------------------------------------------------
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    Join private Facebook group ► bit.ly/32UVSZP
    Don't forget to subscribe ► bit.ly/3mO4jxT
    DEV ► bit.ly/3h2fqiO
    INSTAGRAM ► bit.ly/2F3LXYJ
    TWITTER ► bit.ly/3i54PUB
    LINKEDIN ► bit.ly/3hWOLVT
    Legal Notice:
    Kubernetes and the Kubernetes logo are trademarks or registered trademarks of The Linux Foundation in the United States and/or other countries. The Linux Foundation and other parties may also have trademark rights in other terms used herein. This video is not accredited, certified, affiliated with, nor endorsed by Kubernetes or The Linux Foundation.

КОМЕНТАРІ • 247

  • @darcsoul5087
    @darcsoul5087 4 роки тому +104

    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 роки тому +5

      Thank you Darc, really happy to hear that 🙂

    • @jdubeau007
      @jdubeau007 3 роки тому +2

      @@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  3 роки тому

      @@jdubeau007 thanks Joseph 👍 hope my videos will be helpful for you

    • @NicholasNewbill
      @NicholasNewbill 3 роки тому

      I agree, i am loving these short precise explanations over my cloud academy training!

    • @fareedezzedeen8017
      @fareedezzedeen8017 2 роки тому

      33

  • @venkateshjamadarkhana4817
    @venkateshjamadarkhana4817 2 роки тому

    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.

  • @Surindersd57
    @Surindersd57 2 роки тому

    This is the best explanation I ever saw anywhere discussing PODs and Containers.

  • @mastervijooutube
    @mastervijooutube 3 роки тому

    Thank you so much for these videos Nana, they are a wealth of knowledge on such a complex topic which you make it so easy and that too free. Hats off Ma'am!

  • @vishalwhite
    @vishalwhite 3 роки тому

    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.

  • @Amit-qv8cp
    @Amit-qv8cp 7 днів тому

    Great explanation of communication between pods and containers. Cant wait for k8 networking series. Thank you👍

  • @ARATHI2000
    @ARATHI2000 8 місяців тому

    Hi Nana, every time I listen to your video, I am so impressed with the content, delivery and subject coverage. Thank you, and keep it up!

  • @EViL3666
    @EViL3666 2 роки тому +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

  • @lenakultys7438
    @lenakultys7438 Рік тому

    You're a lifesaver. I love all your videos about docker, kubernetes and gitlab ci. I learned so much thanks to you.

  • @jean-pierrefouche1827
    @jean-pierrefouche1827 2 роки тому

    In my view, some of the best Kubernetes content on the internet lives here. Thank You.

  • @Admiral.MacDonnell
    @Admiral.MacDonnell 3 роки тому +1

    You are very gifted in explaining things! You make K8 less daunting!

  • @vicaf1617
    @vicaf1617 Рік тому +2

    I just stared my job a couple of months ago. My only prior experience was 3 months of linux system administration internship.
    I am in the DevOps team and your whole channel is saving my life. Thank you.

  • @warwicknexus160
    @warwicknexus160 3 роки тому +7

    Thank you Nana! I am amazed at how much effort you have put into these videos. All your videos that I have seen so far are very accurate in the details you present and also the presentation flow and sequence are just perfect! I hope you get rewarded for your efforts.

  • @santhoshkumarchakilam8126
    @santhoshkumarchakilam8126 4 роки тому +1

    As always , clear , concise and straight to the point. Thanks Nana.

  • @ghopu100
    @ghopu100 2 роки тому

    Thank You, Nana ! I had watched the half of the video, decided to pause it and subscribe to your channel first. Very good explanation from basic of pod and containers.

  • @TechWorldwithNana
    @TechWorldwithNana  4 роки тому +7

    ❌ 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 :)

  • @iammayurn
    @iammayurn 2 роки тому

    Now I got why pods are needed. Thank you

  • @bzqr2k
    @bzqr2k 4 роки тому +14

    Congrats ! You are a fantastic teacher! Very clear and didactic!

    • @TechWorldwithNana
      @TechWorldwithNana  4 роки тому

      Hi Mauricio! Thanks for your feedback, happy to hear :)

  • @pierreyves.lebrun
    @pierreyves.lebrun 4 роки тому +9

    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

  • @thrinathreddy6755
    @thrinathreddy6755 4 місяці тому

    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. ❤❤❤

  • @nirmesh44
    @nirmesh44 3 роки тому +2

    Best videos on internet about kubernetes. Specially the way you give examples and make us understand in terms of real use cases.

  • @joshwolfer
    @joshwolfer 3 роки тому +7

    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!

  • @nguyendinhnguyen8327
    @nguyendinhnguyen8327 4 роки тому +30

    Waiting for the "Complete K8S Networking Course". Thank you!!

  • @AZeeee
    @AZeeee 2 роки тому

    thanks for having diagrams !! Its so good to finally see it visually.

  • @mykhailokoliadko7737
    @mykhailokoliadko7737 Рік тому +1

    As always, short and precise.👍

  • @Joe-tk8cx
    @Joe-tk8cx 3 роки тому

    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.

  • @-Harambe
    @-Harambe 3 роки тому +4

    Thank you, love the way you explain things.

  • @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 .

  • @callahan7257
    @callahan7257 3 роки тому

    Really understandable video.Very good explanations. Looking forward to the network course.

  • @saxmanrex
    @saxmanrex Рік тому +1

    Excellent video Nana!!!

  • @i-poorna-chandra06
    @i-poorna-chandra06 2 роки тому

    Amazing..Thank you very much Nana. This is what I've been looking for, like why do we need these many objects in k8s like pods, containers etc. I've gone through many tutorials but couldn't find the right answer. This is perfect explanation. Thank you again.

  • @anhquocnguyen1578
    @anhquocnguyen1578 Рік тому

    love the video and how you explained it very well. thank you

  • @RadhaKrishna-cw5bj
    @RadhaKrishna-cw5bj 2 роки тому

    Fantastic explanation Nana.

  • @MuhammedDahab
    @MuhammedDahab 3 роки тому +4

    thank you very much ,now I addicted your videos , in my whole trip of life learning journey there was a great vacuum & I was seeking for something great , something I don't even know what its , & from the first video I watched to you , I realized that this is what I was looking for , I hope if everyone in the world teach his stuff like the way you crafts these courses with your hands, thank you and much love

    • @TechWorldwithNana
      @TechWorldwithNana  3 роки тому

      Wow Mohamed. That's so great to hear! Thank you for your great feedback 🙏I'm glad that my videos have been so helpful for you 🙂I would be thankful if you share my videos and spread the word as well 🤗

  • @RakeshMandava
    @RakeshMandava 4 роки тому +2

    Thanks.. Looking forward to k8s networking course.. you are my best k8s tutor so far..I 'understand' when you explain.

  • @peregineme
    @peregineme 2 роки тому

    Thanks, looking forward to the networking course.

  • @ZAITOMArt
    @ZAITOMArt Рік тому

    Thank you so much! It was very helpful!

  • @yashghatti
    @yashghatti 4 роки тому +2

    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 👍

  • @tdiallo199
    @tdiallo199 3 роки тому

    amazing tutorial. thank you!

  • @If_you_hvae_noticed
    @If_you_hvae_noticed 3 роки тому +1

    I need more about the Pod to pod communication videos. Please make those soon.

  • @bvpraju6986
    @bvpraju6986 Рік тому

    Thanks for wonderful details explanation, looking forward for complete Kubernetes Networking course.

  • @MikeSpille
    @MikeSpille 3 роки тому

    Great stuff, Nana!

  • @subhand9961
    @subhand9961 2 роки тому

    very nice video it helped me a lot in understanding the pod and container behavior in Kubernetes. appreciate your time&efforts

  • @yogeshshetty804
    @yogeshshetty804 4 роки тому +2

    Hi Nana, One of the Best explanations . Highly appreciable. Your explanation is the best. thank you.

  • @chamindaalocious4257
    @chamindaalocious4257 3 роки тому

    Hello Nana, your videos are incredible and very cleverly explained. Can you do a video of using Service discovery and API gateway functionality in Kubernetes cluster? It would good if you can take an example API gateway (not an Ingress Controller) which can be used in production as well.
    Can you take a deep look into Service Discovery process in Kubernetes Cluster? and explain how can we use both be utilize to deploy a microservice based application in Kubernetes
    What are the best API gateways we could use to implement functionality of an API gateway which something similar to Zuul in Spring Cloud? How can we achieve more than routing such as authentication, authorization, JWT token generation so on?

  • @rahulrai78
    @rahulrai78 3 роки тому +1

    Nana you are just awesome. It so simple to understand concept with your videos.

    • @TechWorldwithNana
      @TechWorldwithNana  3 роки тому

      Really happy you like my way of teaching :) Please share if you think it will be helpful for others too 🙏

  • @mrbamanan5106
    @mrbamanan5106 2 роки тому

    Thank you for that video. Very usefull. It was a pleasure to listen

  • @kiranarvindalur
    @kiranarvindalur 2 місяці тому

    Really appreciate this video and gave clarity on the networking between POD and Containers and I am very keen to get to more on the following
    ► how pods communicate with each other on the same node and across hundreds of servers?
    ► how does the outside world communicate with K8s cluster?
    ► how K8s cluster plugs into the underlying infrastructure network?
    ► Docker Container Networking
    Request you to share the links to go through the same

  • @rawyin
    @rawyin 3 роки тому

    Excellent video. This is how people need to teach people about technology. So much time can be wasted learning k8s.

  • @narindersingh4703
    @narindersingh4703 3 роки тому

    Awesome stuff .. patient and just to the point ->

  • @786Prat
    @786Prat 3 роки тому

    Great videos for knowledge gaining .

  • @cayofelipe1217
    @cayofelipe1217 3 роки тому +1

    Thanks nana!! You are helping me to be DevOps now 🙏🏾🙏🏾🙏🏾

    • @TechWorldwithNana
      @TechWorldwithNana  3 роки тому +1

      Glad to hear my videos help you Cayo! 🙂 And btw it's Nana ;)

  • @deepanchakrvarthyp7063
    @deepanchakrvarthyp7063 4 роки тому +4

    To the level of clear start, explanation as per concept was fantabulous...keep up

  • @aaqib49
    @aaqib49 4 роки тому +2

    Thanks tech world nana nowonly i have got an clear idea about Kubernetes pods. Keep going on 👍🏼💡

  • @lkledu2
    @lkledu2 Рік тому

    I aways thought that a pod was the same as a container. Thank you a lot.

  • @beatagozdziaszek8157
    @beatagozdziaszek8157 3 роки тому +1

    Thank you. This is so nicely explained.

  • @juleswombat5309
    @juleswombat5309 3 роки тому

    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.

  • @hamestet
    @hamestet 4 роки тому +1

    What a voice, what a lovely voice. And the content as always is top. Thanks!

  • @gokurtm
    @gokurtm 3 роки тому +1

    Great Video, really helping me with my work with AKS.

  • @shiningshaan
    @shiningshaan 3 роки тому

    Superb explaination...

  • @sreekanthjanapati409
    @sreekanthjanapati409 3 роки тому

    Excellent video.. Waiting for further videos

  • @rajasivagaminathan9828
    @rajasivagaminathan9828 3 роки тому +1

    Well done. Much needed concept well explained.

    • @TechWorldwithNana
      @TechWorldwithNana  3 роки тому

      Thank you Raja! Glad this has helped. Best of luck in your career. 😊

  • @kirhie123
    @kirhie123 2 роки тому

    Superb information. waiting for your Complete Kubernetes Networking Course. Thanks! :)

  • @GopalRoy-nn6ft
    @GopalRoy-nn6ft 3 роки тому

    Great work nana

  • @mystiqkc
    @mystiqkc 3 роки тому +1

    Great video!

  • @dhanunjayreddyvalluru8161
    @dhanunjayreddyvalluru8161 4 роки тому +3

    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.

  • @CSSFACE
    @CSSFACE Рік тому

    how did you gain such a depth of knowledge of kubernetes. very impressive and informative, thank you

  • @AmolGautam
    @AmolGautam 2 роки тому +1

    Thank you so much.

  • @akashnag3879
    @akashnag3879 4 роки тому +1

    Thank u very much for the efforts.. very helpful

  • @sambasiva1702
    @sambasiva1702 3 роки тому

    Great Explanation..can you please explain below.
    When containers talk each other with localhost:port what is the advantage of networking solution frameworks?
    How can the pod1 containers communicate with pod2 containers ?

  • @saeedahmed-lb1iz
    @saeedahmed-lb1iz 3 роки тому +1

    Your kubernetes videos are better and more understandable than the most of the paid training offerings. please share Networking k8s quickly.

  • @TheSpoovy
    @TheSpoovy 3 роки тому

    Fantastic content.

  • @prasannanayak5454
    @prasannanayak5454 4 роки тому +1

    I will be waiting for kubernetes networking course with real time examples. Thanks #Nana for such valuable content.

  • @valour.se47
    @valour.se47 4 роки тому +1

    Keep it up Nana

  • @alexserbul
    @alexserbul 9 місяців тому

    Thank you!

  • @alienbotofficial
    @alienbotofficial Рік тому

    Great content 👍

  • @benchiro7581
    @benchiro7581 4 роки тому +1

    thanks Nana well explained

  • @fidisoleil5606
    @fidisoleil5606 2 роки тому

    Hi Nana! Thanks so much for this great video! Have you already published more videos of the Kubernetes Networking Course?

  • @nicolasafonso8916
    @nicolasafonso8916 3 роки тому

    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?

  • @anshukhanna6041
    @anshukhanna6041 3 роки тому

    Please please please , release networking course as soon as possible. You have no idea how desperate I am to go through it!!!!! :D

  • @madhu_parimi
    @madhu_parimi 3 роки тому

    Thank you.

  • @faridakbarov4532
    @faridakbarov4532 4 роки тому +1

    As always great video explain!!
    Next wait persistance storage solutions in k8s
    Thanks in advance!!

  • @gamerteam9304
    @gamerteam9304 3 роки тому +1

    Awesome teaching . its easy to lean K8S, also sharing videos to my friends those are interested to learn Kubernetes.

  • @kalankaraivilakkam
    @kalankaraivilakkam 3 роки тому

    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.

  • @DavidMoore-dm3dj
    @DavidMoore-dm3dj 2 роки тому +1

    Thanks!

  • @saikovvuri
    @saikovvuri 2 роки тому +1

    Hello Nana, great explanation on container networking, you had mentioned that you will be releasing a more in-depth content on K8s networking. Any updates on that. Thanks

  • @tejsinghranaofficial
    @tejsinghranaofficial 4 роки тому +2

    Really great content. Eagerly waiting for kubernetes networking. (y)

  • @sivaprasad7555
    @sivaprasad7555 2 роки тому

    It will be helpful if you have done 2nd part also

  • @jlesseyp
    @jlesseyp 2 роки тому

    Great video as always! Have you already released your Complete K8s Networking course?

  • @marsilya55
    @marsilya55 4 роки тому +1

    Very good Nana. Perhaps some basics and hands-on about Helm and Kustomization would be of value to explain. Looking forward to your upcoming videos.

  • @bigfanentertainment3940
    @bigfanentertainment3940 4 роки тому +1

    Eagerly waiting for complete Kubernetes Networking course

  • @pale27
    @pale27 4 роки тому +1

    very helpful, Thanke you :)

  • @chandralekha7717
    @chandralekha7717 3 роки тому +1

    love them

  • @payamrastogi
    @payamrastogi 4 роки тому

    Hey Nana, You are Kubernetes videos are amazing. Great Job! I have a question regarding running a Redis instance in standalone mode on K8s cluster. I'm using IngressRoute with tcpproxy enabled. When I tried to access the instance using redis client I'm getting this error "Protocol error, got “H” as reply type byte". Any idea?

  • @pratapchilukuri72
    @pratapchilukuri72 2 роки тому

    Excellent Job nana!!!! Is complete k8s networking video released?

  • @AdityaBhuyanHub
    @AdityaBhuyanHub 2 роки тому

    Very Nice

  • @sandeepyalamarthi2485
    @sandeepyalamarthi2485 2 роки тому

    This is really good explanation. Can you do videos on istio or any other service mesh?

  • @bhaskar6705
    @bhaskar6705 4 роки тому +1

    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

  • @altuhovsu
    @altuhovsu 3 роки тому

    Thank you! Very interested in sidecar containers, how it works? Service mesh is based on sidecar.

  • @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?