Skip to content

Commit

Permalink
Remove KUBE_API_VERSIONS doc
Browse files Browse the repository at this point in the history
The support to the KUBER_API_VERSIONS environment variable is completely
dropped (no deprecation). This PR removes the related doc in
release-1.11.

xref: kubernetes/kubernetes#63165
  • Loading branch information
tengqm authored and Misty Stanley-Jones committed May 16, 2018
1 parent 6cba902 commit 3927937
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ reviewers:
title: Cluster Management
---

{{< toc >}}
* TOC
{:toc}

This document describes several topics related to the lifecycle of a cluster: creating a new cluster,
upgrading your cluster's
Expand Down Expand Up @@ -199,9 +200,6 @@ The objects that are stored to disk for a cluster's internal representation of t
When the supported API changes, these objects may need to be rewritten in the newer API. Failure to do this will eventually result in resources that are no longer decodable or usable
by the Kubernetes API server.

`KUBE_API_VERSIONS` environment variable for the `kube-apiserver` binary which controls the API versions that are supported in the cluster. The first version in the list is used as the cluster's storage version. Hence, to set a specific version as the storage version, bring it to the front of list of versions in the value of `KUBE_API_VERSIONS`. You need to restart the `kube-apiserver` binary
for changes to this variable to take effect.

### Switching your config files to a new API version

You can use `kubectl convert` command to convert config files between different API versions.
Expand All @@ -210,4 +208,4 @@ You can use `kubectl convert` command to convert config files between different
kubectl convert -f pod.yaml --output-version v1
```

For more options, please refer to the usage of [kubectl convert](/docs/reference/generated/kubectl/kubectl-commands/#convert) command.
For more options, please refer to the usage of [kubectl convert](/docs/user-guide/kubectl/{{page.version}}/#convert) command.

0 comments on commit 3927937

Please sign in to comment.