calico: default to using kdd datastore (#6693)

If already deployed, get current datastore from CNI config file
This commit is contained in:
Hans Feldt
2020-09-23 17:38:09 +02:00
committed by GitHub
parent 2eae207435
commit 6141b98bf8
8 changed files with 37 additions and 3 deletions

View File

@@ -58,6 +58,20 @@ calicoctl.sh endpoint show --detail
## Configuration
### Optional : Define datastore type
The default datastore, Kubernetes API datastore is recommended for on-premises deployments, and supports only Kubernetes workloads; etcd is the best datastore for hybrid deployments.
Allowed values are `kdd` (default) and `etcd`.
Note: using kdd and more than 50 nodes, consider using the `typha` daemon to provide scaling.
To re-define you need to edit the inventory and add a group variable `calico_datastore`
```yml
calico_datastore: kdd
```
### Optional : Define network backend
In some cases you may want to define Calico network backend. Allowed values are `bird`, `vxlan` or `none`. Bird is a default value.