Skip to content
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

Removal of v1alpha5 apiversion #971

Closed
10 tasks done
kashifest opened this issue May 10, 2023 · 10 comments
Closed
10 tasks done

Removal of v1alpha5 apiversion #971

kashifest opened this issue May 10, 2023 · 10 comments
Assignees
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. triage/accepted Indicates an issue is ready to be actively worked on.

Comments

@kashifest
Copy link
Member

kashifest commented May 10, 2023

Motivation

v1alpha5(v0.5.x) apiVersion have been EOL since September 2022 and the equivalent CAPI apiVersion v1alpha4(v0.4.x) has been EOL since April 2022. It is now a good time to plan to remove v1alpha5.

Proposal

We can follow the following timeline:

  • Release v1.5:
    • Announce removal of apiVersion in v1.6 & v1.7
  • Release v1.6:
    • Kubernetes API server will stop serving v1alpha5
      • We will set served to false for the apiVersion in all our CRDs.
      • Then users can’t read or write with the old apiVersion anymore.
      • The API server will still be able to read and convert the old apiVersion.
      • If necessary, users can easily enable the apiVersion again by reverting served back to true on the CRD.
  • Release v1.7:
    • Remove v1alpha5 apiVersion
      • Drop all code related to v1alpha5 (API types, conversions, tests, …)
      • If we get feedback that folks need more time to migrate we can discuss delaying this stage by another minor release to give folks more time.

Tasks

v1.5:

  • Mark v1alpha5 apiVersion and Go API types as deprecated
  • Release notes should highlight the imminent removal of the apiVersion in v1.6 & v1.7

v1.6:

  • Stop serving v1alpha5 via kubebuilder:unservedversion
  • Release notes should reflect the changes

v1.7:

  • Drop all code related to v1alpha5 (API types, conversion, …)
    • Wait a bit for feedback after v1.6
  • Release notes should reflect the changes

Misc:

  • Upgrade tests should be updated to cover v1.1 => v1.latest:
  • Document upgrade test coverage

/kind cleanup

@metal3-io-bot metal3-io-bot added kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. needs-triage Indicates an issue lacks a `triage/foo` label and requires one. labels May 10, 2023
@Rozzii
Copy link
Member

Rozzii commented May 10, 2023

/triage accepted

@metal3-io-bot metal3-io-bot added triage/accepted Indicates an issue is ready to be actively worked on. and removed needs-triage Indicates an issue lacks a `triage/foo` label and requires one. labels May 10, 2023
@metal3-io-bot
Copy link
Contributor

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues will close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@metal3-io-bot metal3-io-bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 8, 2023
@lentzi90
Copy link
Member

/remove-lifecycle stale

@metal3-io-bot metal3-io-bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Aug 16, 2023
@kashifest
Copy link
Member Author

/assign @kashifest

@MaxRink
Copy link

MaxRink commented Apr 16, 2024

Youre propably also going to hit kubernetes-sigs/cluster-api#10051 with this

@Rozzii
Copy link
Member

Rozzii commented May 6, 2024

/cc @adilGhaffarDev
@adilGhaffarDev has commented on kubernetes-sigs/cluster-api#10051 thus linking it with kubernetes-sigs/cluster-api#9688 FYI. I guess this requires a CAPI side fix anyways .

@adilGhaffarDev
Copy link
Member

@adilGhaffarDev has commented on kubernetes-sigs/cluster-api#10051 thus linking it with kubernetes-sigs/cluster-api#9688 FYI. I guess this requires a CAPI side fix anyways .

Yes, let's keep the alpha APIs until we have a fix from CAPI side. We don't need e2e tests since this scenario is already tested in CAPI e2e.

@kashifest
Copy link
Member Author

@adilGhaffarDev actually this issue is done, since we removed the API already, I forgot to update it, can you describe a bit more in detail whats the issue here since in the removal of API PR we agreed that it should not affect us #1525 (comment). Also from community side we dont have any issue reported yet on this so we can safely assume no one was using the v1a5 API?

@kashifest
Copy link
Member Author

This issue is good to close since the API is removed already, if we see any further issues I suggest we create a separate issue for that.
/close

@metal3-io-bot
Copy link
Contributor

@kashifest: Closing this issue.

In response to this:

This issue is good to close since the API is removed already, if we see any further issues I suggest we create a separate issue for that.
/close

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/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. triage/accepted Indicates an issue is ready to be actively worked on.
Projects
None yet
Development

No branches or pull requests

6 participants