Is there a way to override the task pod labels fro...
# flyte-support
t
Is there a way to override the task pod labels from task level (like, using
with_overrides()
), instead of the execution level? I’d like to attach different labels to different tasks in the same workflow for cost tracking purpose
t
cc @polite-ability-4005
there’s a broader config override story being developed as well
p
you can pass labels in pod_template like this example
t
yeah but this is at the task level… @thousands-car-79657 wants to do it in the workflow body
p
or you want to attach different labels to the same task?
t
I tried this method, but it seems to require configure a new container from scratch. In my case, the parent task is not aware of the container image
p
could you elaborate the issue you hit
t
Sorry for the confusion, I’d like to attach different labels to the same executed task, ideally
p
sorry its not possible today. we are currently working on the generic config override things
t
got it, no worries, thanks for the help
151 Views