2015-11-20 05:49:02 +08:00
|
|
|
---
|
|
|
|
- hosts: kube-master
|
|
|
|
roles:
|
|
|
|
# System
|
2015-12-17 00:43:26 +08:00
|
|
|
- { role: apps/k8s-kubedns, tags: ['kubedns', 'kube-system'] }
|
2015-11-20 05:49:02 +08:00
|
|
|
|
|
|
|
# Databases
|
2015-11-26 16:37:39 +08:00
|
|
|
- { role: apps/k8s-postgres, tags: 'postgres' }
|
2015-12-11 03:47:59 +08:00
|
|
|
- { role: apps/k8s-elasticsearch, tags: 'elasticsearch' }
|
|
|
|
- { role: apps/k8s-memcached, tags: 'memcached' }
|
|
|
|
- { role: apps/k8s-redis, tags: 'redis' }
|
|
|
|
|
|
|
|
# Msg Broker
|
|
|
|
- { role: apps/k8s-rabbitmq, tags: 'rabbitmq' }
|
2015-11-20 05:49:02 +08:00
|
|
|
|
|
|
|
# Monitoring
|
2015-12-17 00:43:26 +08:00
|
|
|
- { role: apps/k8s-influxdb, tags: ['influxdb', 'kube-system']}
|
|
|
|
- { role: apps/k8s-heapster, tags: ['heapster', 'kube-system']}
|
|
|
|
- { role: apps/k8s-kubedash, tags: ['kubedash', 'kube-system']}
|
2015-11-20 05:49:02 +08:00
|
|
|
|
2015-11-25 21:47:05 +08:00
|
|
|
# logging
|
2015-11-26 16:37:39 +08:00
|
|
|
- { role: apps/k8s-kube-logstash, tags: 'kube-logstash'}
|
2015-11-25 21:47:05 +08:00
|
|
|
|
2015-11-20 05:49:02 +08:00
|
|
|
# Console
|
2015-11-26 16:37:39 +08:00
|
|
|
- { role: apps/k8s-fabric8, tags: 'fabric8' }
|
2015-12-17 00:43:26 +08:00
|
|
|
- { role: apps/k8s-kube-ui, tags: ['kube-ui', 'kube-system']}
|
2015-12-15 05:41:56 +08:00
|
|
|
|
|
|
|
# ETCD
|
2015-12-17 01:09:50 +08:00
|
|
|
- { role: apps/k8s-etcd, tags: 'etcd'}
|