Browse Source

Separate apps deploy from cluster deploy

pull/13/head
ant31 9 years ago
parent
commit
1a0208f448
2 changed files with 18 additions and 6 deletions
  1. 18
      apps.yml
  2. 6
      cluster.yml

18
apps.yml

@ -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'] }

6
cluster.yml

@ -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'] }
Loading…
Cancel
Save