Can someone explain why the difference between this commands? controlplane $ ku . . .

Claro Taroco:
Can someone explain why the difference between this commands?

controlplane $ kubectl get ingress -n app-space -o yaml | grep -i default
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use http://networking.k8s.io/v1|networking.k8s.io/v1 Ingress
controlplane $
controlplane $ kubectl describe ingress -n app-space | grep -i default
Warning: extensions/v1beta1 Ingress is deprecated in v1.14+, unavailable in v1.22+; use http://networking.k8s.io/v1|networking.k8s.io/v1 Ingress
Default backend: default-http-backend:80 (<error: endpoints “default-http-backend” not found>)

L B:
take off the grep + the difference in output is more apparent

Claro Taroco:
Sorry, may be I was not clear enough. The first command doesn’t bring me any result, while the second one thus output the default backend.

Why the get (with -o yaml) and describe commands outputs don’t match?

L B:
what is the output of kubectl get ing -n app-space

Mohamed Ayman:
kubectl get ##Prints a table of the most important information about the specified resources and not all informations.
while kubectl describe Print a detailed description of the selected resources, including related resources such as events or controllers