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

Поделиться
HTML-код
  • Опубликовано: 29 сен 2024

Комментарии • 255

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

  • @TechWorldwithNana
    @TechWorldwithNana  4 года назад +8

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

  • @callahan7257
    @callahan7257 3 года назад

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

  • @valour.se47
    @valour.se47 4 года назад +1

    Keep it up Nana

  • @agostinopugliese5288
    @agostinopugliese5288 Год назад

    Great session!!! Where can I find the complete k8s networking course? Is it available?

  • @narindersingh4703
    @narindersingh4703 4 года назад

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

  • @abdulmabood4397
    @abdulmabood4397 4 года назад +1

    Glad u put the laptop back on charging at 12%. It was giving me anxiety

  • @seetsamolapo5600
    @seetsamolapo5600 Год назад

    - Every pod has a unique IP that is reachable from the other pods in the cluster

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

  • @twsr167
    @twsr167 4 года назад

    pls suggest... kubelet start stop again and again automatically... so i can't run kubeadm join on worker node... on executing command kubeadm join on worker node then get error like... kubelet is not running or healthy state..... pls suggest

  • @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 4 года назад +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  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

  • @nguyendinhnguyen8327
    @nguyendinhnguyen8327 4 года назад +30

    Waiting for the "Complete K8S Networking Course". 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 :)

  • @dhanrajranvirkar007
    @dhanrajranvirkar007 2 года назад +1

    sorry your voice is little lower, other all are best

  • @MuhammedDahab
    @MuhammedDahab 4 года назад +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  4 года назад

      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 🤗

  • @joshwolfer
    @joshwolfer 4 года назад +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!

  • @pierreyves.lebrun
    @pierreyves.lebrun 4 года назад +10

    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

  • @deepanchakrvarthyp7063
    @deepanchakrvarthyp7063 4 года назад +4

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

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

  • @EViL3666
    @EViL3666 3 года назад +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

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

  • @AmolGautam
    @AmolGautam 2 года назад +1

    Thank you so much.

  • @macsandre2818
    @macsandre2818 3 года назад

    If Pod is a host, then what is Node? From my basic understanding, Node is the smallest unit on the Kubernetes which is physique or virtual machine (laptop or VM)? And you said Pod is the Laptop (which is more or less the same) as the understanding of Node.
    Sorry I still didn't understand between those two...

  • @RakeshSharma-bk8rl
    @RakeshSharma-bk8rl 3 месяца назад

    Excellent videos on Kubernetes. I just wanted to check if you released Complete K8s Networking course?

  • @-Harambe
    @-Harambe 4 года назад +4

    Thank you, love the way you explain things.

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Thanks, glad you like the way I explain the concepts!

  • @nahidhossain8499
    @nahidhossain8499 Год назад

    How do you learn? Your videos are so amazing and full of content. My request publish a video about effective learning tricks. Thanks you so much.

  • @RakeshMandava
    @RakeshMandava 4 года назад +2

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

  • @osman_gedik
    @osman_gedik Год назад

    your videos are great, much better than cloud-guru Videos. So much understandable !
    you said, that you will make a kubernetes networking course, I couldnt find it, have you finished the course?

  • @aaqib49
    @aaqib49 4 года назад +2

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

  • @rahulaggarwal3817
    @rahulaggarwal3817 3 года назад

    Hi madam..... I am unable to bind a container with a port. I am having a postgres container in yaml file on port 5432. Kubectl create is successful and pod is running. But when I exec into the container and run netstat -ln..... It shows no port has been configured. Can you please guide me what can be the reason for this... 😕

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

  • @naveenkumarnamachivayam6583
    @naveenkumarnamachivayam6583 4 года назад +2

    Great tutorial. Could you please post how to mount local directory to minikube and access the data inside the pod? Thanks!

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад +1

      Thanks for the question. I'm already working on videos about k8s volumes and data storage, which will include a case like that.

  • @CSSFACE
    @CSSFACE Год назад

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

  • @pratapchilukuri72
    @pratapchilukuri72 2 года назад

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

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

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

  • @flesz_
    @flesz_ Год назад

    is Calico CNI the most popular plugin for networking ? I am reading about Cilium as becoming a standard now. Is that correct?

  • @twinklestar5270
    @twinklestar5270 3 года назад

    ''services enabling clients to discover and talk to pods ''
    Have anyone had idea about this project?

  • @vicaf1617
    @vicaf1617 2 года назад +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.

  • @rajasivagaminathan9828
    @rajasivagaminathan9828 4 года назад +1

    Well done. Much needed concept well explained.

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

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

  • @satishzanjurne7329
    @satishzanjurne7329 7 месяцев назад

    Thank you for this video. Can i get a link to deep dive or full course of K8s networking ?

  • @creative-commons-videos
    @creative-commons-videos 3 года назад

    can i reference a Pod yaml file inside Deployment yaml instead of putting container specification inside Deployment ???

  • @DavidMoore-dm3dj
    @DavidMoore-dm3dj 3 года назад +1

    Thanks!

  • @atulmahori2497
    @atulmahori2497 Месяц назад

    Please share link to Complete Kubernetes Networking course .

  • @mostafasharbaf4829
    @mostafasharbaf4829 12 дней назад

    appreciate for your hard working to make these video series that made me more confident and value able in my job

  • @manikumarmk
    @manikumarmk Год назад

    Kindly looking forward for your kubernetes networking playlist pls

  • @arjunk5959
    @arjunk5959 3 года назад

    I am new to K8s. can anyone explain what does the curl image in this video exactly does ?

  • @aqibmunshi6184
    @aqibmunshi6184 Год назад

    Anyone has the link to the Complete K8s Networking course

  • @sainath2514
    @sainath2514 3 года назад

    does pods can communicates each other in same cluster? the same way pods can communicates each other on different clusters?

  • @tejsinghranaofficial
    @tejsinghranaofficial 4 года назад +2

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

  • @iragoel
    @iragoel 2 года назад

    Hi Nana, any plans for K8S networking course in the near future ?

  • @yogeshshetty804
    @yogeshshetty804 4 года назад +2

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

  • @mrbamanan5106
    @mrbamanan5106 2 года назад

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

  • @rajkiransenapaty5379
    @rajkiransenapaty5379 Год назад

    May i know the command for to get list of pod using docker command??

  • @sandeepyalamarthi2485
    @sandeepyalamarthi2485 2 года назад

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

  • @sreekanthjanapati409
    @sreekanthjanapati409 4 года назад

    Excellent video.. Waiting for further videos

  • @nirmesh44
    @nirmesh44 4 года назад +2

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

  • @Admiral.MacDonnell
    @Admiral.MacDonnell 3 года назад +1

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

  • @jvm-tv
    @jvm-tv 3 года назад

    What is the hype about K8s abandoning docker as container?

  • @peregineme
    @peregineme 2 года назад

    Thanks, looking forward to the networking course.

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

  • @RajeshSamson
    @RajeshSamson 2 года назад

    Where can I find the complete networking course?

  • @ZAITOMArt
    @ZAITOMArt 2 года назад

    Thank you so much! It was very helpful!

  • @asamardhudu68
    @asamardhudu68 9 месяцев назад

    Do we end up in same state when we expose pod ports? Can you please clarify

  • @himanshugoyal3158
    @himanshugoyal3158 2 месяца назад

    How to create multiple nodes on kubernetes cluster?

  • @TheRed662
    @TheRed662 3 года назад

    At the end of 6:02, how do you check the ports the postgress pods are listening on?

  • @rajanchadha2600
    @rajanchadha2600 3 года назад

    Any update on complete k8 networking tutorial

  • @realravijha
    @realravijha 2 месяца назад

    Excellent!!
    Thank you so much!

  • @shiningshaan
    @shiningshaan 3 года назад

    How does Kubernetes helps to recover a failed pod?

  • @mykhailokoliadko7737
    @mykhailokoliadko7737 Год назад +1

    As always, short and precise.👍

  • @mohammedkhan5717
    @mohammedkhan5717 Год назад

    How to communicate between containers in different pods

  • @ranjeetbadhe
    @ranjeetbadhe 3 года назад

    How containers communicate with each other inside the pod ?

  • @andreybraslavskiy522
    @andreybraslavskiy522 8 месяцев назад

    Still don’t understand how it resolves port mapping issue. Before we had many containers in the host, and after we have many pods. Don’t we need to do the same port mapping for the pods now?

    • @mranilove1
      @mranilove1 2 месяца назад

      No since the pods have their own ips.

  • @harshgoyal6822
    @harshgoyal6822 4 года назад

    New Learning about pause container. But one question what is the need of keeping pod IP with pause? If application container fails it will restart again. As it is stateless it can run on any pod IP.

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      You are right, it wouldn't matter to reschedule the pod, since its stateless. But, it's more about keeping the pod itself alive, when container restarts. It's needed, because container may take some time to start, or you may have multiple containers.

  • @sivaprasad7555
    @sivaprasad7555 3 года назад

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

  • @mystiqkc
    @mystiqkc 3 года назад +1

    Great video!

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

  • @If_you_hvae_noticed
    @If_you_hvae_noticed 3 года назад +1

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

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

  • @mamu12121
    @mamu12121 4 года назад +1

    Hi Nana, first of all really great explanation ! BTW, what video editing/animation tool are u using to show the kool graphics ?.

  • @cyberstair
    @cyberstair 4 года назад

    how to prevent access to pod from another pod inside same network

  • @cayofelipe1217
    @cayofelipe1217 4 года назад +1

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

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад +1

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

  • @gamerteam9304
    @gamerteam9304 4 года назад +1

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

  • @rahulrai78
    @rahulrai78 4 года назад +1

    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 🙏

  • @saeedahmed-lb1iz
    @saeedahmed-lb1iz 4 года назад +1

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

  • @redbro8893
    @redbro8893 Год назад

    Hi..inside the pod container port map to pod port ?

  • @786Prat
    @786Prat 3 года назад

    Great videos for knowledge gaining .

  • @warwicknexus160
    @warwicknexus160 4 года назад +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.

  • @gilbertlara1547
    @gilbertlara1547 2 года назад

    Looking forward for container for storage.

  • @santroproin6969
    @santroproin6969 4 года назад +1

    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

  • @prasannanayak5454
    @prasannanayak5454 4 года назад +1

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

  • @Raj-si5yz
    @Raj-si5yz 4 года назад +1

    Thanks Nana,if we want to run pod in specific node,how to do

    • @sasanknekkalapudi7303
      @sasanknekkalapudi7303 4 года назад +1

      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!

  • @kiranarvindalur
    @kiranarvindalur 7 месяцев назад

    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

  • @proudindian3697
    @proudindian3697 3 года назад

    Pod concept is like inception movie..!!

  • @kirankumarmanenni4900
    @kirankumarmanenni4900 4 года назад +1

    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 года назад +1

      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 года назад +1

      Thank you, it is clear now.

  • @faridakbarov4532
    @faridakbarov4532 4 года назад +1

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

  • @AntoniosPikoulas
    @AntoniosPikoulas Месяц назад

    Many thanks, very intuitive

  • @shikhapandey8981
    @shikhapandey8981 4 года назад +1

    Could you please tell me , if two containers are running in 2 different localhost like front end and back end, the how could i connect them here in yaml file so that both container have communication inside a pod?

    • @TechWorldwithNana
      @TechWorldwithNana  4 года назад

      Hi Shikha, you can use localhost. for example if one pods needs to connect to the other, you can set the endpoint to localhost:port-number. Does this answer your question. Let me know if you still unsure and also you can give me an example.

    • @shikhapandey8981
      @shikhapandey8981 4 года назад

      TechWorld with Nana Thank you for the answer.It helped

  • @bigfanentertainment3940
    @bigfanentertainment3940 4 года назад +1

    Eagerly waiting for complete Kubernetes Networking course

  • @saxmanrex
    @saxmanrex 2 года назад +1

    Excellent video Nana!!!