Why does 'kubectl' sometimes return a *node* name instead of the *pod* name if the specified pod no longer exists in the cluster?
Solution 1:
This is expected behavior. That is how a Pod is registered in DNS(AAAA record).
Syntax: pod-ip-address.namespace.pod.cluster
In my understanding:
Pod
- ip-address = ip-192-168-55-196
- namespace = us-east-1
- Cluster = compute.internal
Check this link.