How is the answer 1 and not 2 for CLUSTER MAINTENANCE, PRACTICE TEST OS UPGRADES

Q: How many applications do you see hosted on the cluster?

Check the number of deployments

root@controlplane:~# kubectl get deploy
NAME READY UP-TO-DATE AVAILABLE AGE
blue 3/3 3 3 50s
root@controlplane:~# kubectl get deploy --all-namespaces
NAMESPACE NAME READY UP-TO-DATE AVAILABLE AGE
default blue 3/3 3 3 70s
kube-system coredns 2/2 2 2 5m4s

Hello, @ajey
Because there is only 1 deployment which is blue.

why do i get 2 results when i use --all-namespace

When you will use the --all-namespace option with kubectl get deploy. It’ll list all the deployments from all the namespaces.

yes and the qn was in the cluster right and not in one namespace.