skip to content
Alvin Lucillo

Show pod and container metrics

/ 1 min read

With --containers, we can check in more detail the metrics of containers inside pod. This is helpful if you want to determine the specific containers’ metrics in a multi-container pod.

k top pod test --containers
POD    NAME         CPU(cores)   MEMORY(bytes)
test   mem-stress   24m          30Mi
test   test1        0m           13Mi