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

Allow for starting Dataproc clusters using custom OS images #1576

Closed
wants to merge 7 commits into from

Conversation

nadeaujoshua
Copy link
Contributor

This PR adds some helper functions within the ./deployctl dataproc-cluster start ... command to facilitate the creation of Dataproc clusters using a custom OS image.

The primary advantage of using pre-built images is that they'll provide a standard, consistent environment to start data pipelines with, using the correct/validated configs, dependencies, and versioning so that the user does not have to manage these factors themselves. The Dataproc start cluster time has also been cut down a few minutes.

These helpers are needed because deployctl's start command uses hailctl, which would run redundant commands that have already been executed in the custom OS image.

To provide a transition period for our workflows, the dataproc-cluster start ... command has been updated to make this opt-in; the user must specify the --image flag with the custom image name they'd like to use. The inclusion of this flag is what triggers running the helper function to start the cluster. If it is not used, as was the case before this update, the original deployctl code will be run for now.

This PR also removes poetry from the data-pipeline directory, as we will revert to managing dependencies using the requirements.txt file located there.

Resolves https://github.com/broadinstitute/gnomad-browser-team/issues/64.

@nadeaujoshua nadeaujoshua deleted the jn/start-dataproc-custom-images branch June 18, 2024 16:45
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.

1 participant