melodic-musician-54941
10/22/2024, 6:11 PMlabels
via the @kubernetes
decorator) and wanted to ask if the maintainers would be open to a PR adding that functionality (and a similar one for custom annotations
)? I know you can add custom labels via the METAFLOW_KUBERNETES_LABELS
parameter in the .metaflowconfig/config.json
, but that isn't quite sufficient for our use case.
My organization has a need for that feature and I've gone ahead and charted out a path in the code that I believe should add it. I've tested it to the extent that I can to verify the labels
and annotations
make it through to the pods running the jobs and it all works out. The repo's test suite also passes (though I haven't gone so far as to come up with new unit tests for the addition).
Any thoughts would be welcome~