Re: Which docker image should i pull when i try to deploy the stratos on Kubernetes

2016-05-01 Thread Sajith Kariyawasam
Hi, Docker needs to be installed first, as a pre-requisite for K8S. Follow the guidelines https://docs.docker.com/engine/installation/ Thanks, Sajith On Sun, May 1, 2016 at 1:22 PM, 周华康 <459673...@qq.com> wrote: > Hi, >I try to deploy the stratos on k8s at first,and not the VM(such as > op

Which docker image should i pull when i try to deploy the stratos on Kubernetes

2016-05-01 Thread 周华康
Hi, I try to deploy the stratos on k8s at first,and not the VM(such as openstack),so i follow the steps below; You can setup a Kubernetes cluster using one of the following approaches: Click here to instructions... When working in a productions environment, setup the Kubernetes cluster ba

Re: Stratos on Kubernetes

2015-07-11 Thread Imesh Gunaratne
Hi Kishanthan, On Sun, Jul 12, 2015 at 9:23 AM, Kishanthan Thangarajah < kshanth2...@gmail.com> wrote: > Thanks Akila and Imesh. > > After updating, I actually redid the kubernetes setup again. Now I could > see that all three nodes are started properly in the vbox. I also could > deploy the php

Re: Stratos on Kubernetes

2015-07-11 Thread Kishanthan Thangarajah
Thanks Akila and Imesh. After updating, I actually redid the kubernetes setup again. Now I could see that all three nodes are started properly in the vbox. I also could deploy the php cartridge app using startos on kubernetes successfully. Few things I noticed while trying out this. 1. When the

Re: Stratos on Kubernetes

2015-07-10 Thread Akila Ravihansa Perera
Adding one more point to it. There was a problem in one of the 'system' commands in Dockerfile causing connection timeouts. "The problem is that each of the system statements in the Vagrantfile is executed in a separate subshell. This means that the environment variables are not being exported be

Re: Stratos on Kubernetes

2015-07-10 Thread Imesh Gunaratne
Thanks Akila! I have now merged it. For others information, the problem was that when the internet connection is slow, the Kubernetes installation process get restarted after reaching the timeout. Now Akila has increased it to 400 seconds. On Fri, Jul 10, 2015 at 10:32 AM, Akila Ravihansa Perera

Re: Stratos on Kubernetes

2015-07-09 Thread Akila Ravihansa Perera
Hi Kishanthan, Actually your master node has not been configured properly. See the logs at *==> master: Waiting for Kubernetes master to become ready...* The connection to the server localhost:8080 was refused - did you specify the right host or port? Also please check whether you are running

Re: Stratos on Kubernetes

2015-07-09 Thread Imesh Gunaratne
Hi Kishanthan, You could try to ssh into master and node-01 and execute journalctl -f to view the log. Kubernetes installation may have failed in one of the hosts. On Fri, Jul 10, 2015 at 9:07 AM, Kishanthan Thangarajah < kshanth2...@gmail.com> wrote: > Hi Devs, > > I was trying out the steps pr

Stratos on Kubernetes

2015-07-09 Thread Kishanthan Thangarajah
Hi Devs, I was trying out the steps provided in : https://gist.github.com/imesh/b8f81fac8de39183a504 I couldn't get the vagrant up and running with minions which fails with the error at the bottom. I assume node-01 here is one of the minion. From the logs, I think the master node is correctly co