-
Notifications
You must be signed in to change notification settings - Fork 52
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 new job-id annotation to assign globally unique job index to each job #650
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danielvegamyhre 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 |
✅ Deploy Preview for kubernetes-sigs-jobset canceled.
|
f0bec34
to
4a54a30
Compare
dbd60f5
to
32cc246
Compare
32cc246
to
1a0adbd
Compare
api/jobset/v1alpha2/jobset_types.go
Outdated
JobIndexKey string = "jobset.sigs.k8s.io/job-index" | ||
// JobIDKey is a label/annotation set to an integer that is unique across the entire JobSet. | ||
// For each JobSet, this value will range from 0 to N-1, where N=total number of jobs in the jobset. | ||
JobIDKey string = "jobset.sigs.k8s.io/job-id" |
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.
i would call it jobset.sigs.k8s.io/job-global-index
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.
Makes sense, updated PR accordingly.
18c7fb6
to
7544e12
Compare
7544e12
to
c5dc122
Compare
/lgtm |
Fixes #649