Skip to content

Process-to-container mapping support for CRIO and Docker runtime#3

Open
manfuin wants to merge 1 commit intocnvrg:mainfrom
manfuin:docker-and-crio-cgroup-name-format
Open

Process-to-container mapping support for CRIO and Docker runtime#3
manfuin wants to merge 1 commit intocnvrg:mainfrom
manfuin:docker-and-crio-cgroup-name-format

Conversation

@manfuin
Copy link

@manfuin manfuin commented May 8, 2023

Initial symptom, after deploying metaGPU, was no information about Pod processes.

After troubleshooting it is turned out the process-to-container mapping is not working. This comes down to the fact that "cgroup name equal to container id" is only true for containerd runtime.

Containers created by Docker or CRIO do have prefix and .scope suffix as well.

This patch aims to recognize Docker/CRIO cgroup naming format and extract the ContianerId to make mapping happens.

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.

1 participant