when create app helloword in local cluster
root@SZX1000353068:~/istio-0.2.1/samples/apps/helloworld# kubectl get svc helloworld
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
helloworld NodePort 10.0.0.111 <none> 5000:31858/TCP 16m
and I visit helloword
root@SZX1000353068:~/istio-0.2.1/samples/apps/helloworld# curl 127.0.0.1:5000/helloword
curl: (7) Failed to connect to 127.0.0.1 port 5000: Connection refused
I curl pod ip, the same error,
then I enter container, and curl 127.0.0.1:5000/helloword it works ok. But curl podIP:5000, still recv Connection refused.
I do not know what's the matter
when create app helloword in local cluster
and I visit helloword
I curl pod ip, the same error,
then I enter container, and curl 127.0.0.1:5000/helloword it works ok. But curl podIP:5000, still recv Connection refused.
I do not know what's the matter