Skip to content

[1.16] Stop serving deprecated beta workload APIs#70672

Merged
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
liggitt:stop-serving-beta-apps
Jun 22, 2019
Merged

[1.16] Stop serving deprecated beta workload APIs#70672
k8s-ci-robot merged 2 commits intokubernetes:masterfrom
liggitt:stop-serving-beta-apps

Conversation

@liggitt
Copy link
Copy Markdown
Member

@liggitt liggitt commented Nov 5, 2018

What type of PR is this?
/kind cleanup

What this PR does / why we need it:

  • Disables default serving of apps/v1beta1, apps/v1beta2, and deprecated extensions/v1beta1 APIs

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

xref #43214

Does this PR introduce a user-facing change?:

The following APIs are no longer served by default:
* All resources under `apps/v1beta1` and `apps/v1beta2` - use `apps/v1` instead
* `daemonsets`, `deployments`, `replicasets` resources under `extensions/v1beta1` - use `apps/v1` instead
* `networkpolicies` resources under `extensions/v1beta1` - use `networking.k8s.io/v1` instead
* `podsecuritypolicies` resources under `extensions/v1beta1` - use `policy/v1beta1` instead

Serving these resources can be temporarily re-enabled using the `--runtime-config` apiserver flag. 
* `apps/v1beta1=true`
* `apps/v1beta2=true`
* `extensions/v1beta1/daemonsets=true,extensions/v1beta1/deployments=true,extensions/v1beta1/replicasets=true,extensions/v1beta1/networkpolicies=true,extensions/v1beta1/podsecuritypolicies=true`

The ability to serve these resources will be completely removed in v1.18.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Denotes a PR that will be considered when it comes time to generate release notes. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-priority Indicates a PR lacks a `priority/foo` label and requires one. area/apiserver area/kubectl kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/autoscaling Categorizes an issue or PR as relevant to SIG Autoscaling. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Nov 5, 2018
@k8s-ci-robot k8s-ci-robot requested a review from adohe-zz November 5, 2018 22:57
@k8s-ci-robot k8s-ci-robot added the sig/cli Categorizes an issue or PR as relevant to SIG CLI. label Nov 5, 2018
@k8s-ci-robot k8s-ci-robot requested a review from apelisse November 5, 2018 22:57
@k8s-ci-robot k8s-ci-robot added sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. sig/gcp sig/testing Categorizes an issue or PR as relevant to SIG Testing. labels Nov 5, 2018
@liggitt liggitt added sig/network Categorizes an issue or PR as relevant to SIG Network. sig/auth Categorizes an issue or PR as relevant to SIG Auth. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. and removed area/apiserver area/kubectl kind/api-change Categorizes issue or PR as related to adding, removing, or otherwise changing an API sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/autoscaling Categorizes an issue or PR as relevant to SIG Autoscaling. labels Nov 5, 2018
@neolit123
Copy link
Copy Markdown
Member

would it make sense to have this as an item under "action required"?

existing manifests (e.g. CNI deployments) trying to be applied against latest k/k master will fail if they are using: extensions/v1beta1. this hints that CNI providers may have to adapt.

@liggitt
Copy link
Copy Markdown
Member Author

liggitt commented Jun 23, 2019

Definitely, tagged

@BenTheElder
Copy link
Copy Markdown
Member

"CNI providers may..." = We goofed that in kind. Whoops 🙃 .. fixed now. Hopefully everyone else long since migrated when the APIs went stable 😉

@carlory carlory mentioned this pull request Mar 8, 2024
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. area/apiserver area/test 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/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. sig/apps Categorizes an issue or PR as relevant to SIG Apps. sig/network Categorizes an issue or PR as relevant to SIG Network. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.