Skip to content

Commit 3ec38d1

Browse files
committed
Include the firewall CNI plugin in sample configuration.
The "ptp" plugin's "ipMasq: true" setting is, in practice, very inconsistent in actually setting up networking from the veth device to host networks. The firewall plugin has been much more consistent, so including it as the example configuration results in a better default experience for users trying out CNI support. Signed-off-by: Erik Sipsma <[email protected]>
1 parent 6999211 commit 3ec38d1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ With the following file at `/etc/cni/conf.d/fcnet.conflist`:
7070
"resolvConf": "/etc/resolv.conf"
7171
}
7272
},
73+
{
74+
"type": "firewall"
75+
},
7376
{
7477
"type": "tc-redirect-tap"
7578
}
@@ -79,7 +82,8 @@ With the following file at `/etc/cni/conf.d/fcnet.conflist`:
7982

8083
and the
8184
[`ptp`](https://github.com/containernetworking/plugins/tree/master/plugins/main/ptp),
82-
[`host-local`](https://github.com/containernetworking/plugins/tree/master/plugins/ipam/host-local)
85+
[`host-local`](https://github.com/containernetworking/plugins/tree/master/plugins/ipam/host-local),
86+
[`firewall`](https://github.com/containernetworking/plugins/tree/master/plugins/meta/firewall),
8387
and [`tc-redirect-tap`](cni/Makefile)
8488
CNI plugin binaries installed under `/opt/cni/bin`, you can specify, in the Go SDK API,
8589
a `Machine` with the following `NetworkInterface`:

0 commit comments

Comments
 (0)