Hi, 

Sometimes I can`t access kubernetes service. I have two configs: 
frontend_deployment.yml and frontend_service.yml. Used service type: 
LoadBalancer. Mostly after deploy (after kubernetes apply -f 
frontend_deployment.yml) I cant access service, pod is in Running state and 
available.

I tried to connect to service EXTERNAL-IP and exposed port, but I have 

telnet EXTERNAL-IP 80

telnet: Unable to connect to remote host: Connection refused


kubectl describe services frontend-dev

Port: <unset> 80/TCP

NodePort: <unset> 31139/TCP


I triеd  to connect on minion to 127.0.01 and NodePort, but also have 


telnet 127.0.0.1 31139

Trying 127.0.0.1...

telnet: Unable to connect to remote host: Connection refused


After deletion one running pod (for frontend_deployment replicas: 1)

kubernetes delete pod frontend-dev-184209990-89rlq

I can access 127.0.0.1, port 31139 on minion, and EXTERNAL-IP 80.


I didnt find something useful in logs. In kube-proxy.log I found


Removing endpoints for "default/frontend-dev:"

I0614 12:43:59.416988       5 proxier.go:484] Setting endpoints for 
"default/frontend-dev:" to [10.244.2.3:80]


Kubernetes version used:

kubectl version

Client Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.3", 
GitCommit:"882d296a99218da8f6b2a340eb0e81c69e66ecc7", GitTreeState:"clean"}

Server Version: version.Info{Major:"1", Minor:"2", GitVersion:"v1.2.0", 
GitCommit:"5cb86ee022267586db386f62781338b0483733b3", GitTreeState:"clean"}


Kubernetes was installed using kube-up script on gce.



Can you tell why this appear? How can I solve this issue? Which logs may be 
useful?

-- 
You received this message because you are subscribed to the Google Groups 
"Containers at Google" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-containers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to