Slackbot
10/11/2023, 11:56 AMPrashant Shahi
10/11/2023, 8:50 PMlog_dir="/var/log/crio/pods" The default log directory where all logs will go unless directly specified by the kubelet.Ref: https://github.com/cri-o/cri-o/blob/main/docs/crio.conf.5.md#crio-table Can you try using that crio logs path in the include configuration of log collection instead of docker path? override-values.yaml
k8s-infra:
presets:
logsCollection:
enabled: true
include:
- /var/log/crio/pods/*/*/*.log
PS: Log collection blacklist will only work via additionalExclude
and not others.sudhanshu dev
10/12/2023, 3:53 AMsudhanshu dev
10/12/2023, 3:54 AMsudhanshu dev
10/12/2023, 4:54 AMsudhanshu dev
10/12/2023, 7:03 AMsudhanshu dev
10/12/2023, 7:18 AMsudhanshu dev
10/12/2023, 7:53 AMsudhanshu dev
10/12/2023, 7:53 AMPrashant Shahi
10/12/2023, 8:54 AMsudhanshu dev
10/12/2023, 8:54 AMPrashant Shahi
10/12/2023, 8:54 AMAny idea in debugging?can you try to ssh into the nodes and find the path for container logs?
sudhanshu dev
10/12/2023, 8:55 AMsudhanshu dev
10/12/2023, 8:55 AMsudhanshu dev
10/12/2023, 8:56 AMsudhanshu dev
10/12/2023, 8:56 AMPrashant Shahi
10/12/2023, 9:00 AMsudhanshu dev
10/12/2023, 9:07 AM/var/log/pods/poc-dev_game-centre-9c6668c99-rrksr_b65c2fe1-d866-42ed-9251-2400eef9a13f/game-centre/559.log
sudhanshu dev
10/12/2023, 9:07 AM/var/log/pods/default_game-centre-77c96bc74-4vwsj_210c748d-8b69-462d-acc6-fd8cbdced8aa/game-centre/0.log
sudhanshu dev
10/12/2023, 9:08 AMsudhanshu dev
10/12/2023, 9:42 AMsudhanshu dev
10/12/2023, 9:42 AM