Hi experts, I have got one more question. Kindly clarify. Why the output of bel . . .

Vasu BK:
Hi experts,
I have got one more question. Kindly clarify.

Why the output of below command is not part of “kubectl get all --all-namespaces”

“kubectl get ingress --all-namespaces”

Here is the sample output:


controlplane $ kubectl get ingress --all-namespaces
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use http://networking.k8s.io/v1|networking.k8s.io/v1 Ingress
NAMESPACE NAME CLASS HOSTS ADDRESS PORTS AGE
app-space ingress-wear-watch <none> * 80 8m58s
controlplane $
------------- ***** ------------
I am copying only gerp output here, because full output is huge, which I have inspected manually as well.

controlplane $ kubectl get all --all-namespaces | grep ingress-wear-watch
controlplane $


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