stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Imesh Gunaratne <im...@apache.org>
Subject Re: [Discuss] Kubernetes Cluster Definition Changes
Date Fri, 13 Feb 2015 16:30:26 GMT
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 <lakmal@wso2.com>
wrote:

> Thanks Imesh. Will run a test with it
>
>
> On Friday, February 13, 2015, Imesh Gunaratne <imesh@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

Mime
View raw message