Fix Kubernetes Networking & Pod-to-Pod Communication explanation (#9497)

* Revise Kubernetes networking and pod communication section

Updated the content to provide a clearer explanation of Kubernetes networking and pod-to-pod communication, including details on CNI plugins and network policies.

* Fix header level and remove extra spaces
This commit is contained in:
Matheus D. Santos
2025-12-29 17:01:24 -03:00
committed by GitHub
parent 73d4a404ef
commit 1e1f5a2119

View File

@@ -1,9 +1,14 @@
# Kuberenetes
# Networking & Pod-to-Pod Communication
Kubernetes, also known as K8s, is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. It allows developers to focus on writing code while Kubernetes handles the underlying infrastructure. Kubernetes uses declarative configuration files to specify the desired state of an application, and can automatically scale applications based on demand, handle failovers, and manage networking and storage. It is widely used in cloud-native architectures that rely on microservices and containers for production deployments.
Kubernetes networking enables pods to communicate with each other across the cluster, regardless of which node they are running on. Every pod is assigned its own IP address, and Kubernetes follows a flat network model where all pods can directly communicate with each other without Network Address Translation (NAT).
Pod-to-pod communication is implemented by a **Container Network Interface (CNI)** plugin, such as Calico, Flannel, Cilium, or Weave. These plugins are responsible for IP address assignment, routing, and enforcing network policies. By default, all pod traffic is allowed, but **NetworkPolicies** can be used to control and restrict traffic between pods for security and isolation.
Reliable pod-to-pod networking is a core requirement for building distributed and microservices-based applications in Kubernetes.
Visit the following resources to learn more:
- [@official@Overview of Kubernetes](https://kubernetes.io/docs/concepts/overview/)
- [@video@Kubernetes Explained in 100 Seconds](https://www.youtube.com/watch?v=PziYflu8cB8)
- [@video@Kubernetes Tutorial for Beginners](https://www.youtube.com/watch?v=X48VuDVv0do&t=1s)
* [@official@Cluster Networking - Kubernetes Documentation](https://kubernetes.io/docs/concepts/cluster-administration/networking/)
* [@official@Network Policies - Kubernetes Documentation](https://kubernetes.io/docs/concepts/services-networking/network-policies/)
* [@article@Kubernetes Networking Explained](https://www.tigera.io/learn/guides/kubernetes-networking/)
* [@video@Kubernetes Networking Deep Dive](https://www.youtube.com/watch?v=t98ekMiz0hQ)