splunk / splunk-connect-for-kubernetes

Helm charts associated with kubernetes plug-ins
Apache License 2.0
344 stars 270 forks source link

Splunk connect for kubernetes support for containerd #860

Open bhargavmg opened 1 year ago

bhargavmg commented 1 year ago

Hello, we are upgrading k8s from 1.23 to 1.24 and since containerd is supported, I have created a dummy setup of the same in k8s 1.24 version. I was facing some issues initially in shipping the logs to splunk but changing the logformatType to cri fixed the errors and I was able to see the logs.

Raising this issue to understand if there are any other changes which are needed to use containerd runtime.

nisc-acooper commented 1 year ago

We have recently made this transition as well, we successfully deployed multiple chart releases with node selectors to handle the transition of some workers migrating to containerd. We are noticing that we are not getting appropriate log data being forwarded. We uninstalled docker and only have containerd.io packages installed (Centos7). It would appear we also need to make a change to pathDest since /var/lib/docker/containers is no longer valid. We have yet to figure out the correct updates to values.yaml to successfully capture containerd log paths (/var/log/pods/ and /var/log/containers, no symlinks)

sabinayakc commented 11 months ago

@bhargavmg this worked for me. We are using EKS. But don't know what else I need to configure.