ssh - Run Kubernetes on EC2 -


i trying run kubernetes on ec2 , used coreos alpha channel ami.i configured kubectl ssh tunnel communication between kubectl client , kubernets api.

but when try kubectl api-versions command, getting following error.

couldn't available api versions server: http://myip:8080/api: dial tcp myip:8080: connection refused

myip - has set accordingly.

what reason this?

reason issue haven't set kubernetes_master environment variable properly. there ssh tunnel between kubectl client , api, kubernetes master environment variable should set localhost.


Comments