Open ghost opened 4 years ago
I'm surprised you are getting labels from any kata containers...
cAdvisor requires an in-tree integration for each container runtime. Obviously, this is not optimal, as we would prefer that runtimes be abstracted away by the container runtime interface...
We don't have an in-tree integration for KATA, so we can only get cgroup metrics, and no metadata.
We would need to implement kata here: https://github.com/google/cadvisor/tree/master/container
Thanks @dashpole for the detailed explanation !!
I'm surprised you are getting labels from any kata containers...
I too got surprised on seeing this at first, not sure why this inconsistent behaviour there for this pod: mytestrunc-d947dc49-z695j on having those container and image labels
We would need to implement kata here: https://github.com/google/cadvisor/tree/master/container
Curious to know, Is there are any timelines defined on when this implementation will be rolled out ? If yes, requesting to share the target dates
We align our releases with kubernetes releases. 1.19 was just released, so if it is merged in the next few months, it would be released around the beginning of December. I don't personally have plans to implement it.
Hello @dashpole Could you please share the timeline status of this issue? thanks..
I am no longer working on this project. The timeline would be based on when someone decides to contribute the feature. It may also be moot given https://github.com/kubernetes/enhancements/issues/2371
We using kubelet standalone mode trying to get metrics from /metrics/cadvisor api and have noticed from kata containers that there are no container and image labels present except for one pod !! Attaching is part of metrics from cadvisor.
As it can be seen that first TWO metrics from kata container have container and image label, but rest of the metrics don't have container and image labels. Could someone help to explain what's causing this inconsistency? Also, please note that this issue wasn't causing for Non-Kata containers !!
Version