I have Kubernetes Master and Minions running on EC2 instances and was able to successfully deploy an example app with below commands
kubectl run hello-world --image=gcr.io/google_containers/echoserver:1.4 --port=8080
kubectl expose deployment hello-world --type=NodePort
Which is now available externally from port 30013:
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
hello-world 10.43.95.16 <nodes> 8080:30013/TCP 1h
I'm now trying to access this by visiting EC2 instance private IP of this Kubernetes Minion node and its port number as 30013 but is not able to connect at all.
I've checked security group of AWS and this port is open and is attached to the EC2 instance. I cannot think of anything else that would stop accessing the application.
Is there any known issues with AWS networking with Kubernetes exposed services?