Skip to content

Application not running in the browser

Hi, First of all thank you for this example. I followed the instructions and every thing seems to work as it should be. This is what I obtaine from the get all command :

kubectl get all 
NAME                                    READY   STATUS    RESTARTS   AGE
pod/mongo-deployment-855b879886-4vh7v   1/1     Running   0          32m
pod/webapp-deployment-9fccd564d-hhvh4   1/1     Running   0          32m

NAME                     TYPE        CLUSTER-IP       EXTERNAL-IP   PORT(S)          AGE
service/kubernetes       ClusterIP   10.96.0.1        <none>        443/TCP          33m
service/mongo-service    ClusterIP   10.101.177.31    <none>        27017/TCP        32m
service/webapp-service   NodePort    10.109.199.121   <none>        3000:30100/TCP   32m

NAME                                READY   UP-TO-DATE   AVAILABLE   AGE
deployment.apps/mongo-deployment    1/1     1            1           32m
deployment.apps/webapp-deployment   1/1     1            1           32m

NAME                                          DESIRED   CURRENT   READY   AGE
replicaset.apps/mongo-deployment-855b879886   1         1         1       32m
replicaset.apps/webapp-deployment-9fccd564d   1         1         1       32m

Then from the minikube ip:

minikube ip
192.168.49.2

When I connect to http://192.168.49.2:30100 I do not obtain any response. Is there any way to monitor what is happening on the cluster side when recieving a request?

Edited by charif-h