-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Labels
Description
As we discuss in issue #2369 , we choose to always pass the Trial name as env variable KATIB_TRIAL_NAME
to the training container. And we implemented this feature as function mutatePodEnv
and used it here:
katib/pkg/webhook/v1beta1/pod/inject_webhook.go
Lines 140 to 142 in 206fe1c
// Add Katib Trial labels to the Pod metadata. | |
mutatePodMetadata(mutatedPod, trial) | |
Here are some discussions about it: #2369 (comment) #2369 (comment) #2369 (comment)
We use this issue to track the discussion. Any suggestions are welcome!