环境信息:
K3s 版本:
k3s version v1.25.5-rc1+k3s2 (de654222)
go version go1.19.4
节点 CPU 架构、操作系统和版本::
Linux onekey-npms 5.15.0-78-generic #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
集群配置:
1 server
问题描述:
journalctl -f -u k日志里,每间隔5秒打印/var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist
复现步骤:
- 安装 K3s 的命令:
预期结果:
不要每间隔5秒打印一次日志
实际结果:
附加上下文/日志:
日志
Aug 11 15:22:25 onekey-npms k3s[2128]: time="2023-08-11T15:22:25+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:22:30 onekey-npms k3s[2128]: time="2023-08-11T15:22:30+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:22:35 onekey-npms k3s[2128]: time="2023-08-11T15:22:35+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:22:40 onekey-npms k3s[2128]: time="2023-08-11T15:22:40+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:22:45 onekey-npms k3s[2128]: time="2023-08-11T15:22:45+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:22:50 onekey-npms k3s[2128]: time="2023-08-11T15:22:50+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:22:55 onekey-npms k3s[2128]: time="2023-08-11T15:22:55+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:23:01 onekey-npms k3s[2128]: time="2023-08-11T15:23:01+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:23:06 onekey-npms k3s[2128]: time="2023-08-11T15:23:06+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:23:11 onekey-npms k3s[2128]: time="2023-08-11T15:23:11+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"
Aug 11 15:23:16 onekey-npms k3s[2128]: time="2023-08-11T15:23:16+08:00" level=info msg="Using CNI configuration file /var/lib/rancher/k3s/agent/etc/cni/net.d/10-flannel.conflist"