curl: (56) Recv failure: Connection reset by peer

1,799 views
Skip to first unread message

Chiranga Alwis

unread,
Aug 17, 2015, 5:21:36 AM8/17/15
to kubernetes-dev
Hi,
I have been trying to deploy .war files in Apache Tomcat Docker Containers and perform container orchestration using Kubernetes. As my effort, I downloaded a sample helloworld.war file from a website, wrote a Dockerfile using Apache Tomcat to build a new Docker Image and tried to deploy it using Kubernetes pods. I deployed the image as a pod and exposed it as a service. 

NAME         LABELS           SELECTOR         IP(S)      PORT(S)
helloworld   run
=helloworld   run=helloworld   10.0.0.5   80/TCP

This is the result I got but as used the 'curl' command against the IP 10.0.0.5:

curl: (56) Recv failure: Connection reset by peer

Even when I ping using the above IP, I find that all data packets are lost.

I have attached the Dockerfile (as Dockerfile.txt) I built to obtain the image and the helloworld.war file I am deploying, with this post.

I am a fresher to most of these technologies. Any help is highly appreciated. 

 
helloworld.war
Dockerfile.txt

Brian Grant

unread,
Aug 19, 2015, 2:44:25 AM8/19/15
to kubernetes-dev
Thanks a lot for trying Kubernetes, but this list is not a help forum. It is intended for contributors to Kubernetes to discuss Kubernetes design and implementation. Please ask usage questions on stackoverflow. Please also check the user guide and troubleshooting guide -- I put links in the welcome message for this group.

--Brian
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages