I am exposed the service mongodb
in nodePort
but I cannot access that link. Connection was reset error:
$ curl http://192.168.99.102:32292
curl: (56) Recv failure: Connection was reset
$ kubectl.exe get services
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.0.0.1 <none> 443/TCP 4d
mongodb NodePort 10.0.0.213 <none> 27017:32292/TCP 7m
You can't connect to the port 27017 via HTTP.
Try this telnet 192.168.99.102 32292
.