Make Calico Felix log level configurable (#3781)

This commit is contained in:
Joost Cassee 2018-11-28 09:55:01 +01:00 committed by k8s-ci-robot
parent d30dbdde23
commit f2635776cd
2 changed files with 4 additions and 1 deletions

View file

@ -45,6 +45,9 @@ calico_felix_prometheusprocessmetricsenabled: "true"
calico_upgrade_enabled: true
calico_upgrade_version: v1.0.5
# Set the agent log level. Can be debug, warning, info or fatal
calico_loglevel: info
# Should calico ignore kernel's RPF check setting,
# see https://github.com/projectcalico/felix/blob/ab8799eaea66627e5db7717e62fca61fd9c08646/python/calico/felix/config.py#L198
calico_node_ignorelooserpf: false

View file

@ -88,7 +88,7 @@ spec:
value: "false"
# Set Felix logging to "info"
- name: FELIX_LOGSEVERITYSCREEN
value: "info"
value: "{{ calico_loglevel }}"
# Set MTU for tunnel device used if ipip is enabled
{% if calico_mtu is defined %}
- name: FELIX_IPINIPMTU