kubespray/cluster.yml

27 lines
632 B
YAML
Raw Normal View History

2015-10-04 04:19:50 +08:00
---
- hosts: downloader
sudo: no
roles:
- { role: download, tags: download }
- hosts: k8s-cluster
roles:
- { role: etcd, tags: etcd }
- { role: docker, tags: docker }
2015-10-27 22:42:46 +08:00
- { role: network_plugin, tags: ['calico', 'flannel', 'network'] }
2015-10-04 04:19:50 +08:00
- { role: dnsmasq, tags: dnsmasq }
- hosts: kube-master
roles:
- { role: kubernetes/master, tags: master }
- hosts: kube-node
roles:
- { role: kubernetes/node, tags: node }
2015-10-21 20:03:39 +08:00
#- hosts: kube-master
# roles:
# Apps to be installed
# - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
# - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }