Add weave-npc required kernel modules to docs

This commit is contained in:
Bryan Boreham committed 2017-02-27 14:25:43 +00:00
1 parent cb73cf3f51
commit 01fe09065c
1 file changed
+6
+6
View File
@@ -19,6 +19,9 @@ NetworkPolicy object updates from the k8s API server:
network policy, containing the IP addresses of all pods in the network policy, containing the IP addresses of all pods in the
namespace whose labels match that selector namespace whose labels match that selector
IPsets are implemented by the kernel module `xt_set`, without which
weave-npc will not work.
ipset names are generated deterministically from a string ipset names are generated deterministically from a string
representation of the corresponding label selector. Because ipset representation of the corresponding label selector. Because ipset
names are limited to 31 characters in length, this is done by taking a names are limited to 31 characters in length, this is done by taking a
@@ -94,6 +97,9 @@ The following traffic is NOT affected:
(e.g. kubelet health checks) (e.g. kubelet health checks)
* Traffic routed from an application container to the internet * Traffic routed from an application container to the internet
The above mechanism relies on the kernel module `br_netfilter` being
loaded and enabled via `/proc/sys/net/bridge/bridge-nf-call-iptables`.
See these resources for helpful context: See these resources for helpful context:
* http://ebtables.netfilter.org/br_fw_ia/br_fw_ia.html * http://ebtables.netfilter.org/br_fw_ia/br_fw_ia.html