|
@ -4,17 +4,21 @@ |
|
|
roles: |
|
|
roles: |
|
|
- { role: download, tags: download } |
|
|
- { role: download, tags: download } |
|
|
|
|
|
|
|
|
- hosts: k8s-cluster |
|
|
|
|
|
|
|
|
# etcd must be running on master(s) before going on |
|
|
|
|
|
- hosts: kube-master |
|
|
roles: |
|
|
roles: |
|
|
- { role: etcd, tags: etcd } |
|
|
- { 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: |
|
|
roles: |
|
|
- { role: kubernetes/master, tags: master } |
|
|
|
|
|
|
|
|
- { role: docker, tags: docker } |
|
|
|
|
|
- { role: dnsmasq, tags: dnsmasq } |
|
|
|
|
|
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] } |
|
|
|
|
|
|
|
|
- hosts: kube-node |
|
|
- hosts: kube-node |
|
|
roles: |
|
|
roles: |
|
|
- { role: kubernetes/node, tags: node } |
|
|
- { role: kubernetes/node, tags: node } |
|
|
|
|
|
|
|
|
|
|
|
- hosts: kube-master |
|
|
|
|
|
roles: |
|
|
|
|
|
- { role: kubernetes/master, tags: master } |