Is there a way to override the task pod labels fro...
# ask-the-community
x
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
y
cc @Byron Hsu
there’s a broader config override story being developed as well
b
you can pass labels in pod_template like this example
y
yeah but this is at the task level… @Xinzhou Liu wants to do it in the workflow body
b
or you want to attach different labels to the same task?
x
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
b
could you elaborate the issue you hit
x
Sorry for the confusion, I’d like to attach different labels to the same executed task, ideally
b
sorry its not possible today. we are currently working on the generic config override things
x
got it, no worries, thanks for the help