Pods and Containers - Kubernetes Networking | Container Communication inside the Pod
TechWorld with Nana TechWorld with Nana
1.05M subscribers
235,460 views
0

 Published On May 9, 2020

Kubernetes Networking | Kubernetes Container Networking | Kubernetes Pods and Containers | Kubernetes Container Communication | Kubernetes Container Port
► Subscribe To Me On Youtube: https://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 ► https://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: https://gitlab.com/nanuchi/kubernetes...

-------------------------------------------------------------------------------------------------------
Full Kubernetes and Docker tutorial ► https://bit.ly/2YGeRp9
DevOps Tools, like Ansible ► https://bit.ly/2W9UEq6
Complete K8s Application Setup ►    • Complete Application Deployment using...  
Complete Jenkins Pipeline Tutorial ►    • Complete Jenkins Pipeline Tutorial | ...  

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 ► https://bit.ly/32UVSZP
Don't forget to subscribe ► https://bit.ly/3mO4jxT
DEV ► https://bit.ly/3h2fqiO
INSTAGRAM ► https://bit.ly/2F3LXYJ
TWITTER ► https://bit.ly/3i54PUB
LINKEDIN ► https://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.

show more

Share/Embed