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?
4 Answers
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!
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!
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.
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!
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures