#411 Implement Spark pod template tolerations
Pull request opened by
andrewwdye
TL;DR
Populate driver and executor tolerations from optional pod templates. This is an initial step narrowly focused on pod tolerations, to be followed by a more generic solution that handles all pod template functionality.
Type
☐ Bug Fix
☑︎ Feature
☐ Plugin
Are all requirements met?
☑︎ Code completed
☐ Smoke tested
☑︎ Unit tests added
☐ Code documentation added
☐ Any pending items have an associated Issue
Complete description
This change builds on optional Spark pod template changes added in
flyteorg/flyteidl#450. For now appends tolerations from the driver and executor pod templates, if any, to the defaults used to build the SparkApplicationSpec. A follow up PR will refactor the Spark plugin and pod_helper.go to reuse
ToK8sPodSpec in order to consume other aspect of pod templates, as is done for other plugins.
Tracking Issue
flyteorg/flyte#4105
flyteorg/flyteplugins
✅ All checks have passed
2/2 successful checks