User defined ENV UUID per pod #11417
Labels
component/kubernetes
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
priority/P2
From: "ccoleman@redhat.com" ccoleman@redhat.com
Date: Tuesday, October 11, 2016 at 12:07 PM
To: Srinivas Naga Kotaru skotaru@cisco.com
Cc: dev dev@lists.openshift.redhat.com
Subject: 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 should be unique to each pod.
--
Srinivas Kotaru
The text was updated successfully, but these errors were encountered: