#385 Expose NodeId as env var for kubernetes pods #minor
Pull request opened by
fellhorn
TL;DR
Exposes the NodeId to the kubernetes Pod as environment variable.
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