Hi, Could someone educate me why "kubectl get all" doesn't show any results in b . . .

Vasu BK:
Hi,
Could someone educate me why “kubectl get all” doesn’t show any results in below case, though there are resources created in ingress-space? Kindly excuse me if this is a basic question. I am assuming, all should show everything created under a given namespace.

controlplane $ kubectl get all --namespace=ingress-space
No resources found in ingress-space namespace.

controlplane $ kubectl get roles,rolebindings --namespace=ingress-space
NAME CREATED AT
http://role.rbac.authorization.k8s.io/ingress-role|role.rbac.authorization.k8s.io/ingress-role 2021-04-06T15:06:10Z

NAME ROLE AGE
http://rolebinding.rbac.authorization.k8s.io/ingress-role-binding|rolebinding.rbac.authorization.k8s.io/ingress-role-binding Role/ingress-role 59s
controlplane $

Samuel Begin:
in short, dont use kubectl get all https://github.com/kubernetes/kubectl/issues/151#issuecomment-402003022

Mohamed Ayman:
kubectl get all does not list all resources in a namespace.

Mohamed Ayman:
all does refer to the following types of (namespaced) resources:
• pods
• services
• replicasets
• deployments

Vasu BK:
Thank u.
So, summary is do not just depend on just “all” outcome when it requires to inspect all services.