Thank you Imesh! Thanks & Regards Shavindri Dissanayake Technical Writer LinkedIn Profile <https://www.linkedin.com/profile/view?id=112227277&trk=nav_responsive_tab_profile> Mob: 0779966739
WSO2 Inc. lean.enterprise.middleware On Fri, Mar 6, 2015 at 4:19 PM, Imesh Gunaratne <[email protected]> wrote: > Hi Shavindri, > > Yes seems like there is no sample for this, please refer below: > > { > "hostId": "minion-1", > "hostname": "minion-1.dev.kubernetes.org", > "privateIPAddress": "172.17.8.102", > "publicIPAddress": "172.17.8.102", > "property": [ > ] > } > > Thanks > > > On Fri, Mar 6, 2015 at 2:37 PM, Shavindri Dissanayake <[email protected]> > wrote: > >> Hi Devs, >> >> To my understanding when executing command [1], it is required to define >> the resource path of the JSON that defines a host. I am unable to find a >> separate JSON file defining a host in the samples folder. >> >> Where as the JSON file that defines the kuberentes-CoreOS cluster defines >> details of the host too. Therefore when executing [1] do I have to give the >> resource path to this file [2] (tried this but it does not work)? >> >> Please confirm and correct me if i am wrong. >> >> [1] add-kubernetes-host [-c <cluster id>] [-p <resource path>] >> >> [2] >> command: >> add-kubernetes-host -c kubernetes-cluster-ec2 -p >> /Users/shavindridissanayake/Documents/stratos/Master-branch/stratos/samples/kubernetes-clusters/kubernetes-cluster-ec2.json >> >> output: >> >> Could not add host to Kubernetes cluster: kubernetes-cluster-ec2 >> >> Thanks & Regards >> Shavindri Dissanayake >> Technical Writer >> LinkedIn Profile >> <https://www.linkedin.com/profile/view?id=112227277&trk=nav_responsive_tab_profile> >> Mob: 0779966739 >> >> WSO2 Inc. >> lean.enterprise.middleware >> > > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos >
