Hi Imesh,

I have test the changes on top of EC2. Kubernetes member public IP came as
expected. Now only missing are private and public ports mapping and cluster
level kubernetes service IP and port.

thanks

On Fri, Feb 13, 2015 at 10:00 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Thanks Lakmal! It would be great if you could verify the member's public
> IP address in EC2 with this modification.
>
> Thanks
>
> On Fri, Feb 13, 2015 at 8:48 PM, Lakmal Warusawithana <lak...@wso2.com>
> wrote:
>
>> Thanks Imesh. Will run a test with it
>>
>>
>> On Friday, February 13, 2015, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> Hi Lakmal,
>>>
>>> I have now added private and public IP addresses attribtues to
>>> Kubernetes hosts in Kubernetes cluster definition and pushed changes to
>>> master branch:
>>>
>>> - Updated Kubernets master and host definitions
>>> - Updated Kubernetes IaaS to set member public IP address if a mapping
>>> Kubernetes public IP address is found for the given pod host IP address
>>> - Updated CLI Kubernetes cluster describe command
>>> - Updated all sample applications
>>> - Verified Kubernetes work flow with single-cartridge application
>>>
>>> {
>>>     "clusterId": "kubernetes-cluster-1",
>>>     "description": "Kubernetes CoreOS cluster",
>>>     "kubernetesMaster": {
>>>         "hostId": "KubHostMaster1",
>>>         "hostname": "master.dev.kubernetes.example.org",
>>>         "privateIPAddress": "172.17.8.100",
>>>         "publicIPAddress": "172.17.8.100",
>>>         "property": [
>>>         ]
>>>     },
>>>     "portRange": {
>>>         "upper": "5000",
>>>         "lower": "4500"
>>>     },
>>>     "kubernetesHosts": [
>>>         {
>>>             "hostId": "KubHostSlave1",
>>>             "hostname": "slave1.dev.kubernetes.example.org",
>>>             "privateIPAddress": "172.17.8.101",
>>>             "publicIPAddress": "172.17.8.101",
>>>             "property": [
>>>             ]
>>>         },
>>>         {
>>>             "hostId": "KubHostSlave2",
>>>             "hostname": "slave2.dev.kubernetes.example.org",
>>>             "privateIPAddress": "172.17.8.102",
>>>             "publicIPAddress": "172.17.8.102",
>>>             "property": [
>>>             ]
>>>         }
>>>     ],
>>>     "property": [
>>>         {
>>>             "name": "payload_parameter.MB_IP",
>>>             "value": "172.17.8.1"
>>>         },
>>>         {
>>>             "name": "payload_parameter.MB_PORT",
>>>             "value": "1883"
>>>         },
>>>         {
>>>             "name": "payload_parameter.CEP_IP",
>>>             "value": "172.17.8.1"
>>>         },
>>>         {
>>>             "name": "payload_parameter.CEP_PORT",
>>>             "value": "7711"
>>>         },
>>>         {
>>>             "name": "payload_parameter.LOG_LEVEL",
>>>             "value": "DEBUG"
>>>         }
>>>     ]
>>> }
>>>
>>> https://issues.apache.org/jira/browse/STRATOS-1185
>>>
>>> Thanks
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>> --
>> Sent from Gmail Mobile
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Lakmal Warusawithana
Vice President, Apache Stratos
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/

Reply via email to