Browse Source
Fixes issue #7528 - allow configuring CALICO_STARTUP_LOGLEVEL via a new variable: calico_node_startup_loglevel (#7530)
Signed-off-by: Brendan Holmes <5072156+holmesb@users.noreply.github.com>
pull/7535/head
holmesb
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
0 deletions
-
roles/network_plugin/calico/defaults/main.yml
-
roles/network_plugin/calico/templates/calico-node.yml.j2
|
|
@ -50,6 +50,7 @@ calico_felix_prometheusprocessmetricsenabled: true |
|
|
|
|
|
|
|
# Set the agent log level. Can be debug, warning, info or fatal |
|
|
|
calico_loglevel: info |
|
|
|
calico_node_startup_loglevel: error |
|
|
|
|
|
|
|
# Enable or disable usage report to 'usage.projectcalico.org' |
|
|
|
calico_usage_reporting: false |
|
|
|
|
|
@ -205,6 +205,9 @@ spec: |
|
|
|
# Set Felix logging to "info" |
|
|
|
- name: FELIX_LOGSEVERITYSCREEN |
|
|
|
value: "{{ calico_loglevel }}" |
|
|
|
# Set Calico startup logging to "error" |
|
|
|
- name: CALICO_STARTUP_LOGLEVEL |
|
|
|
value: "{{ calico_node_startup_loglevel }}" |
|
|
|
# Enable or disable usage report |
|
|
|
- name: FELIX_USAGEREPORTINGENABLED |
|
|
|
value: "{{ calico_usage_reporting }}" |
|
|
|