[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Replica ID in env



This is being proposed as part of "pet sets" (rc for things that need
identity) upstream.  Once we sort out the design there may be
something we add to rc specifically to allow this.

> On Dec 21, 2015, at 10:06 AM, Philippe Lafoucrière <philippe lafoucriere tech-angels com> wrote:
>
> Hi,
>
> Do you think it would be possible to get the replica ID in the containers env?
> I mean, the first replica would have an ID of 1, the second would have 2, etc.
> It would help to create some clusters, especially nsqd, where we can pass a worker-id to store and retrieve persistent data. Nsqd is otherwise using a hash of the hostname, which is incompatible with kubernetes (hostname/pod name is not persistent).
>
> Thanks
> Philippe
>
> _______________________________________________
> dev mailing list
> dev lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/dev


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]