new doc for weave
parent
3e457e4edf
commit
f7dc21773d
|
@ -53,12 +53,12 @@ Versions of supported components
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
||||||
|
|
||||||
[kubernetes](https://github.com/kubernetes/kubernetes/releases) v1.6.7 <br>
|
[kubernetes](https://github.com/kubernetes/kubernetes/releases) v1.6.4 <br>
|
||||||
[etcd](https://github.com/coreos/etcd/releases) v3.0.17 <br>
|
[etcd](https://github.com/coreos/etcd/releases) v3.0.17 <br>
|
||||||
[flanneld](https://github.com/coreos/flannel/releases) v0.6.2 <br>
|
[flanneld](https://github.com/coreos/flannel/releases) v0.6.2 <br>
|
||||||
[calicoctl](https://github.com/projectcalico/calico-docker/releases) v0.23.0 <br>
|
[calicoctl](https://github.com/projectcalico/calico-docker/releases) v0.23.0 <br>
|
||||||
[canal](https://github.com/projectcalico/canal) (given calico/flannel versions) <br>
|
[canal](https://github.com/projectcalico/canal) (given calico/flannel versions) <br>
|
||||||
[weave](http://weave.works/) v1.8.2 <br>
|
[weave](http://weave.works/) v2.0.1 <br>
|
||||||
[docker](https://www.docker.com/) v1.13.1 (see note)<br>
|
[docker](https://www.docker.com/) v1.13.1 (see note)<br>
|
||||||
[rkt](https://coreos.com/rkt/docs/latest/) v1.21.0 (see Note 2)<br>
|
[rkt](https://coreos.com/rkt/docs/latest/) v1.21.0 (see Note 2)<br>
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ You can choose between 4 network plugins. (default: `calico`)
|
||||||
|
|
||||||
* [**canal**](https://github.com/projectcalico/canal): a composition of calico and flannel plugins.
|
* [**canal**](https://github.com/projectcalico/canal): a composition of calico and flannel plugins.
|
||||||
|
|
||||||
* **weave**: Weave is a lightweight container overlay network that doesn't require an external K/V database cluster. <br>
|
* [**weave**](https://github.com/weaveworks/weave): Weave is a lightweight container overlay network that doesn't require an external K/V database cluster. <br>
|
||||||
(Please refer to `weave` [troubleshooting documentation](http://docs.weave.works/weave/latest_release/troubleshooting.html)).
|
(Please refer to `weave` [troubleshooting documentation](http://docs.weave.works/weave/latest_release/troubleshooting.html)).
|
||||||
|
|
||||||
The choice is defined with the variable `kube_network_plugin`. There is also an
|
The choice is defined with the variable `kube_network_plugin`. There is also an
|
||||||
|
|
|
@ -0,0 +1,42 @@
|
||||||
|
Weave
|
||||||
|
=======
|
||||||
|
|
||||||
|
Weave 2.0.1 is supported by kubespray
|
||||||
|
Weave be use with [**consensus**](https://www.weave.works/docs/net/latest/ipam/#initialization) mode (default mode) and [**seed**](https://www.weave.works/docs/net/latest/ipam/#initialization) mode
|
||||||
|
|
||||||
|
|
||||||
|
In kubespray, Weave encryption for all communication is supported
|
||||||
|
* For use Weave encryption, it's necessary to specify password
|
||||||
|
if no password specify, no encrytion
|
||||||
|
```
|
||||||
|
# In file ./inventory/group_vars/k8s-cluster.yml
|
||||||
|
weave_password: EnterPasswordHere
|
||||||
|
```
|
||||||
|
|
||||||
|
Weave is deploy by kubernetes with daemonSet
|
||||||
|
* Check the status of Weave containers
|
||||||
|
```
|
||||||
|
kubectl -n kube-system get pods | grep weave
|
||||||
|
```
|
||||||
|
* Check status of weave (connection,encryption ...)
|
||||||
|
```
|
||||||
|
curl http://127.0.0.1:6784/status
|
||||||
|
```
|
||||||
|
|
||||||
|
### Consensus mode (default mode)
|
||||||
|
This mode is to fixed cluster
|
||||||
|
|
||||||
|
### Seed mode
|
||||||
|
This mode is to dynamic cluster
|
||||||
|
* Change censensus mode to seed mode
|
||||||
|
```
|
||||||
|
# In file ./inventory/group_vars/k8s-cluster.yml
|
||||||
|
weave_mode_seed: true
|
||||||
|
```
|
||||||
|
the seed mode allows multi clouds simultaneously and also hybrid on premise/cloud clusters
|
||||||
|
|
||||||
|
```
|
||||||
|
# In file ./inventory/group_vars/k8s-cluster.yml
|
||||||
|
weave_seed: uninitialized
|
||||||
|
weave_peers: uninitialized
|
||||||
|
```
|
Loading…
Reference in New Issue