You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Imesh Gunaratne <im...@apache.org> on 2015/02/27 18:18:29 UTC

[Discuss] Kubernetes Cluster Reference in Network Partition

Hi Devs,

I have now removed the kubernetesClusterId property from the network
partition definition and added it as a property in the partition. Please
refer the sample artifact below:

{
    "id": "network-partition-1",
    "partitions": [
        {
            "id": "partition-1",
            "provider": "kubernetes",
            "property": [
                {
                    "name": "cluster",
                    "value": "kubernetes-cluster-1"
                }
            ]
        }
    ]
}

Thanks

-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Kubernetes Cluster Reference in Network Partition

Posted by Imesh Gunaratne <im...@apache.org>.
Dakshika: It would be great if we can add a dropdown for the partition's
property field (region/zone/cluster). WDYT?

Thanks

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

> This modification would allow us to define a Kubernetes cluster per
> partition and it would adhere to the standard way of defining a IaaS
> partition.
>
> Thanks
>
> On Fri, Feb 27, 2015 at 10:48 PM, Imesh Gunaratne <im...@apache.org>
> wrote:
>
>> Hi Devs,
>>
>> I have now removed the kubernetesClusterId property from the network
>> partition definition and added it as a property in the partition. Please
>> refer the sample artifact below:
>>
>> {
>>     "id": "network-partition-1",
>>     "partitions": [
>>         {
>>             "id": "partition-1",
>>             "provider": "kubernetes",
>>             "property": [
>>                 {
>>                     "name": "cluster",
>>                     "value": "kubernetes-cluster-1"
>>                 }
>>             ]
>>         }
>>     ]
>> }
>>
>> Thanks
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Kubernetes Cluster Reference in Network Partition

Posted by Imesh Gunaratne <im...@apache.org>.
This modification would allow us to define a Kubernetes cluster per
partition and it would adhere to the standard way of defining a IaaS
partition.

Thanks

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

> Hi Devs,
>
> I have now removed the kubernetesClusterId property from the network
> partition definition and added it as a property in the partition. Please
> refer the sample artifact below:
>
> {
>     "id": "network-partition-1",
>     "partitions": [
>         {
>             "id": "partition-1",
>             "provider": "kubernetes",
>             "property": [
>                 {
>                     "name": "cluster",
>                     "value": "kubernetes-cluster-1"
>                 }
>             ]
>         }
>     ]
> }
>
> Thanks
>
> --
> Imesh Gunaratne
>
> Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos