mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-28 22:18:52 +00:00
Add Weave content
This commit is contained in:
committed by
Denise Schannon
parent
9deff7b4bd
commit
793de5b87d
@@ -91,6 +91,20 @@ For more information, see the following pages:
|
|||||||
- [Project Calico GitHub Page](https://github.com/projectcalico/calico)
|
- [Project Calico GitHub Page](https://github.com/projectcalico/calico)
|
||||||
|
|
||||||
|
|
||||||
|
#### Weave
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Weave Net creates a virtual network that connects Docker containers across multiple hosts and enables their automatic discovery. With Weave Net, portable microservices-based applications consisting of multiple containers can run anywhere, Weave works as a cni plugin to Kubernetes to connect pods across Kubernetes nodes.
|
||||||
|
|
||||||
|
Weave support encrypting traffic between peers by assigning a password as a config option or `WEAVE_PASSWORD` environment variable to the weave Kubernetes YAML, Rancher UI automatically generates this password when weave plugin is selected, you can still change this password by editing the cluster YAML from the UI.
|
||||||
|
|
||||||
|
Kubernetes workers should open TCP port 6783 and UDP 6783/6784.
|
||||||
|
|
||||||
|
Weave is available as a cni-plugin in Rancher as of version 2.2, For more information, see the following pages:
|
||||||
|
|
||||||
|
- [Weave Net Official Site](https://www.weave.works/)
|
||||||
|
|
||||||
### CNI Features by Provider
|
### CNI Features by Provider
|
||||||
|
|
||||||
The following table summarizes the different features available for each CNI provider provided by Rancher.
|
The following table summarizes the different features available for each CNI provider provided by Rancher.
|
||||||
@@ -100,7 +114,7 @@ The following table summarizes the different features available for each CNI pro
|
|||||||
| Canal | Encapsulated (VXLAN) | No | Yes | No | K8S API | No | Yes |
|
| Canal | Encapsulated (VXLAN) | No | Yes | No | K8S API | No | Yes |
|
||||||
| Flannel | Encapsulated (VXLAN) | No | No | No | K8S API | No | No |
|
| Flannel | Encapsulated (VXLAN) | No | No | No | K8S API | No | No |
|
||||||
| Calico | Unencapsulated | Yes | Yes | Yes | Etcd | Yes | Yes |
|
| Calico | Unencapsulated | Yes | Yes | Yes | Etcd | Yes | Yes |
|
||||||
|
| Weave | Encapsulated | Yes | Yes | Yes | No | Yes | Yes |
|
||||||
|
|
||||||
- Network Model: Encapsulated or unencapsulated. For more information, see [What Network Models are Used in CNI?](#what-network-models-are-used-in-cni)
|
- Network Model: Encapsulated or unencapsulated. For more information, see [What Network Models are Used in CNI?](#what-network-models-are-used-in-cni)
|
||||||
|
|
||||||
@@ -125,6 +139,8 @@ The following table summarizes different GitHub metrics to give you an idea of e
|
|||||||
| Canal | https://github.com/projectcalico/canal | 536 | 75 | 19 |
|
| Canal | https://github.com/projectcalico/canal | 536 | 75 | 19 |
|
||||||
| flannel | https://github.com/coreos/flannel | 3.279 | 774 | 107 |
|
| flannel | https://github.com/coreos/flannel | 3.279 | 774 | 107 |
|
||||||
| Calico | https://github.com/projectcalico/calico | 572 | 225 | 82 |
|
| Calico | https://github.com/projectcalico/calico | 572 | 225 | 82 |
|
||||||
|
| Weave | https://github.com/weaveworks/weave/ | 5446 | 498 | 63 |
|
||||||
|
|
||||||
<br/>
|
<br/>
|
||||||
### Which CNI Provider Should I Use?
|
### Which CNI Provider Should I Use?
|
||||||
|
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ These ports are typically opened on your Kubernetes nodes, regardless of what ty
|
|||||||
| TCP | 2380 | etcd peer communication |
|
| TCP | 2380 | etcd peer communication |
|
||||||
| UDP | 8472 | Canal/Flannel VXLAN overlay networking |
|
| UDP | 8472 | Canal/Flannel VXLAN overlay networking |
|
||||||
| TCP | 9099 | Canal/Flannel livenessProbe/readinessProbe |
|
| TCP | 9099 | Canal/Flannel livenessProbe/readinessProbe |
|
||||||
|
| TCP | 6783 | Weave Port |
|
||||||
|
| UDP | 6783-6784 | Weave UDP Ports |
|
||||||
| TCP | 10250 | kubelet API |
|
| TCP | 10250 | kubelet API |
|
||||||
| TCP | 10254 | Ingress controller livenessProbe/readinessProbe |
|
| TCP | 10254 | Ingress controller livenessProbe/readinessProbe |
|
||||||
| TCP/UDP | 30000-</br>32767 | NodePort port range |
|
| TCP/UDP | 30000-</br>32767 | NodePort port range |
|
||||||
|
|||||||
@@ -62,6 +62,24 @@ network:
|
|||||||
calico_cloud_provider: aws
|
calico_cloud_provider: aws
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Weave Network Plug-in Options
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
network:
|
||||||
|
plugin: "weave"
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Weave encryption
|
||||||
|
|
||||||
|
Weave encryption can be enabled by using a weave string password, in rke config weave encryption can be enabled by adding the `password` option to `weave_network_provider`:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
network:
|
||||||
|
plugin: "weave"
|
||||||
|
weave_network_provider:
|
||||||
|
password: "Q]SZOQ5wp@n$oijz"
|
||||||
|
```
|
||||||
|
|
||||||
#### Cloud Provider
|
#### Cloud Provider
|
||||||
|
|
||||||
Calico currently only supports 2 cloud providers, AWS or GCE, which can be set using `calico_cloud_provider`.
|
Calico currently only supports 2 cloud providers, AWS or GCE, which can be set using `calico_cloud_provider`.
|
||||||
|
|||||||
Reference in New Issue
Block a user