Alan Robertson
Alan Robertson

Reputation: 661

What is the meaning of all of the k9s headings? - some are obvious, and some less-so

In particular, %CPU/R, %CPU/L, %MEM/R, and %MEM/L. While I'm at it, what are the units of the memory and CPU (non-percentage) columns?

Upvotes: 32

Views: 28958

Answers (2)

Arco
Arco

Reputation: 954

In https://gist.github.com/BigNerd/35a56e411df4c90f7d6dee1d33dbd0a5 here, the author explained more. And I copy his content here:

View: Pods(<namespace>)[number of pods listed]

NAME      pod name
READY     number of pods in ready state / number of pods to be in ready state
RESTARTS  number of times the pod has been restarted so far
STATUS    state of the pod life cycle, such as Running | ... | Completed
CPU       current CPU usage, unit is milli-vCPU
MEM       current main memory usage, unit is MiB
%CPU/R    current CPU usage as a percentage of what has been requested by the pod
%MEM/R    current main memory usage as a percentage of what has been requested by the pod
%CPU/L    current CPU usage as a percentage of the pod's limit (it cannot go beyond its limit)
%MEM/L    current main memory usage as a percentage of the pod's limit (it cannot go beyond its limit)
IP        IP address of the pod
NODE      name of the node the pod is running on
AGE       age of the pod, units are indicated (s = seconds, m = minutes, h = hours, d = days)

His gist should own a star.

Upvotes: 19

Alan
Alan

Reputation: 839

They are explained in the K9s release notes here

  • %CPU/R Percentage of requested cpu
  • %MEM/R Percentage of requested memory
  • %CPU/L Percentage of limited cpu
  • %MEM/L Percentage of limited memory

Upvotes: 53

Related Questions