Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Investigate Support containerD and maybe the other container runtimes #275

Closed
xiaomi7732 opened this issue May 31, 2022 · 3 comments
Closed
Labels
status:resolved Bug is fixed but not released yet.
Milestone

Comments

@xiaomi7732
Copy link
Member

K8s doc:

@xiaomi7732
Copy link
Member Author

At the end of the day, the question is:

  • how to get container id from with in the running container?

/proc/self/cgroup has been giving us a good run but the mechanism is falling apart as cGruopV2 kicks in.

From docker container side, it is asked, not too much progress moving forward:

From K8s side, there is no conclusion either:

@xiaomi7732
Copy link
Member Author

Another related issue, although on imageId, not containerId: kubernetes/kubernetes#80346

@xiaomi7732 xiaomi7732 added this to the vNext milestone Jun 6, 2022
@xiaomi7732 xiaomi7732 added the status:resolved Bug is fixed but not released yet. label Jun 6, 2022
@xiaomi7732
Copy link
Member Author

We landed at the point that supports cgroupv1 and cgroupv2 with the most common runtimes (containerD and docker engine.

Package released: https://www.nuget.org/packages/Microsoft.ApplicationInsights.Kubernetes/2.0.4-beta2

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
status:resolved Bug is fixed but not released yet.
Projects
None yet
Development

No branches or pull requests

1 participant