2018-09-29 09:06:19 +08:00
|
|
|
# to install network plugin, only one can be choosen
|
2018-03-16 18:23:34 +08:00
|
|
|
- hosts:
|
2021-01-19 17:41:00 +08:00
|
|
|
- kube_master
|
|
|
|
- kube_node
|
2018-03-16 18:23:34 +08:00
|
|
|
roles:
|
|
|
|
- { role: calico, when: "CLUSTER_NETWORK == 'calico'" }
|
2018-08-05 16:12:32 +08:00
|
|
|
- { role: cilium, when: "CLUSTER_NETWORK == 'cilium'" }
|
2018-03-16 18:23:34 +08:00
|
|
|
- { role: flannel, when: "CLUSTER_NETWORK == 'flannel'" }
|
2018-06-14 09:39:47 +08:00
|
|
|
- { role: kube-router, when: "CLUSTER_NETWORK == 'kube-router'" }
|
2019-05-22 11:17:42 +08:00
|
|
|
- { role: kube-ovn, when: "CLUSTER_NETWORK == 'kube-ovn'" }
|