[Svc]linux bridge&docker0&k8s pod network model Popular Romance

Source: Internet
Author: User
Tags k8s
Linux Namespace&bridge Popular Romance Linux interface type

BR0 eth0: an interface
Veth: A pair of interfaces, similar to a network cable, one end has an address, the other end connected to another,

Linux 2 namespace connectivity

The different namespace are isolated. Want them to pass, need to use network cable to connect up (veth type mouth, one to ns1, the other end to NS2)

Linux 3 Namespace connectivity

2 NS Even universal Veth say, 3 NS Even the general Veth looks troublesome. with Br0

Same host, communication between different BR

BR Communication between different hosts

1,开启转发2,开启iptables forward链. echo 1 > /proc/sys/net/ipv4/ip_forwardiptables -P FORWARD ACCEPT

Docker0 Default Bridge Forwarding posture

One namespace per container
Reference: http://blog.daocloud.io/docker-bridge/

Kubernetes Network Fundamentals

One namespace per pod

Inter-container communication

Pod communication between the same host

Inter-host pod communication

[Svc]linux bridge&docker0&k8s pod network model Popular Romance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.