There is a similar issue (https://stackoverflow.com/questions/50806228/cant-submit-job-with-flink-1-5-cluster) where task managers cannot reach the job manager, and the solution appeared to be to add JOB_MANAGER_RPC_ADDRESS to /etc/hosts. However, the issue above is slightly different in that the TMs appear to try to use the Kubernetes pod name to connect.
There is an end-to-end test in the Flink repository that starts a job cluster in Kubernetes (minikube) [1]. If that does not help you, can you answer the questions below?
What docker images are you using? Can you share the kubernetes resource definitions? Can you share the complete logs of the JM and TMs? Did you follow the steps outlined in the Flink documentation [2]?
There is a similar issue (https://stackoverflow.com/questions/50806228/cant-submit-job-with-flink-1-5-cluster) where task managers cannot reach the job manager, and the solution appeared to be to add JOB_MANAGER_RPC_ADDRESS to /etc/hosts. However, the issue above is slightly different in that the TMs appear to try to use the Kubernetes pod name to connect.