c12s-kubespray/cluster.yml
Smaine Kahlouch 481d16d5ad tag 'apps'
2015-10-12 17:31:04 +02:00

23 lines
600 B
YAML

---
- hosts: downloader
sudo: no
roles:
- { role: download, tags: download }
- hosts: k8s-cluster
roles:
- { role: etcd, tags: etcd }
- { role: docker, tags: docker }
- { role: overlay_network, tags: ['calico', 'flannel', 'network'] }
- { role: dnsmasq, tags: dnsmasq }
- hosts: kube-master
roles:
- { role: kubernetes/master, tags: master }
# Addons to be installed
# - { role: apps/k8s-skydns, tags: ['skydns', 'apps'] }
# - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
- hosts: kube-node
roles:
- { role: kubernetes/node, tags: node }