#4130 Moving from flyteplugins - Implement Spark pod template tolerations
Pull request opened by
eapolinario
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
#4105
flyteorg/flyte
GitHub Actions: Build & Push Image
GitHub Actions: Bump git tags
GitHub Actions: Integration Test
GitHub Actions: sandbox-bundled-functional-tests
GitHub Actions: build-and-push-sandbox-bundled-image
GitHub Actions: Lint (flytepropeller) / Run Lint
GitHub Actions: Lint (flyteplugins) / Run Lint
GitHub Actions: Unit Tests (flytepropeller) / Run Unit Test
GitHub Actions: Unit Tests (flyteplugins) / Run Unit Test
GitHub Actions: build-and-push-single-binary-image
GitHub Actions: Docker Build Images (flytepropeller) / build_docker
✅ 19 other checks have passed
19/30 successful checks