Anushka hasini:
The same 2 tier application is having issues again. It must display a green web page on success. Click on the app tab at the top of your terminal to view your application. It is currently failed. Troubleshoot and fix the issue.
Stick to the given architecture. Use the same names and port numbers as given in the below architecture diagram. Feel free to edit, delete or recreate objects as necessary.
Mohamed Ayman:
Hello @Anushka hasini,
But first Before starting any troubleshooting, make sure the core components are working well. you can use kubectl get pod -n kube-system
. the network component doesn’t exist under the kube-system namespace. So, you need to deploy a network solution.
kubectl apply -f "<https://cloud.weave.works/k8s/net?k8s-version=$(kubectl> version | base64 | tr -d '\n')"
This is should be correct in the previous question to be able to go through the second question
Anushka hasini:
kube-proxy is network components right
Pierpaolo P:
not properly, I think you’re a little bit confused, I suggest to review the lectures about CNI
and kube-proxy
.
weave
is a CNI implementation, it provides a network to connect all the pods.
kube-proxy
manage the the network rule on node, I mean the kube-proxy purpose is to route the request from a service to the related pods using for example iptables.
Try to google “kube-proxy vs weave cni”
Anushka hasini:
Ok thank you. Now, I understood.