Skip to content

Node view should show resources (memory/cpu) for the hover details of a pod (or parent/top level resource) #19457

@jsoref

Description

@jsoref

Summary

If you go to the node view and look at a node, you'll see two bars:

  1. cpu
  2. mem

If you hover over a bar, it'll show you requests for pods in that app on that node and for all other pods on that node.

image

If you hover over a pod in the node, you won't see requests for cpu/mem

image

Motivation

I'd like to be able to see the resource costs per pod (this would be the sum of all running containers -- it would exclude completed init containers), or if i switch to parent resource/top level resource (this would be the sum of all running containers for all running pods for the given resource).

It's true that I could open a pod's info view, but if the pod has multiple containers, getting the information out of the yaml is absolutely impractical

Proposal

How do you think this should be implemented?

  1. Add two rows to the pod hover one for cpu and one for ram showing requests
  2. consider adding a hover to parent/top resources -- this should only count live pods (i.e. things that are currently requesting resources as opposed to terminated pods which are still in kubernetes but no longer running and thus aren't reserving resources)

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:uiUser interfaces bugs and enhancementsenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions