Skip to content

docs: clarify versioning and kubernetes compatibility - #3132

Draft
davidgamero wants to merge 3 commits into
kubernetes-client:mainfrom
davidgamero:docs/versioning-compatibility
Draft

davidgamero wants to merge 3 commits into
kubernetes-client:mainfrom
davidgamero:docs/versioning-compatibility

Conversation

@davidgamero

@davidgamero davidgamero commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

summary

  • replace the old minor-per-kubernetes wording with concise semver guidance and a link to New Release Needed. #2582
  • correct generation targets for 0.19–0.22 and add 2.0.0–2.0.2; list released versions only
  • separate generated api targets from cluster compatibility, retaining the transport migration notes

background

the original minor-per-kubernetes policy appears in #548 and the 1.x migration plan.

in august 2025, brendan proposed:

Major version increments aligned with k8s version increment.

source

colin agreed:

I'm good with following semver, and I agree that aligning K8s releases with majors simplifies things.

source

application has been inconsistent: 1.4.0 retained the old numbering, and #2845 initially proposed a subsequent kubernetes update as 2.1.0. the current release split is illustrated by #3087 (1.37 regeneration), #3131 (3.0.0 preparation on main), and #3130 (2.0.2 on release-2.0).

this draft synthesizes those discussions for maintainer confirmation; the readme keeps the user-facing guidance brief.

table verification

checked src/gen/swagger.json at each listed tag. 0.19.0–0.22.0 target kubernetes 1.27–1.30, one version earlier than the previous chart. the 2.0.x settings still name 1.35, but the shipped schema and 2.0.0 release notes identify 1.36.

validation

  • git diff --check
  • push hooks passed: 423 source tests, lint, build-with-tests, and 423 transpiled tests

@kubernetes-prow kubernetes-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 3, 2026
@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: davidgamero

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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

@kubernetes-prow kubernetes-prow Bot added 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. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 3, 2026
@kubernetes-prow kubernetes-prow Bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Nov 3, 2026
@brendandburns

Copy link
Copy Markdown
Contributor

Maybe add 3.0.0 or HEAD for 1.37?

This branch has not been deployed

No deployments
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. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants