@@ -13,20 +13,31 @@ Show pod network status, in namespace 'default'
13
13
14
14
```
15
15
$ kubectl multinet
16
- POD NET IF ADDRESS MAC
17
- centos eth0 [10.244.1.16 ] 0a:f7:47:2c:a6:dd
18
- centos default/macvlan-net1 net1 [10.1.1.11 ] ae:e8:85:88:bb:d0
19
- nginx eth0 [10.244 .2.16 ] c2:d5:70:24:b8:68
20
- nginx default/macvlan-net1 net1 [10.1.1.13 ] fe:f2:5c:4a:ce:62
16
+ POD IF ADDRESS MAC
17
+ centos eth0 [10.129.2.14 ]
18
+ centos net1 [10.129.3.200 ] 8a:c9:14:c2:36:33
19
+ nginx eth0 [10.129 .2.15 ]
20
+ nginx net1 [10.129.3.202 ] 46:fa:34:1e:cc:1e
21
21
```
22
22
23
23
Show pod network status, in namespace 'test1'
24
24
25
25
```
26
26
$ kubectl multinet -n test1
27
- POD NET IF ADDRESS MAC
28
- test1-centos eth0 [10.244.1.17] 02:47:1b:dd:9d:f4
29
- test1-centos test1/test1-macvlan-conf-1 net1 [20.1.1.101] 9e:4b:ed:a9:07:07
27
+ POD IF ADDRESS MAC
28
+ test1-centos eth0 [10.244.1.17] 02:47:1b:dd:9d:f4
29
+ test1-centos net1 [20.1.1.101] 9e:4b:ed:a9:07:07
30
+ ```
31
+
32
+ Show pod network status, wide format
33
+
34
+ ```
35
+ $ kubectl multinet -o wide
36
+ NAMESPACE POD NET IF ADDRESS MAC
37
+ default centos eth0 [10.129.2.14]
38
+ default centos default/macvlan-net1 net1 [10.129.3.200] 8a:c9:14:c2:36:33
39
+ default nginx eth0 [10.129.2.15]
40
+ default nginx default/macvlan-net1 net1 [10.129.3.202] 46:fa:34:1e:cc:1e
30
41
```
31
42
32
43
Show pod network status, in namespace 'default', JSON format (note: JSON format is experimental, so format might be changed)
0 commit comments