Can someone explain how to solve question 1, troubleshoot network practice test? . . .

sam djafari:
Can someone explain how to solve question 1, troubleshoot network practice test? How do we get to conclusion that the problem is that weave is not installed?

sam djafari:
when run command: nslookup kubernetes.default before and after installation of Weave, I get the same response :
> Server: 127.0.0.53
> Address: 127.0.0.53#53
>
> ** server can’t find kubernetes.default: NXDOMAIN

sam djafari:
I appreciate someone help me understand how to troubleshoot network erros.

Mohamed Ayman:
The networking addon was not deployed. Run kubectl get pods -n kube-system to check if it exists or not.

You should run kubectl apply -f “https://cloud.weave.works/k8s/net?k8s-version=$|https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d ‘\n’)”

sam djafari:
Thanks for replying @Mohamed Ayman. I did that. but should I not expect that command "nslookup kubernetes.default’ get resolved?