Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Container-tracer does not work in nested namespaces #36

Open
tzstoyanov opened this issue Sep 17, 2023 · 0 comments
Open

Container-tracer does not work in nested namespaces #36

tzstoyanov opened this issue Sep 17, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@tzstoyanov
Copy link
Contributor

Describe the bug

In a nested namespaces environment, such as Kind clusters, the discovering the PIDs of the containers tasks fails. In that case, the Kubernetes API returns the PIDs as they are seen be the parent namespace. In order to attach a trace-hook, container-tracer needs the real PIDs, as they are seen in the root namespace.

Reproduction steps

  1. Install container-tracer in a Kind cluster.
  2. Configure and start a new trace session
  3. Check the PIDs, on which the trace-session is configured - these are not valid PIDs in the root PID namespace.
    ...

Expected behavior

Container-tracer to work in a nested namespace environments, such as Kind clusters

Additional context

No response

@tzstoyanov tzstoyanov added the bug Something isn't working label Sep 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant