Calico network traffic Process Analysis

Source: Internet
Author: User

1. The Calico node container runs in the daemonset mode in kubernetes. The container network mode is hostnetwor. It shares the network stack with the host and has the same IP address and hostname.

 

2. view a pod: [email protected] ~] # Kubectl get pods-O wide-N Kube-system | grep-I Tiller

Tiller-deploy-5dfffddb8d-n4vp6 1/1 running 0 3D 10.233.122.4 bserver42

 

3. view the NIC and IP address of a pod

Use calicoctl to view the workloadendpoint: -- workload = <namespace>. <podname> of container.

[[Email protected] ~] # Calicoctl get workloadendpoint -- workload = kube-system.tiller-deploy-5dfffddb8d-n4vp6-O yaml
-Apiversion: V1
Kind: workloadendpoint
Node: bserver42
Workload: kube-system.tiller-deploy-5dfffddb8d-n4vp6
SPEC:
Interfacename: cali2185315f9c4
Ipnetworks:
-10.233.122.4/32
Mac: 52: Fe: 19: E7: 5b: 14

Calico Network Architecture:

Calico network traffic Process Analysis

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.