kubespray/cluster.yml

28 lines
656 B
YAML
Raw Normal View History

2015-10-04 04:19:50 +08:00
---
- hosts: all
gather_facts: true
- hosts: etcd:!k8s-cluster
2015-12-18 05:46:50 +08:00
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { role: etcd, tags: etcd }
- hosts: k8s-cluster
roles:
- { role: kubernetes/preinstall, tags: preinstall }
- { 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/preinstall, tags: preinstall }
2015-12-11 18:40:56 +08:00
- { 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:
2016-09-08 02:02:06 +08:00
- { role: kubernetes-apps, tags: apps }