# Kubectl top pods fails

**URL:** <https://forums.suse.com/t/kubectl-top-pods-fails/43572>\
**Category:** k3s, k3OS, and k3d\
**Created:** [July 10, 2024, 4:18am UTC](https://forums.suse.com/t/kubectl-top-pods-fails/43572 "2024-07-10T04:18:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptrader01](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/ptrader01/32/11357_2.png) [@ptrader01](https://forums.suse.com/u/ptrader01)\
**Post date:** [July 10, 2024, 4:18am UTC](https://forums.suse.com/t/kubectl-top-pods-fails/43572/1 "2024-07-10T04:18:22Z")

</div>

I have a k3s deployment on 3 Ubuntu nodes.

I need to find which of the pods are taking too much CPU resources, but I get the following error:

```auto
kubectl top pods
error: Metrics not available for pod default/argo-cron-test-1720584420-run-script-1055203228, age: 3m7.831722966s

```

When I try to get more info about the pod,

```auto
k get pod argo-cron-test-1720584420-run-script-1055203228
Error from server (NotFound): pods "argo-cron-test-1720584420-run-script-1055203228" not found

```

It seems that `kubectl top pod` is confused somehow.

How can I diagnose this issue?
