<#7514 Apply pod template labels and annotations t...
# flyte-github
a
#7514 Apply pod template labels and annotations to Spark applications Pull request opened by Tom-Newton Tracking issue Somewhat tenuously related to #6348 Why are the changes needed? Currently labels and annotations from pod templates are not propagated to driver and executor pods of spark applications. This affects default pod templates and the
pod_template
argument to
@task
.
driver_pod
and
executor_pod
arguments already work. What changes were proposed in this pull request? • Merge in the labels and annotations from pod templates. • I considered adding these labels and annotations on the top level spark applciation object, so that the spark-opeartor could merge them into pods. I think this is how ray does it, but the spark operator only merges in labels, not annotations. How was this patch tested? • Updated a unit test • Deployed it in our cluster and it works. Check all the applicable boxes • I updated the documentation accordingly. - I don't think any update is necessary • All new and existing tests passed. • All commits are signed-off. flyteorg/flyte