Browse Source

Make Calico Felix log level configurable (#3781)

pull/3784/head
Joost Cassee 6 years ago
committed by k8s-ci-robot
parent
commit
f2635776cd
2 changed files with 4 additions and 1 deletions
  1. 3
      roles/network_plugin/calico/defaults/main.yml
  2. 2
      roles/network_plugin/calico/templates/calico-node.yml.j2

3
roles/network_plugin/calico/defaults/main.yml

@ -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

2
roles/network_plugin/calico/templates/calico-node.yml.j2

@ -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

Loading…
Cancel
Save