Skip to content
Unverified Commit cc6cbfbe authored by Ilya Margolin's avatar Ilya Margolin Committed by GitHub
Browse files

Allow disabling calico CNI logs with calico_cni_log_file_path (#8921)

* Allow disabling calico CNI logs with calico_cni_log_file_path

Calico CNI logs up to 1G if it log a lot with current default settings:
log_file_max_size	100	Max file size in MB log files can reach before they are rotated.
log_file_max_age	30	Max age in days that old log files will be kept on the host before they are removed.
log_file_max_count	10	Max number of rotated log files allowed on the host before they are cleaned up.

See https://projectcalico.docs.tigera.io/reference/cni-plugin/configuration#logging



To save disk space, make the path configurable and allow disabling this log by setting
`calico_cni_log_file_path: false`

* Fix markdown

* Update roles/network_plugin/canal/templates/cni-canal.conflist.j2

Co-authored-by: default avatarKenichi Omichi <ken1ohmichi@gmail.com>

Co-authored-by: default avatarKenichi Omichi <ken1ohmichi@gmail.com>
parent 9074bd29
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment