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

Re: Container UUID



This should be possible from the downward API as an env var (get the pod uuid as env var) but isn't supported yet.  If you file an issue we can make sure it's exposed, and if important enough we could consider backporting it.

On Oct 11, 2016, at 10:12 AM, Srinivas Naga Kotaru (skotaru) <skotaru cisco com> wrote:

Hi

 

Is there any way to put an environment variable which hold a unique UUID value per pod basis? If we put an environment variable at dc or rc level, same value propagating for all pods. That is expected behavior since all pods are creating using same template definition

 

If we add environment variable at pod level, its life time is limited.

 

Example:  Want to put an environment variable like below

 

UUID = FCAC382C-0CEB-40E4-9654-07715CDC9DD8

 

This UUID is unique to each pod.

 

 

-- 

Srinivas Kotaru

_______________________________________________
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]