ZhangZhihui's Blog  

Got socket hang up error when access web api service deployed on EKS cluster.

Checked and found that the endpoint of the service is none, and there's no pod under the service.

 

It looked the selectors in deploy.yaml and in service.yaml don't match:

Changed service.yaml as below:

 

Applied the change and the service got an endpoint.

posted on 2023-12-19 15:57  ZhangZhihuiAAA  阅读(8)  评论(0编辑  收藏  举报