Open drewhagen opened 10 months ago
/sig release /language en
/priority important-longterm /sig docs
/triage accepted
Where can we find the info related to deprecations?
Where can we find the info related to deprecations?
https://kubernetes.io/releases/notes/ links to pages that have quite a lot of the detail, but it's not yet presented how we'd like. Contributors working on this issue can also refer to the blog articles for the announcements of each minor release, the mid-release announcements of upcoming deprecations, and https://kubernetes.io/docs/reference/using-api/deprecation-guide/
I expect there's four parts for this work:
Where can we find the info related to deprecations?
https://kubernetes.io/releases/notes/ links to pages that have quite a lot of the detail, but it's not yet presented how we'd like. Contributors working on this issue can also refer to the blog articles for the announcements of each minor release, the mid-release announcements of upcoming deprecations, and https://kubernetes.io/docs/reference/using-api/deprecation-guide/
I expect there's four parts for this work:
- design the layout and user experience for a new page
- for the English localization, collate and write content for that new page
work out how we'll help readers find the deprecation details for their Kubernetes distribution, if they use one
- we might link to any certified Kubernetes distribution's deprecation guide
- we might link to any deprecation guide that somebody asks us to (I see this as unlikely, but the decision is open.
- define and document the process that needs to be followed, each minor or major release, to ensure that page stays current
So we have to make new pages that are something similar to Deprecated API Migration Guide ?
From looking at the deprecation policy it seems that the challenge is to centralize the following types of deprecations into a single page:
Based on currently available resources it seems that for each deprecation type:
I am seeing some potential steps to proceed:
This is just a first pass so please correct me if the issues or steps seem incorrect. It does seem like users currently have to rely on changelogs or error messages from Kubernetes when upgrading.
From looking at the deprecation policy it seems that the challenge is to centralize the following types of deprecations into a single page:
- Deprecated APIs
- CLI's/flags
- Features
- Metrics
- Plugins
That's part of it; however, we'd want to track removals too.
I agree, in terms of covering the different types of removals and deprecations does this seem exhaustive? Im willing to make a mocked up example for the most recent release as a prototype to focus efforts.
Mockup for v1.29
Thanks for the mockup.
Rather than “Deprecations by Kubernetes version”, I'd expect to see a heading “Deprecations and removals in Kubernetes v1.29” and then some links to help you find the equivalent page for other minor releases.
Added a page in #45356.
As we're thinking about older versions, adding older releases to the release page might be an easy first step.
We might find a content adapter useful; see https://gohugo.io/content-management/content-adapters/
Not sure.
Only one upvote?
This is a Feature Request
:information_source: If this sounds like a feature you'd like, please add a :+1: reaction under the description.
What would you like to be added
A comprehensive and easily accessible deprecations and removals section for each Kubernetes release on the Kubernetes website. This should include a new page titled “Deprecations in this release,” which would cover all types of deprecations (APIs, support for old versions, etc.) and provide links or references to the API deprecation reference. Additionally, a feature to filter deprecations by specific Kubernetes versions would be beneficial.
Why is this needed
Currently, users face challenges in finding comprehensive deprecation information for different Kubernetes versions, especially when planning upgrades that span multiple versions. Having a centralized and detailed deprecation guide will aid users in better understanding the impact of upgrades and the necessary actions for a smooth transition.
Comments
This enhancement would involve updating the /releases/ page to refer to the new broader deprecations page. It may also include restructuring the existing API deprecations page into a pure reference and a per-release migration guide. Collaboration between SIG Docs and SIG Release could be necessary to gather and maintain this information.
Technical Notes:
Link to Release History page on the website. The markdown for the Release History page is documented here, which uses the shortcode pointing to HTML here and then using Hugo to template data located here.
Mockups
Linking to deprecations from the release history page...
OR
but as I understand it, we'd have to create the new deprecations page that these link to.
X-post (Slack conversation): https://kubernetes.slack.com/archives/C0156PJ62RE/p1705954754517599
cc: @sftim