Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt #2 MLCOMPUTE-1203 | Configure Spark driver pod memory and cores based on Spark args #3903

Merged
merged 35 commits into from
Jul 2, 2024

Conversation

CaptainSame
Copy link
Contributor

@CaptainSame CaptainSame commented Jun 27, 2024

Changes from #3892
+
DAR-2360 | pass for_validation flag correctly for paasta validate flows

@CaptainSame CaptainSame changed the title Attempt #2 MLCOMPUTE-1203 | set spark driver resources correctly Attempt #2 MLCOMPUTE-1203 | Configure Spark driver pod memory and cores based on Spark args Jun 27, 2024
@chi-yelp
Copy link
Contributor

Also verified with:

./.tox/py38-linux/bin/paasta validate -y <soa_configs_dir> -s spark

@nemacysts nemacysts requested a review from EvanKrall June 28, 2024 17:02
This reverts commit 5d27b1b.
Depending on merge order, we'll want to slightly refactor this after
#3906 if this goes out first
(or refactor this before merging if #3906 goes out first) - but this
makes it so that we never create SAs in Tron outside of
setup_tron_namespace (which will get called from a host that has the
correct permissions)

This avoids needing to pass around any dry-run/validation flags :)
i blame copilot for letting me turn off my brain
i wish that we didn't pass around a huge string
…into MLCOMPUTE-1203_fix_spark_driver_resources
@nemacysts
Copy link
Member

lgtm - probably want someone from ML Compute to re-ship since i added a couple commits after working with @EvanKrall to refactor things a bit :)

Copy link
Contributor

@chi-yelp chi-yelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants