kubespray/cluster.yml

27 lines
625 B
YAML
Raw Normal View History

2015-10-04 04:19:50 +08:00
---
- hosts: etcd
2015-12-18 05:46:50 +08:00
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- { role: docker, tags: docker }
- hosts: k8s-cluster
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: docker, tags: docker }
- { role: etcd, tags: etcd }
2015-12-24 06:27:40 +08:00
- { role: kubernetes/node, tags: node }
- { role: network_plugin, tags: network }
2015-10-04 04:19:50 +08:00
2015-12-11 18:40:56 +08:00
- hosts: kube-master
roles:
- { role: kubernetes/master, tags: master }
2016-03-18 22:07:33 +08:00
2016-03-21 18:37:35 +08:00
- hosts: k8s-cluster
2016-03-18 22:07:33 +08:00
roles:
2016-03-21 18:37:35 +08:00
- { role: dnsmasq, tags: dnsmasq }
- hosts: kube-master[0]
roles:
- {role: kubernetes-apps, tags: apps}