Monitoring containers in a specific k8s namespace #3719
-
Hello, I am using your tool in a project, and I want to be able to only monitor and use the capture module only on the containers in a specific k8s namespace. Is this possible? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
@Rafaelyot we have a distinction between capture and trace. Capture is the feature where we capture artifacts (written files, network flows, etc) and is used mainly when tracee is being used as a "introspection" tool (not a runtime detection tool). You are likely talking about "tracing containers of a specific k8s namespace" as filtering mechanism, then we have this bug: #3711 opened that you can follow. I'll close this discussion so we can focus in that bug for this issue. Feel free to comment again here if needed, but you may follow the resolution for this on that issue. Cheers! |
Beta Was this translation helpful? Give feedback.
-
I've squashed all your commits and will comment (when time allows) parts of it and then we can clarify where things go (and what is going on in your attempt). The container package needs rework (specially related to encapsulation). I think you did correct calling enrichment here for already existing containers (specially because they were already mapped by Populate() called right after containers.New(). Maybe we can enrich inside the object (Populate() could call enriching already, for example). This way we would avoid copying data (about existing containers) out of the instance and then feeding to a method inside it again.
|
Beta Was this translation helpful? Give feedback.
@Rafaelyot we have a distinction between capture and trace. Capture is the feature where we capture artifacts (written files, network flows, etc) and is used mainly when tracee is being used as a "introspection" tool (not a runtime detection tool).
You are likely talking about "tracing containers of a specific k8s namespace" as filtering mechanism, then we have this bug: #3711 opened that you can follow. I'll close this discussion so we can focus in that bug for this issue. Feel free to comment again here if needed, but you may follow the resolution for this on that issue.
Cheers!