mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
standard config opt names: logging
This commit is contained in:
@@ -11,11 +11,13 @@ base:
|
||||
{% if pillar['enable_node_monitoring'] is defined and pillar['enable_node_monitoring'] %}
|
||||
- cadvisor
|
||||
{% endif %}
|
||||
{% if pillar['use-fluentd-es'] is defined and pillar['use-fluentd-es'] %}
|
||||
{% 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
|
||||
{% endif %}
|
||||
{% if pillar['use-fluentd-gcp'] is defined and pillar['use-fluentd-gcp'] %}
|
||||
{% endif %}
|
||||
{% if pillar['logging_destination'] is defined and pillar['logging_destination'] == 'gcp' %}
|
||||
- fluentd-gcp
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
- logrotate
|
||||
{% if grains['cloud'] is defined and grains['cloud'] == 'azure' %}
|
||||
|
Reference in New Issue
Block a user