kubectl/pkg/cmd/top
Mujib 0814ca5bc2 kubectl: filter top pod metrics using pod field selectors (#139107)
* kubectl: filter top pod metrics using pod field selectors

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>

* test case added

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>

* strict condition added for filtering

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>

---------

Signed-off-by: Mujib Ahasan <ahasanmujib8@gmail.com>

Kubernetes-commit: 6dd4f0de73d61f4e02c4e7ed445c09d4282ea350
2026-05-22 23:09:55 +00:00
..
top.go top command documentation enhancement (#136825) 2026-03-19 20:03:52 +00:00
top_node.go [KEP-2400] kubectl top: add a --show-swap option (#129458) 2025-06-04 17:10:38 +03:00
top_node_test.go [KEP-2400] kubectl top: add a --show-swap option (#129458) 2025-06-04 17:10:38 +03:00
top_pod.go kubectl: filter top pod metrics using pod field selectors (#139107) 2026-05-22 23:09:55 +00:00
top_pod_test.go kubectl: filter top pod metrics using pod field selectors (#139107) 2026-05-22 23:09:55 +00:00
top_test.go [KEP-2400] kubectl top: add a --show-swap option (#129458) 2025-06-04 17:10:38 +03:00