mirror of https://github.com/k3s-io/k3s
Enable supervisord for other cloud providers.
parent
ca6fe97275
commit
29614d3fe0
|
@ -33,11 +33,7 @@ base:
|
|||
- kube-registry-proxy
|
||||
{% endif %}
|
||||
- logrotate
|
||||
{% if grains['cloud'] is defined and grains.cloud == 'gce' %}
|
||||
- supervisor
|
||||
{% else %}
|
||||
- monit
|
||||
{% endif %}
|
||||
|
||||
'roles:kubernetes-master':
|
||||
- match: grain
|
||||
|
@ -46,11 +42,7 @@ base:
|
|||
- kube-apiserver
|
||||
- kube-controller-manager
|
||||
- kube-scheduler
|
||||
{% if grains['cloud'] is defined and grains.cloud == 'gce' %}
|
||||
- supervisor
|
||||
{% else %}
|
||||
- monit
|
||||
{% endif %}
|
||||
{% if grains['cloud'] is defined and not grains.cloud in [ 'aws', 'gce', 'vagrant' ] %}
|
||||
- nginx
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue