Separate apps deploy from cluster deploy

pull/13/head
ant31 2015-11-19 22:49:02 +01:00
parent 5319f23e73
commit 1a0208f448
2 changed files with 18 additions and 6 deletions

18
apps.yml 100644
View File

@ -0,0 +1,18 @@
---
- hosts: kube-master
roles:
# System
- { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
# Databases
- { role: apps/k8s-postgres, tags: ['postgres', 'apps'] }
- { role: apps/k8s-elasticsearch, tags: ['es', 'apps'] }
# Monitoring
- { role: apps/k8s-influxdb, tags: ['influxdb', 'apps']}
- { role: apps/k8s-heapster, tags: ['heapster', 'apps']}
- { role: apps/k8s-kubedash, tags: ['kubedash', 'apps']}
# Console
- { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }
- { role: apps/k8s-kube-ui, tags: ['kube-ui', 'apps'] }

View File

@ -18,9 +18,3 @@
- hosts: kube-node - hosts: kube-node
roles: roles:
- { role: kubernetes/node, tags: node } - { role: kubernetes/node, tags: node }
#- hosts: kube-master
# roles:
# Apps to be installed
# - { role: apps/k8s-kubedns, tags: ['kubedns', 'apps'] }
# - { role: apps/k8s-fabric8, tags: ['fabric8', 'apps'] }