Re: Include cartridge name in pod id

2015-08-18 Thread Lasindu Charith
Hi Udara, We got the same issue for podLabel and ServiceLabel since we used cluster id [1 ] when creating pods and services. The idea was to use cluster-x instead of lengthy cluster id. If we use pod-x, service-x, cluster-x, there won't be any wa

Re: Include cartridge name in pod id

2015-08-18 Thread Imesh Gunaratne
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 wro

Re: Include cartridge name in pod id

2015-08-18 Thread Pubudu Gunatilaka
+1 for the idea. It would be easy for the users if they can identify the pods according to the cartridge. On Wed, Aug 19, 2015 at 9:02 AM, Akila Ravihansa Perera 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,

Re: Include cartridge name in pod id

2015-08-18 Thread Akila Ravihansa Perera
+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 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

Include cartridge name in pod id

2015-08-18 Thread Udara Liyanage
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