k3s/pkg/kubeapiserver
Kubernetes Submit Queue ad1721e25f
Merge pull request #68080 from caesarxuchao/deprecation-notice-storage-versions
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Deprecation notice of the storage-versions flag

This PR deprecates the `--storage-versions` flag of kube-apiserver. The flag allows user to change the API version the content in etcd will be serialized to.

The flag provides unnecessary flexibility, with the side-effect of making kube-apiserver upgrades/downgrades hard to reason about. Specifically, Kubernetes follows the 4-step API version deprecation [policy](https://kubernetes.io/docs/reference/using-api/deprecation-policy/), which makes upgrades/downgrades across minor versions safe as long as all the data in etcd is encoded to the default storage versions. However, if users can specify their own storage versions, then the safety of each upgrade/downgrade needs to be analyzed case-by-case.

```release-note
Action required: The --storage-versions flag of kube-apiserver is deprecated. Please omit this flag to ensure the default storage versions are used. Otherwise the cluster is not safe to upgrade to a version newer than 1.12. This flag will be removed in 1.13.
```

/assign @deads2k @liggitt @lavalamp @enj 
/sig api-machinery
2018-09-05 10:54:54 -07:00
..
admission update generated files 2018-08-31 16:07:15 +10:00
authenticator Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
authorizer externalize node admission 2018-08-21 23:33:03 +08:00
options Deprecation notice of storage-versions flag 2018-08-30 19:45:43 -07:00
server kube-controller-manager: disable authn/z on insecure port 2018-08-30 20:17:29 +02:00
BUILD This is a combination of 3 commits. 2018-08-06 22:29:10 +08:00
OWNERS Add sig/api-machinery label to apimachinery OWNERS files 2018-08-20 18:46:47 +05:30
default_storage_factory_builder.go This is a combination of 3 commits. 2018-08-06 22:29:10 +08:00
doc.go