Browse Source

review roles order

pull/22/head
Smaine Kahlouch 9 years ago
parent
commit
d9a8de487f
1 changed files with 10 additions and 6 deletions
  1. 16
      cluster.yml

16
cluster.yml

@ -4,17 +4,21 @@
roles:
- { role: download, tags: download }
- hosts: k8s-cluster
# etcd must be running on master(s) before going on
- hosts: kube-master
roles:
- { role: etcd, tags: etcd }
- { role: docker, tags: docker }
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }
- { role: dnsmasq, tags: dnsmasq }
- hosts: kube-master
- hosts: k8s-cluster
roles:
- { role: kubernetes/master, tags: master }
- { role: docker, tags: docker }
- { role: dnsmasq, tags: dnsmasq }
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }
- hosts: kube-node
roles:
- { role: kubernetes/node, tags: node }
- hosts: kube-master
roles:
- { role: kubernetes/master, tags: master }
Loading…
Cancel
Save