I had a similar issue and this worked for me: Connection error when deploying using docker on k8s
You could give it a go.