2014-06-06 23:40:48 +00:00
|
|
|
base:
|
|
|
|
'*':
|
|
|
|
- base
|
2014-10-27 20:49:06 +00:00
|
|
|
- debian-auto-upgrades
|
2014-06-06 23:40:48 +00:00
|
|
|
|
|
|
|
'roles:kubernetes-pool':
|
|
|
|
- match: grain
|
|
|
|
- docker
|
|
|
|
- kubelet
|
|
|
|
- kube-proxy
|
2014-11-14 04:32:35 +00:00
|
|
|
{% if pillar['enable_node_monitoring'] is defined and pillar['enable_node_monitoring'] %}
|
2014-07-01 17:48:29 +00:00
|
|
|
- cadvisor
|
2014-11-14 04:32:35 +00:00
|
|
|
{% endif %}
|
2014-11-14 07:07:43 +00:00
|
|
|
{% if pillar['enable_node_logging'] is defined and pillar['enable_node_logging'] %}
|
|
|
|
{% if pillar['logging_destination'] is defined and pillar['logging_destination'] == 'elasticsearch' %}
|
2014-10-20 18:01:13 +00:00
|
|
|
- fluentd-es
|
2014-11-14 07:07:43 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if pillar['logging_destination'] is defined and pillar['logging_destination'] == 'gcp' %}
|
2014-10-21 00:37:58 +00:00
|
|
|
- fluentd-gcp
|
2014-11-14 07:07:43 +00:00
|
|
|
{% endif %}
|
2014-10-20 18:01:13 +00:00
|
|
|
{% endif %}
|
2014-09-09 17:37:56 +00:00
|
|
|
- logrotate
|
2014-07-22 21:54:03 +00:00
|
|
|
{% if grains['cloud'] is defined and grains['cloud'] == 'azure' %}
|
|
|
|
- openvpn-client
|
2014-08-07 20:02:52 +00:00
|
|
|
{% else %}
|
|
|
|
- sdn
|
2014-07-22 21:54:03 +00:00
|
|
|
{% endif %}
|
2014-06-06 23:40:48 +00:00
|
|
|
|
|
|
|
'roles:kubernetes-master':
|
|
|
|
- match: grain
|
2014-11-13 02:14:24 +00:00
|
|
|
- generate-cert
|
2014-07-14 17:50:04 +00:00
|
|
|
- etcd
|
2014-11-11 00:34:21 +00:00
|
|
|
- kube-apiserver
|
|
|
|
- kube-controller-manager
|
|
|
|
- kube-scheduler
|
2014-06-06 23:40:48 +00:00
|
|
|
- nginx
|
2014-11-08 00:49:32 +00:00
|
|
|
- kube-client-tools
|
2014-09-09 17:37:56 +00:00
|
|
|
- logrotate
|
2014-07-22 21:54:03 +00:00
|
|
|
{% if grains['cloud'] is defined and grains['cloud'] == 'azure' %}
|
|
|
|
- openvpn
|
|
|
|
{% endif %}
|
2014-08-25 03:19:28 +00:00
|
|
|
|
|
|
|
'roles:kubernetes-pool-vsphere':
|
|
|
|
- match: grain
|
|
|
|
- static-routes
|
2014-09-11 19:39:57 +00:00
|
|
|
|
|
|
|
'roles:kubernetes-pool-vagrant':
|
|
|
|
- match: grain
|
|
|
|
- vagrant
|