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:
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,
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?