-
Notifications
You must be signed in to change notification settings - Fork 90
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
Show pod details #1037
Show pod details #1037
Conversation
based on the last image, when there are no ports, the height is somewhat weird, isn't it? |
Yes, that's why it's still draft :) |
@garrett pushed a new version which looks like this: |
Here's how it'd work right now, as-is: (Note the larger text for the pod group name, which I've used in every mockup so far, but isn't in this PR.) And it would flow on mobile to be something like this: Closest to a summary I've seen in PF is using icons + numbers in tables like this demo: We'd have to have the right icons if we use icons. But the icons might not be self-explanitory and they're not consistent with the lists of the containers — or anywhere else in Cockpit — so I'm hesitant to suggest them. |
There seems to be too much padding on the right and top of the pod group? It's odd. I've trimmed it a little and modified the screenshot a little (including bumping up the pod's heading) and have this: Here's what it would look like with icons (the ones PF specifies for each type of item): Obviously, they'd have to have some kind of hover tooltip to explain what each represents. And the linked ones with a popover would probably say "click to expand" or something as well. And on mobile, we'd need to expand the name and not show the tooltips, as hover isn't really possible on mobile. (The icons actually don't look too bad?) |
Ok, let's implement the icons design, I'm not 100% sure how we would implement the changing of components for the mobile view. Currently I can only think of adding an |
Why not the hidden utility class in a breakpoint, just for the text? (Or perhaps we might need the opposite, depending on what the breakpoint means.) Mobile doesn't support hover, so we could just ignore the hover tooltips, as they won't show. But the text will. |
d8aaf70
to
bed7a1b
Compare
Which issue? I see a few.
|
f808831
to
3bf42e9
Compare
A pod consists out of one or more containers which consume CPU, memory which we would like to show combined in the pod's header. The CPU usage is reported per container, so we do not add them all up but show the highest CPU usage of one of the containers in the pod. For memory usage we do add up all containers memory usage. Pods can also have a port and volume mapping which is shared with every container, the port/volume mapping can be obtained from the infrastructure container which delegates these mappings.
Debian testing is a flakerino |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you!
On Debian-testing restore_dir fails as it tries to copy a file which has come away. So it seems that systemctl stop did not fully succeed in stopping podman, ensure it does.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Show the port details of a pod using a popover.
Pod CPU, memory, port and volume details
Podman now shows the CPU and memory usage of a pod. The amount port and volume mappings of a pod are now shown with a popover showing the exact detailed mapping.