kubeasz/playbooks/06.network.yml

11 lines
408 B
YAML
Raw Normal View History

# to install network plugin, only one can be choosen
- hosts:
- kube_master
- kube_node
roles:
- { role: calico, when: "CLUSTER_NETWORK == 'calico'" }
2018-08-05 16:12:32 +08:00
- { role: cilium, when: "CLUSTER_NETWORK == 'cilium'" }
- { role: flannel, when: "CLUSTER_NETWORK == 'flannel'" }
- { role: kube-router, when: "CLUSTER_NETWORK == 'kube-router'" }
2019-05-22 11:17:42 +08:00
- { role: kube-ovn, when: "CLUSTER_NETWORK == 'kube-ovn'" }