mirror of https://github.com/k3s-io/k3s
commit
7c5625b2dd
|
@ -29,7 +29,7 @@
|
|||
|
||||
{% set cluster_dns = "" %}
|
||||
{% set cluster_domain = "" %}
|
||||
{% if pillar['enable_cluster_dns'] is defined and pillar['enable_cluster_dns'] %}
|
||||
{% if pillar.get('enable_cluster_dns', '').lower() == 'true' %}
|
||||
{% set cluster_dns = "--cluster_dns=" + pillar['dns_server'] %}
|
||||
{% set cluster_domain = "--cluster_domain=" + pillar['dns_domain'] %}
|
||||
{% endif %}
|
||||
|
|
|
@ -8,10 +8,10 @@ base:
|
|||
- docker
|
||||
- kubelet
|
||||
- kube-proxy
|
||||
{% if pillar['enable_node_monitoring'] is defined and pillar['enable_node_monitoring'] %}
|
||||
{% if pillar.get('enable_node_monitoring', '').lower() == 'true' %}
|
||||
- cadvisor
|
||||
{% endif %}
|
||||
{% if pillar['enable_node_logging'] is defined and pillar['enable_node_logging'] %}
|
||||
{% if pillar.get('enable_node_logging', '').lower() == 'true' %}
|
||||
{% if pillar['logging_destination'] is defined and pillar['logging_destination'] == 'elasticsearch' %}
|
||||
- fluentd-es
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue