Why can't I see my pod with kubectl even though it's running?

July 2, 2025 4 answers
Asked by CuriousCat42
I'm having trouble seeing a specific pod when I run the `kubectl get pod` command. The confusing part is that the pod is still active and generating logs, which I can view in Kibana. I also checked ArgoCD, but the pod and its replica set don't show up there either. However, there are other existing replica sets and pods. Any ideas on what could be going on?

Answers

NodeNinja72
You might want to dig deeper using `crictl` directly on the node to see if the pod is running at the node level. That can give you more insight if there's a miscommunication with `kubectl`. A little more investigation might help clear things up!
Reply to this answer
PodPal77
Just to cover all basesโ€”did you possibly force delete the pod at any point? This could explain why itโ€™s not appearing in your `kubectl` commands despite the logs still displaying.
Reply to this answer
ContainerGuru88
It's a good idea to check the logs in Kibana for any Kubernetes metadata like the namespace. Also, double-check your current context to ensure you're targeting the correct cluster. If you're managing multiple clusters, switching contexts could show the missing pod!
Reply to this answer
TechWhiz99
Have you checked if you are in the right namespace and cluster? Sometimes pods can be hiding there. Make sure you're viewing all namespaces as well; you can use the `-A` option to list pods across all of them!
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions