We have a docker image created for a go server. This works perfectly in local environment. By local environment I mean we start the docker image in our servers without kubernetes and it works as expected. But when we deployed it in kubernetes we get connection reset. So we did below to try to narrow down the issue and didn't help. We are using a local kubernetes installation and version is 1.16.
So conclusion is that only inside the kubernetes we get the issue. We have two applications which we deployed in kubernetes and one works perfectly and the other is giving the issue. Both the dockerfiles are practically same. We are now running out of ideas and trying to figure out whats going wrong here. Any help would be appreciated.
Thanks