vladimirvivien/ktop

Resource statistics

Closed this issue · 4 comments

I initially thought the cpu and memory statistics were utilization, which I thought was amazing because I didn't deploy metrics servers.
After the meeting, I found that the documentation said that these were requests and limits for resources, but I found that these were not the same as what I actually set in yaml.

image

image

There's a big difference in memory here

Hi thank you for reporting the issue.
The software will use resource requests if it does not find a metrics server.
If one is found, it will try to use it to report resource consumptions.

Can you provide some additional detail?

  • Are you using a metrics server ?
  • Are you seeing issues with other pods ?
  • What version of the software are you using ?
~  ktop version
Connected to: https://127.0.0.1:57586

 _    _
| | _| |_ ___  _ __
| |/ / __/ _ \| '_ \
|   <| || (_) | |_) |
|_|\_\\__\___/| .__/
              |_|
Version v0.3.5

echo 'kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
featureGates:
  "EphemeralContainers": true
nodes:
- role: control-plane
  image: kindest/node:v1.26.0 
  extraPortMappings:
  - containerPort: 6443
    hostPort: 6443
    protocol: TCP 
- role: worker
  image: kindest/node:v1.26.0
  labels:
    zone: c  
' >/tmp/kind.yaml

kind create cluster --config /tmp/kind.yaml

This is my situation.

New cluster, other Pods have similar situation

@ls-2018 thanks for the additional detail.
I will attempt to recreate this to make sure it's not a bug in reporting the numbers.