-
Notifications
You must be signed in to change notification settings - Fork 354
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
feat: RM-130 add determined info as pod labels #9140
Conversation
✅ Deploy Preview for determined-ui canceled.
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9140 +/- ##
==========================================
- Coverage 45.71% 38.34% -7.38%
==========================================
Files 1179 989 -190
Lines 146795 130092 -16703
Branches 2419 2420 +1
==========================================
- Hits 67110 49886 -17224
- Misses 79471 79992 +521
Partials 214 214
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @kkunapuli on file. In order for us to review and merge your code, please start the CLA process at https://determined.ai/cla. After we approve your CLA, we will update the contributors list (private) and comment |
master/internal/core_experiment.go
Outdated
@@ -388,6 +389,11 @@ func (m *Master) parseCreateExperiment(ctx context.Context, req *apiv1.CreateExp | |||
|
|||
taskSpec.Project = config.Project() | |||
taskSpec.Workspace = config.Workspace() | |||
if p.Id > 1 { |
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.
We are changing Project/Workspace
which is used in Slurm. Is this change of this going to affect any behavior in Slurm? Is this field not being set always causing any bugs in Slurm?
I know I said it was a bug but it is probably worth checking that this does not affect slurm.
* add helper scripts for new image publishing workflow.
Co-authored-by: Nick Blaskey <nick.blaskey@hpe.com>
Co-authored-by: Nick Blaskey <nick.blaskey@hpe.com>
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.
LGTM
Co-authored-by: Keita Nonaka <keita.nonaka@hpe.com> Co-authored-by: Thiago Dallacqua <104855841+thiagodallacqua-hpe@users.noreply.github.com> Co-authored-by: Michael Kardash <mikhail.kardash@hpe.com> Co-authored-by: Amanda Vialva <144278621+amandavialva01@users.noreply.github.com> Co-authored-by: Nick Blaskey <nick.blaskey@hpe.com>
Ticket
RM-130
Description
Add Determined system information such as username, workspace name, and resource pool as pod labels for kubernetes environments.
Test Plan
Inspect pods created by Determined:
kubectl describe pod <POD NAME> | grep grep determined.ai
For a notebook (or anything that's not an experiment), the labels should look something like this:
If the pod is running a trail, there will be two additional labels:
Checklist
docs/release-notes/
.See Release Note for details.