Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
f2635776
Commit
f2635776
authored
6 years ago
by
Joost Cassee
Committed by
k8s-ci-robot
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Make Calico Felix log level configurable (#3781)
parent
d30dbdde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/network_plugin/calico/defaults/main.yml
+3
-0
3 additions, 0 deletions
roles/network_plugin/calico/defaults/main.yml
roles/network_plugin/calico/templates/calico-node.yml.j2
+1
-1
1 addition, 1 deletion
roles/network_plugin/calico/templates/calico-node.yml.j2
with
4 additions
and
1 deletion
roles/network_plugin/calico/defaults/main.yml
+
3
−
0
View file @
f2635776
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
roles/network_plugin/calico/templates/calico-node.yml.j2
+
1
−
1
View file @
f2635776
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment