Hi Devs,

I am trying to install Stratos with Kubernetes on EC2 and following [1]. I
used region specific CoreOs alpha channel AMI in [2] and I was able to
spawn a master and 3 minions on EC2.  I also configured Kubectl ssh tunnel
for the communication between Kubectl client and Kubernets API.

But when I try *kubectl api-versions* command, I am getting following
error.

*channel 2: open failed: connect failed: Connection refused*
*Couldn't get available api versions from server: Get
http://localhost:8080/api <http://localhost:8080/api>: EOF*

What could be the reason for this error? As I understood kubernetes master
node is refusing the connection. I did not change anything on master.yaml
file and kept all values as default. But I could ssh to kubernetes master
node as well.

Please note that my Kubectl client runs on a EC2 instance. Any help on this
is greatly appreciated.

[1] -
https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Install+Stratos+with+Kubernetes+on+EC2

[2] - https://coreos.com/docs/running-coreos/cloud-providers/ec2/

Thank you!
-- 

*Pubudu Gunatilaka*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 77 4078049

Reply via email to