Skip to content

Conversation

@mbobrovskyi
Copy link
Contributor

@mbobrovskyi mbobrovskyi commented Oct 24, 2025

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?

v1beta2: Graduate Config API to v1beta2. v1beta1 remains supported for this release, but please plan for migration.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/feature Categorizes issue or PR as related to a new feature. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API labels Oct 24, 2025
@netlify
Copy link

netlify bot commented Oct 24, 2025

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 85e4be0
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-kueue/deploys/68fb3d7f55c26200080c4634

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Oct 24, 2025
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 24, 2025
@mbobrovskyi mbobrovskyi force-pushed the feature/bump-config-version branch from 3d733a0 to ee5bfc1 Compare October 24, 2025 08:22
@mbobrovskyi mbobrovskyi changed the title [WIP] v1beta2: graduate Config API v1beta2: graduate Config API Oct 24, 2025
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 24, 2025
@mbobrovskyi
Copy link
Contributor Author

/cc @mszadkow @mimowo

@mimowo
Copy link
Contributor

mimowo commented Oct 24, 2025

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.

@mbobrovskyi mbobrovskyi force-pushed the feature/bump-config-version branch from bfc4954 to 85e4be0 Compare October 24, 2025 08:49

// +kubebuilder:object:generate=true
// +groupName=config.kueue.x-k8s.io
// +k8s:conversion-gen=sigs.k8s.io/kueue/apis/config/v1beta2
Copy link
Contributor

@mimowo mimowo Oct 24, 2025

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.

Copy link
Contributor Author

@mbobrovskyi mbobrovskyi Oct 24, 2025

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

@mimowo
Copy link
Contributor

mimowo commented Oct 24, 2025

@mimowo
Copy link
Contributor

mimowo commented Oct 24, 2025

/test pull-kueue-test-e2e-tas-main

@mimowo
Copy link
Contributor

mimowo commented Oct 24, 2025

/lgtm
/approve
thank you

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 24, 2025
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 9ed6f5204dd7d1b2bc6213b2d3ad665d2cc9e721

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 24, 2025
@k8s-ci-robot k8s-ci-robot merged commit 3674c93 into kubernetes-sigs:main Oct 24, 2025
23 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v0.15 milestone Oct 24, 2025
@mbobrovskyi mbobrovskyi deleted the feature/bump-config-version branch October 24, 2025 10:19
Singularity23x0 pushed a commit to Singularity23x0/kueue that referenced this pull request Nov 3, 2025
* Copy v1beta1 to v1beta2.

* v1beta2: graduate Config API

* Add conversion logic.

* Keep one test with v1beta1 version.
@mimowo
Copy link
Contributor

mimowo commented Nov 28, 2025

/release-note-edit

v1beta2: Graduate Config API to v1beta2. v1beta1 remains supported for this release, but please plan for migration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v1beta2: graduate Config API

3 participants