So, we tested the implementation and seems like use of container port
doesn't work with the current Kubernetes API (v1beta1). (i.e. when we set a
container port to Kubernetes proxy, Kubernetes proxy failed to route
messages to containers.)

I think we have to migrate to latest Kubernetes API/binaries to get it to
work. I'll commit this work to a new branch, so that once we moved to a
latest Kubernetes APIs we could port the changes to master.


On Sun, Oct 26, 2014 at 3:00 PM, Nirmal Fernando <[email protected]>
wrote:

> I'm currently testing the patch with the help of Raj since I do not have a
> setup at the moment and I have some n/w issues when creating one.
>
> On Sun, Oct 26, 2014 at 11:38 AM, Imesh Gunaratne <[email protected]>
> wrote:
>
>> Nirmal: Please update when you are done with this.
>>
>> Thanks
>>
>> On Sun, Oct 26, 2014 at 7:46 AM, Imesh Gunaratne <[email protected]>
>> wrote:
>>
>>> Great, thanks Nirmal!
>>>
>>> On Sun, Oct 26, 2014 at 4:19 AM, Nirmal Fernando <[email protected]
>>> > wrote:
>>>
>>>> I've implemented this and in the process of testing.
>>>>
>>>> On Sat, Oct 25, 2014 at 7:42 PM, Nirmal Fernando <
>>>> [email protected]> wrote:
>>>>
>>>>> I've created a Jira for this
>>>>> https://issues.apache.org/jira/browse/STRATOS-910 ... will implement
>>>>> this.
>>>>>
>>>>> On Sat, Oct 25, 2014 at 7:37 PM, Nirmal Fernando <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Yes, I think we need a Kubernetes service proxy for each
>>>>>> container(cartridge) port.
>>>>>>
>>>>>> On Sat, Oct 25, 2014 at 6:42 PM, Imesh Gunaratne <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Currently we only register one kubernetes service when containers
>>>>>>> are spawned and we do not specify the container port in the kubernetes
>>>>>>> service.
>>>>>>>
>>>>>>> IMO we need to create a kubernets service (in service proxy) for
>>>>>>> each transport defined in the cartridge definition and also specify the
>>>>>>> container port of the transport.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Reply via email to