Home  Docker   Overlay net ...

Overlay network in docker

An "overlay" refers to a method of creating a virtual network that operates on top of an existing physical network infrastructure. This concept is particularly relevant in technologies like Docker Swarm, Kubernetes, and other container orchestration systems where overlay networks are used to facilitate communication between containers running on different hosts (nodes) in a cluster.

Key Characteristics of Overlay Networks:

  1. Virtual Network:

    • An overlay network is a logical network that is created on top of the underlying physical network infrastructure.
    • It enables containers or virtual machines (VMs) to communicate as if they are on the same local network, even if they are distributed across different physical machines.
  2. Encapsulation:

    • Overlay networks use encapsulation techniques such as VXLAN (Virtual Extensible LAN), GRE (Generic Routing Encapsulation), or IPSec (Internet Protocol Security) to encapsulate network packets and transmit them over the physical network.
    • This encapsulation allows containers on different hosts to communicate securely and efficiently, regardless of the underlying physical network topology.
  3. Isolation and Security:

    • Overlay networks provide network isolation between different applications or tenants running on the same physical infrastructure.
    • They ensure that traffic between containers is securely isolated and can be encrypted to protect against unauthorized access or interception.
  4. Flexibility and Scalability:

    • Overlay networks support dynamic service discovery and can easily scale to accommodate changing application requirements.
    • They allow containers to be moved or rescheduled across different nodes in a cluster without disrupting network connectivity.

Use Case in Container Orchestration:

Published on: Jul 01, 2024, 08:34 AM  
 

Comments

Add your comment