-
Notifications
You must be signed in to change notification settings - Fork 479
v1beta2: graduate Config API #7375
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
v1beta2: graduate Config API #7375
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
3d733a0 to
ee5bfc1
Compare
|
Am I right that our e2e tests are still using v1beta1, proving that the conversion works? EDIT: if this is the case it is good actually, we can migrate tests in follow up PRs. Ideally we keep one sanity test using old API version. |
bfc4954 to
85e4be0
Compare
|
|
||
| // +kubebuilder:object:generate=true | ||
| // +groupName=config.kueue.x-k8s.io | ||
| // +k8s:conversion-gen=sigs.k8s.io/kueue/apis/config/v1beta2 |
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'm wondering if the generated conversion is needed in this case, since the types didn't change (so far).
Please check, maybe no need. If this is the case we could add when the configs diverage.
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 checked — we need this; otherwise, we’ll get an error.
k logs -f -l app.kubernetes.io/name=kueue -n kueue-system --tail=1000
2025-10-24T07:50:09.243725217Z ERROR setup kueue/main.go:133 Unable to load the configuration {"error": "converting (v1beta1.Configuration) to (v1beta2.Configuration): unknown conversion"}
main.main
/workspace/cmd/kueue/main.go:133
runtime.main
/usr/local/go/src/runtime/proc.go:285
2025-10-24T07:50:09.241558459Z ERROR setup kueue/main.go:133 Unable to load the configuration {"error": "converting (v1beta1.Configuration) to (v1beta2.Configuration): unknown conversion"}
main.main
/workspace/cmd/kueue/main.go:133
runtime.main
/usr/local/go/src/runtime/proc.go:285
|
/test pull-kueue-test-e2e-tas-main |
|
/lgtm |
|
LGTM label has been added. Git tree hash: 9ed6f5204dd7d1b2bc6213b2d3ad665d2cc9e721
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mbobrovskyi, mimowo 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 |
* Copy v1beta1 to v1beta2. * v1beta2: graduate Config API * Add conversion logic. * Keep one test with v1beta1 version.
|
/release-note-edit |
What type of PR is this?
/kind feature
/kind api-change
What this PR does / why we need it:
Graduate Config API to v1beta2
Which issue(s) this PR fixes:
Fixes #7373
Special notes for your reviewer:
Does this PR introduce a user-facing change?