-
Notifications
You must be signed in to change notification settings - Fork 33
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
WIP: Add GCP-Prefect recipe #109
base: develop
Are you sure you want to change the base?
Conversation
Content TBD, after more clear definition of what needs to be implemented and how.
1ce588b
to
c7ed230
Compare
Thank you for this addition / contribution! Could you rebase + set the base branch for this PR to |
Rebased on develop. EDIT: Great timing 👉😎👉 |
Thanks, and look forward to seeing where this one goes! Let us know here or on Slack how we can support! |
I linked the existing Slack thread in the PR comment - let's start by creating the VM. I think you got a TF module for that already, can I just borrow the config from an existing recipe? The next issue is how to run a script in the VM that sets up Python and the prefect server on that VM (raw? in Docker?). |
@nicholasjng our TF modules (as it stands right now) are for creating a remote state bucket, and that happens independent of your modular prefect recipe, so you can ignore that. Also I think you're probably best off just working in terraform independently of mlstacks to start with (i.e. just work from within the Note, for example, that our |
@strickvl Okay, that's a start. I checked the link to the TF registry from the Slack thread, seems like a good lead. For clarification: I intended to make this usable standalone without k8s, hope that's not an issue. Will check back in when I have a small Compute Engine VM poc. |
@nicholasjng no problem at all! it's going to be a focus of ours going forward to provide more non-K8S options, so this is a welcome contribution in that sense! |
Important Auto Review SkippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
Hi @nicholasjng. Just wanted to check in. Any way we can help support your work on this? |
Hey, I got my hands full with another project until at least mid next week. Happy to give it another go after that! (Or worst case I'll hand it off to my colleagues who are deeper into mlstacks than I currently am) |
Content TBD, after more clear definition of what needs to be implemented and how.
I wanted to hack away at this in the coming week, since the time is now opportune. Because I am a complete terraform n00b, I might need some handholding during the implementation.
I touched base with @htahir1 on Slack about this some time ago, he thinks adding this is worthwhile (I hope he still does :^D).
Describe changes
My goal is to implement an
mlstacks
recipe forprefect
on GCP.The original Slack message:
Hey guys, I am looking to collaborate on a prefect-gcp recipe for mlstacks (https://github.com/zenml-io/mlstacks).
This is for a personal use-case that I am working on right now, but I think it is general enough that it might benefit others in the ZenML community as well.
Judging from the docs, the code and my experience on Prefect so far, I think the following might be a good solution to achieve this:
If you are interested, let me know, of course I am happy for feedback and general discussions on the proposal.
-Nico
Link to the Slack fred: https://zenml.slack.com/archives/C01FWQ5D0TT/p1693740985687089
Pre-requisites
Please ensure you have done the following:
accordingly.
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop readContribution guide on rebasing branch to develop.
Types of changes