DevOps Classroomnotes 18/Apr/2023

Understanding Multi-Host Networking

  • Multi-host networking is created as part of docker orchestration called as SWARM
  • Refer Here for multi host networking and Refer Here for swarm
  • According to what we have learnt so far. Communication between containers in same host is possible using bridge or macvlan etc. but communication between two containers running on two different hosts is not possible
    Preview
  • Docker has a netwok driver called as overlay network
  • Using vxlan, overlay networks use underlay to create a virtual network which is logical and appears as if the containers across hosts are connected to the same network
    Preview
  • To create multi host network, we need to create docker swarm cluster.
  • Swarm cluster provides native docker container orchestration.
  • Some of the activities the cluster performs

    • Maintains the desired state.
    • Performs scaling
    • chooses the master node (manager)
    • ability to add docker hosts to the cluster
  • refer to classroom video for some executions on swarm

Exercise

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner