TASK_INDEX environment variables are not being set for a job with more than one replica #1082
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
When running a job with more than 1 replica, the VC_TASK_INDEX and VK_TASK_INDEX environment variables aren't set in the pod environment.
What you expected to happen:
The *_TASK_INDEX variables to be set.
How to reproduce it (as minimally and precisely as possible):
Submit a job using a spec like
and you can observe the variables are not set
Anything else we need to know?:
No
Environment:
kubectl version
):Server Version: version.Info{Major:"1", Minor:"17+", GitVersion:"v1.17.9-eks-4c6976", GitCommit:"4c6976793196d70bc5cd29d56ce5440c9473648e", GitTreeState:"clean", BuildDate:"2020-07-17T18:46:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
uname -a
):Linux ip-10-62-55-52.us-west-2.compute.internal 4.14.198-152.320.amzn2.x86_64 #1 SMP Wed Sep 23 23:57:28 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: