0

I am new to detailed networking. I am trying to understand the details on how kubernetes networking works.

Network Namespace cni-0ed19206-6689-517c-cad4-e85b587fcc10

When I run following command

 ip netns exec cni-0ed19206-6689-517c-cad4-e85b587fcc10 ip a

Following is the output

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
3: eth0@if6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1480 qdisc noqueue state UP group default 
    link/ether fa:4b:02:6c:c9:1b brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 20.xx.xx.xxx/32 brd xx.xx.xx.xxx scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::f84b:2ff:fe6c:c91/64 scope link 
       valid_lft forever preferred_lft forever
4: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0

Can someone explain it to me in detail, I have some idea around it but not a complete idea.

For eth0, ip addr is showing

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:15:5d:03:76:9d brd ff:ff:ff:ff:ff:ff
    inet 172.xx.x.xxx/22 brd 172.xx.x.xxx scope global noprefixroute eth0
       valid_lft forever preferred_lft forever

Also, eth0 is ethernet, not the bridge? So here Kubernetes is not using the bridge? Using calico as a CNI plugin

Srividya
  • 264
  • 1
  • 7
Ankit Bansal
  • 111
  • 1

0 Answers0