refactor: add v1alpha2 crd version for spark applications/templates#711
Draft
razvan wants to merge 6 commits into
Draft
refactor: add v1alpha2 crd version for spark applications/templates#711razvan wants to merge 6 commits into
razvan wants to merge 6 commits into
Conversation
* ensure pre and post hooks run in the driver pod by calling run-spark.sh from the image. * give driver pods a stable hostname '<app>-driver' which now differs from the pod name but it keeps backward compatibility relevant for logging.
Member
Author
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Fixes #659
Fixes #701
On-Prem meeting notes: https://app.nuclino.com/Stackable/Engineering/2026-06-On-Site-Spark-Operator-Rewrite-e8fc2be4-9c0c-41ce-bf83-8ac057ba9c7c
Changes in the handling of Spark applications:
v1alpha2CRD version with the changes below.spec.modefield. Applications now run indeploy-mode: client.spec.jobfield and ignore it. Now in client mode, aJobis derived from thespec.driverfield.pod_driver_controller.rs. The application status is now derived directly from the driver'sJob.Breaking changes:
spec.job.configis now ignored.spec.job.config.affinitytospec.driver.config.affinity.spec.job.retryOnFailureCountis not supported. TODO: reconsider this and maybe also think about streaming applications.spec.sparkConfcannot be used to set pod driver properties anymore.spark.kubernetes.driver.*properties fromspec.sparkConf.spec.driver.config.resourcesIssues to sort through:
v1alpha2.Definition of Done Checklist
Author
Reviewer
Acceptance
type/deprecationlabel & add to the deprecation scheduletype/experimentallabel & add to the experimental features tracker