k3s/cluster/saltbase/salt/top.sls

50 lines
1.2 KiB
Plaintext
Raw Normal View History

2014-06-06 23:40:48 +00:00
base:
'*':
- base
- debian-auto-upgrades
2014-06-06 23:40:48 +00:00
'roles:kubernetes-pool':
- match: grain
- docker
- kubelet
- kube-proxy
{% if pillar['enable_node_monitoring'] is defined and pillar['enable_node_monitoring'] %}
2014-07-01 17:48:29 +00:00
- cadvisor
{% 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' %}
- fluentd-es
2014-11-14 07:07:43 +00:00
{% endif %}
{% if pillar['logging_destination'] is defined and pillar['logging_destination'] == 'gcp' %}
- fluentd-gcp
2014-11-14 07:07:43 +00:00
{% endif %}
{% endif %}
2014-09-09 17:37:56 +00:00
- logrotate
{% if grains['cloud'] is defined and grains['cloud'] == 'azure' %}
- openvpn-client
2014-08-07 20:02:52 +00:00
{% else %}
- sdn
{% endif %}
2014-06-06 23:40:48 +00:00
'roles:kubernetes-master':
- match: grain
- generate-cert
- etcd
- kube-apiserver
- kube-controller-manager
- kube-scheduler
2014-06-06 23:40:48 +00:00
- nginx
- kube-client-tools
2014-09-09 17:37:56 +00:00
- logrotate
{% 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