-
Notifications
You must be signed in to change notification settings - Fork 293
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
add flux operator python sdk example #962
add flux operator python sdk example #962
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Hi @vsoch. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good! But one thing I wonder is of should we have the same script duplicated in two places? Can you either have the task readme just run the python file or use the inline definition in the readme
Yeah agree it should be in one place - it was the same for the first example added (already duplicated). I think they are important in both places, so my plan is to get all three in (in this manner) and then update the site to have some javascript that will retrieve the file dynamically. It's how the examples / files are rendered here: https://converged-computing.github.io/flux-go/#pancakes-examples so hopefully I can figure out the same with hugo (I assume I can put html in markdown?) |
/assign @moficodes |
8265dd1
to
aea166b
Compare
let's merge #969 first |
Nice!! Thank you @moficodes for adding that, I totally love it. |
@vsoch The include shortcode PR got merged. Could you rebase your PR and use include shortcode for the samples. |
I'll update this one after #967 is merged to make rebasing simpler (only done once!) |
Signed-off-by: vsoch <[email protected]>
aea166b
to
e655fad
Compare
okay we are rebased! |
Signed-off-by: vsoch <[email protected]>
b9171d4
to
73fcbba
Compare
/lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alculquicondor, vsoch The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
||
def main(): | ||
""" | ||
Run an MPI job. This requires the MPI Operator to be installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this accurate? Shouldn't it say flux operator?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep that's a typo. I'll do a quick PR to fix.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wooo I got PR number 1000!! #1000 Do I get a special prize? 🍪
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hahaha nice! Uhm.... Here's a 🥇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can I eat that? 😆
Just kidding :) Thanks for the quick review! And overall for everything you do for these projects. <3
This will add a Python example for using Kueue with the Flux Operator! I have most of the MPI Operator done too, but ran into a bug with the ssh secret volume.
What type of PR is this?
/kind documentation
What this PR does / why we need it:
Users likely want to integrate Kueue into Python-based workflow tools, and examples are helpful for that!
Which issue(s) this PR fixes:
Issue has been closed, previous issue is:
Fixes #947
Special notes for your reviewer:
This worked so well! I'm excited to try this out in an actual workflow tool
Does this PR introduce a user-facing change?