-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Container labels are merged into the container image node when rendering topology #815
Comments
But from the perspective of the container-by-image view, the alpine image is a system image, in the sense that containers using it are system containers. The alternative is to — split images on the axis of classification? |
If all of the containers using it were system containers, I could see that, but in this case they aren't. Container Images should only be "system" if they themselves have that label. |
+1 The logic for merging the image labels should be being inherited by this rendered, so this is a structural bug in the code. Easy to fix. |
Actually, the whole determination of whether a container image is "stopped" or "running" is just a random selection from one container. |
Yeah we should remove those filters from that view, they make little sense. |
Stopped makes sense to me, as it's sort of "show only images in use by >= 1 running containers" |
I don't mind either way. |
Here's how I ran into this...
which gives me one stopped and one running container. When showing 'By Image' and 'stopped' or 'running', a) the count of the image node is 2, when it should only be 1, and b) the node occasionally vanishes (Paul reckons that depends on which branch "won" the merge). |
For pods/services, we use a different prefix for their labels (to prevent this). Could do the same for containers & images. |
Then go to container-by-image, and you will see that the "alpine" container image is considered a
system
image, because all metadata (including labels) has been merged up from the container nodes.The text was updated successfully, but these errors were encountered: