I have a Kubernetes cluster which has 5 different services. After cluster deployment I can run:
kubectl get podsand see all my pods. But after a few minutes when I run the same command again, I see:
No resources found.And I'm able to see my pods only after running:
kubectl get pods --all-namespacesCan someone explain what is my problem?