scope icon indicating copy to clipboard operation
scope copied to clipboard

probe: translate CRI container state

Open bboreham opened this issue 4 years ago • 4 comments

Use values consistent with what we use for Docker. This avoids seeing all containers as 'stopped', as noted at #3880.

bboreham avatar Feb 28 '22 18:02 bboreham

Hi, can you elaborate on that? I changed the ds.yaml as you mentioned, and now I can see the containers but they are all 'stopped'.

CVilinsky avatar May 19 '22 07:05 CVilinsky

This is a proposed change to the Go code to fix the issue. Are you are able to download this branch and build your own container?

bboreham avatar May 20 '22 14:05 bboreham

Yes, I have cloned your branch, but still I still can't see any containers. I have also made the changes you've noted in #3880 , because my container-runtime is 'containerd'.

CVilinsky avatar May 22 '22 07:05 CVilinsky

I can confirm that this fixes seeing all containers as 'stopped', but I wonder if it's useful for anything. When I click on a container the side widget only shows 'sha256 ... not found' and the pod and host the container is running in. 'by DNS name' and 'by image' is still empty.

ghost avatar Mar 17 '23 13:03 ghost