Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
459 views
in Technique[技术] by (71.8m points)

kubernetes - Unable to access service deployed in aws eks

I have deployed user management service in EKS but unable to access.

Input : curl -v http://54.253.213.152:30077/usermgmt/health-status

Output : curl: (7) Failed to connect to 54.253.213.152 port 30077: Connection refused

Pods Running


mysql-cc94644fc-5g6wq                  1/1     Running   0          19h   192.168.22.212 

usermgt-microsevice-694d677968-bnlsv   1/1     Running   6          19h   192.168.56.62

Service


NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE

kubernetes                 ClusterIP   10.100.0.1      <none>        443/TCP          24h

mysql                      ClusterIP   None            <none>        3306/TCP         20h

usermgmt-restapp-service   NodePort    10.100.202.28   <none>        8095:30077/TCP   20h

Nodes with external IPs


NAME STATUS EXTERNAL-IP

ip-192-168-0-106.ap-southeast-2.compute.internal    Ready  54.253.26.10    

ip-192-168-29-240.ap-southeast-2.compute.internal   Ready  54.79.163.174
ip-192-168-62-151.ap-southeast-2.compute.internal   Ready  54.253.213.152   

Security groups Added

HTTP TCP 80 175.45.149.101/32

All TCP TCP 0 - 65535 175.45.149.101/32

SSH TCP 22 175.45.149.101/32

I have tried with IP range 0.0.0.0 as we well but unable to reach to the the service.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...