mirror of https://github.com/easzlab/kubeasz.git
10 lines
346 B
YAML
10 lines
346 B
YAML
# to install network plugin, only one can be choosen
|
|
- hosts:
|
|
- kube-master
|
|
- kube-node
|
|
roles:
|
|
- { role: calico, when: "CLUSTER_NETWORK == 'calico'" }
|
|
- { role: cilium, when: "CLUSTER_NETWORK == 'cilium'" }
|
|
- { role: flannel, when: "CLUSTER_NETWORK == 'flannel'" }
|
|
- { role: kube-router, when: "CLUSTER_NETWORK == 'kube-router'" }
|