Skip to content

Conversation

@mimowo
Copy link
Contributor

@mimowo mimowo commented Oct 15, 2025

What type of PR is this?

/kind api-change

What this PR does / why we need it:

To allow reviewing the tentative full v1 API without exploding the diff by changes in the code.

Which issue(s) this PR fixes:

Related to #7113

Special notes for your reviewer:

The purpose of the PR is to allow review of the entire Kueue API for the API reviewers with the tentative goal of having good v1.

Our mid term goal is to have a good v1beta2 which will be as close to v1 as possible.

However, some of the proposals (more involving) might be deferred from v1beta2 for later before full v1.

This is how I prepared the PR:

  1. copy-pasted the v1beta1 API and adjusted the package names etc
  2. dropped the "init()" functions so that it doesn't error in vs-code
  3. applied adjustments proposed in the doc
  4. copied the constants under pkg/controller/constants/constants.go into apis/kueue/v1beta2/constants.go as they are de-facto part of the API by defining names of important labels and annotations.

Does this PR introduce a user-facing change?

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Oct 15, 2025
@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 15, 2025
@netlify
Copy link

netlify bot commented Oct 15, 2025

Deploy Preview for kubernetes-sigs-kueue canceled.

Name Link
🔨 Latest commit 3f9f99a
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-sigs-kueue/deploys/68fa32da5c16f10008acbc51

@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 15, 2025
@mimowo
Copy link
Contributor Author

mimowo commented Oct 15, 2025

@mimowo mimowo closed this Oct 15, 2025
@k8s-ci-robot k8s-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 15, 2025
@mimowo
Copy link
Contributor Author

mimowo commented Oct 15, 2025

/reopen

@k8s-ci-robot k8s-ci-robot reopened this Oct 15, 2025
@k8s-ci-robot
Copy link
Contributor

@mimowo: Reopened this PR.

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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

1 similar comment
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Oct 15, 2025
@mimowo
Copy link
Contributor Author

mimowo commented Oct 15, 2025

/retest

@mimowo mimowo changed the title WIP: Full v1beta2 for API review Full v1beta2 for API review Oct 15, 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 15, 2025
@@ -0,0 +1,550 @@
/*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config apis are not quite the same as the CRD API.

Is there a strong reason to graduate these in parallel?

I guess if we don't do it now we probably wouldn't get to it..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would propose graduating visibility separately as well.

Copy link
Contributor Author

@mimowo mimowo Oct 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The purpose of the PR is to engage API reviewers early for preperation to V1, providing holistic overview of the API we have, which will all need to reach V1 eventually. Hopefully, we can address most of the feedback already in v1beta2.

As for the graduation itself, it is an open question. I know that technically we can graduate them separately, but I think it would be much easier for users to "be ready for graduation in 0.15", rather than to deal with the constant graduation over multiple releases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make the purpose of the PR more clear I have moved the files under v1 already, and retitled the PR, and updated the "Special notes for your reviewer:" section.

@mbobrovskyi
Copy link
Contributor

@mimowo could you please fix verify test?

@mimowo mimowo force-pushed the v1beta2-review branch 4 times, most recently from 59af778 to 28a0c3e Compare October 16, 2025 11:55
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 17, 2025
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 22, 2025
@mimowo mimowo changed the title Full v1beta2 for API review Full tentative v1 API review Oct 22, 2025
@mimowo
Copy link
Contributor Author

mimowo commented Oct 22, 2025

@mimowo could you please fix verify test?

yes, the verify now passes with a bit of post processing to revert the auto-generated code.

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 23, 2025
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 23, 2025
@mimowo
Copy link
Contributor Author

mimowo commented Oct 23, 2025

rebased and dropped from the diff for now config API, and visibility API so that it is easier to focus on the main CRD changes (following the suggestion from wg-batch meeting)

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 release-note-none Denotes a PR that doesn't merit a release note. 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.

4 participants