c12s-kubespray/roles/network_plugin/calico
Ilya Margolin cc6cbfbe71
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: Kenichi Omichi <ken1ohmichi@gmail.com>

Co-authored-by: Kenichi Omichi <ken1ohmichi@gmail.com>
2022-06-07 09:22:56 -07:00
..
defaults Allow disabling calico CNI logs with calico_cni_log_file_path (#8921) 2022-06-07 09:22:56 -07:00
files Add subjectAltName to calico-apiserver certificate (#8907) 2022-06-06 07:38:23 -07:00
handlers Add kube-ipvs0/nodelocaldns to NetworkManager unmanaged-devices (#7315) 2021-03-03 07:27:20 -08:00
rr Add retries to 'Set label for route reflector' task (#7645) 2021-05-27 12:02:23 -07:00
tasks [calico] add 3.22.3 and 3.23.1 (#8897) 2022-05-31 13:27:23 -07:00
templates Allow disabling calico CNI logs with calico_cni_log_file_path (#8921) 2022-06-07 09:22:56 -07:00
vars Calico: Fix Wireguard support for CentOS Stream 9/RHEL 9 Beta (#8625) 2022-03-17 04:11:20 -07:00