Skip to content

better support containerd namespaces#100

Merged
piax93 merged 1 commit intomasterfrom
u/mpiano/SEC-19863_namespaces_are_fun
Apr 17, 2025
Merged

better support containerd namespaces#100
piax93 merged 1 commit intomasterfrom
u/mpiano/SEC-19863_namespaces_are_fun

Conversation

@piax93
Copy link
Copy Markdown
Contributor

@piax93 piax93 commented Apr 17, 2025

I was dealing with the odd problem of container tracing working fine when I called it, but not when run by systemd, and I figured that we had a wrapper in user envs to set the containerd namespace var properly, which of course would not be present when systemd would launch the daemon process.

Rather than address the issue in the systemd unit (which would be pretty trivial tbf), I went for a small code update the make tracing more flexible, and with a default behaviour tailored for our use cases (aka trace k8s pods).

While I was at it, I also added a couple more logging points about the container tracing background thread doing its job.

@piax93 piax93 requested review from Qmando and nurdann April 17, 2025 13:43
@piax93 piax93 merged commit 72abbc4 into master Apr 17, 2025
3 checks passed
@piax93 piax93 deleted the u/mpiano/SEC-19863_namespaces_are_fun branch April 17, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants