As of March 27, 2023, the Weave add-on is deprecated. The Weave add-on might be removed from kURL after September 31st, 2023. Existing installations that use the Weave add-on are supported during this deprecation window. We recommend that you remove the Weave add-on on or before September 31, 2023 and instead use the Flannel add-on. For more information about how to migrate from Weave, see Migration from Weave.
Weave Net creates a virtual network that connects containers across multiple hosts and enables their automatic discovery. With Weave Net, portable microservices-based applications consisting of multiple containers can run anywhere: on one host, multiple hosts or even across cloud providers and data centers.
spec:
weave:
version: "2.5.2"
isEncryptionDisabled: true
podCIDR: "10.10.0.0/16"
podCidrRange: "/16"
noMasqLocal: true
Flag | Usage |
---|---|
version | The version of weave to be installed. |
isEncryptionDisabled | Encrypt network communication between nodes in the cluster. |
podCIDR | The subnet used by Pods. |
podCidrRange | The size of the subnet used by Pods. |
noMasqLocal | Default true. Set to false to disable preserving the client source IP address when accessing Service annotated with service.spec.externalTrafficPolicy=Local. |
The following additional ports must be open between nodes for multi-node clusters:
Protocol | Direction | Port Range | Purpose | Used By |
---|---|---|---|---|
TCP | Inbound | 6783 | Weave Net control | All |
UDP | Inbound | 6783-6784 | Weave Net data | All |
Protocol | Direction | Port Range | Purpose | Used By |
---|---|---|---|---|
TCP | Inbound | 6783 | Weave Net control | All |
UDP | Inbound | 6783-6784 | Weave Net data | All |