This was done intentionally due to the length constrains in Kubernetes. The
max it allows is 63 characters. Adding more text to the identifier will
reduce the number of pods, services, labels we can create in a single
Kubernetes cluster.

On Wed, Aug 19, 2015 at 9:02 AM, Akila Ravihansa Perera <raviha...@wso2.com>
wrote:

> +1
> It might be better to add cluster id too. But not sure about length
> constraints.
>
> On Wed, Aug 19, 2015 at 8:53 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> Currently pod id is created with a sequence no. When there are pods from
>> different cartridges it is hard to identify which pod coming from which
>> cartridge. Shall we include cartridge/service name in pod id if it does not
>> complicate things.
>>
>> String podId = "pod" + "-" + podSeqNo;
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to