<#388 Feat: Expose nodeID to container> Pull reque...
# flyte-github
c
#388 Feat: Expose nodeID to container Pull request opened by fellhorn TL;DR Exposes the NodeId to the kubernetes Pod as environment variable.
Copy code
- name: FLYTE_INTERNAL_NODE_ID
  value: n0/dn0/dn0/dn0/dn0/dn0/dn0/dn0/dn0/dn0
Type ☐ Bug Fix ☑︎ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Currently the environment variables do not provide enough information to know the exact task being executed. For example we intended to create a unique ID for all retries of a task. Without the nodeID this is not possible as tasks might be reused. One can retrieve this information also from the hostname but this fails for long names due to k8s pod name length limits. flyteorg/flyteplugins ✅ All checks have passed 2/2 successful checks