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>
This commit is contained in:
holmesb 2021-04-20 23:37:42 +01:00 committed by GitHub
parent 6001edeecd
commit 1e7d48846a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -50,6 +50,7 @@ calico_felix_prometheusprocessmetricsenabled: true
# Set the agent log level. Can be debug, warning, info or fatal # Set the agent log level. Can be debug, warning, info or fatal
calico_loglevel: info calico_loglevel: info
calico_node_startup_loglevel: error
# Enable or disable usage report to 'usage.projectcalico.org' # Enable or disable usage report to 'usage.projectcalico.org'
calico_usage_reporting: false calico_usage_reporting: false

View file

@ -205,6 +205,9 @@ spec:
# Set Felix logging to "info" # Set Felix logging to "info"
- name: FELIX_LOGSEVERITYSCREEN - name: FELIX_LOGSEVERITYSCREEN
value: "{{ calico_loglevel }}" value: "{{ calico_loglevel }}"
# Set Calico startup logging to "error"
- name: CALICO_STARTUP_LOGLEVEL
value: "{{ calico_node_startup_loglevel }}"
# Enable or disable usage report # Enable or disable usage report
- name: FELIX_USAGEREPORTINGENABLED - name: FELIX_USAGEREPORTINGENABLED
value: "{{ calico_usage_reporting }}" value: "{{ calico_usage_reporting }}"