-
Notifications
You must be signed in to change notification settings - Fork 53
Change default namespace logic #85
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
Change default namespace logic #85
Conversation
anishasthana
commented
Apr 6, 2023
- Update developer instructions
- Change Default namespace logic to use user's current namespace
Signed-off-by: Anish Asthana <[email protected]>
0d6e32c
to
44e5a26
Compare
44e5a26
to
046a86f
Compare
Ok, kind of annoying, but I think we need to change this PR a bit to account for the fact that using the MCAD scheduler also needs a codeflare-sdk/src/codeflare_sdk/job/jobs.py Lines 146 to 149 in f529763
We need to add something here like:
We also need to deal with the fact that we already have a My suggestion is that we delete Let me know what you think. |
Question about that -- yesterday we also said that there is a need to allow users to determine what namespace they are in from the API. How would we structure things for that? |
I did say that 😄, But on reflection, not sure how critical that really is. Especially if we are outputting it somewhere when we define the job or cluster objects. If this becomes an issue we could add it in in a later PR, as a utils function like I suggested. But I think correctly auto-setting the namespace is a much more important feature than just getting it. That said, if you disagree, by all means go the utils route :) |
Signed-off-by: Anish Asthana <[email protected]>
046a86f
to
bf1c57c
Compare
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.
thanks @anishasthana
LGTM!