You must use a kubectl version that is within one minor version difference of your cluster. For example, a v{{<skewcurrentVersion>}} client can communicate with v{{<skewcurrentVersionAddMinor-1>}}, v{{<skewcurrentVersionAddMinor0>}}, and v{{<skewcurrentVersionAddMinor1>}} control planes.
You must use a kubectl version that is within one minor version difference of your cluster.
For example, a v{{<skewcurrentVersion>}} client can communicate
with v{{<skewcurrentVersionAddMinor-1>}}, v{{<skewcurrentVersionAddMinor0>}},
and v{{<skewcurrentVersionAddMinor1>}} control planes.
Using the latest compatible version of kubectl helps avoid unforeseen issues.
-->
kubectl 版本和集群版本之间的差异必须在一个小版本号内。
@ -65,7 +68,8 @@ The following methods exist for installing kubectl on Linux:
{{<note>}}
<!--
To download a specific version, replace the `$(curl -L -s https://dl.k8s.io/release/stable.txt)` portion of the command with the specific version.
To download a specific version, replace the `$(curl -L -s https://dl.k8s.io/release/stable.txt)`
portion of the command with the specific version.
For example, to download version {{<param"fullversion">}} on Linux, type:
-->
@ -138,7 +142,8 @@ The following methods exist for installing kubectl on Linux:
{{<note>}}
<!--
If you do not have root access on the target system, you can still install kubectl to the `~/.local/bin` directory:
If you do not have root access on the target system, you can still install
If you are on Ubuntu or another Linux distribution that supports the [snap](https://snapcraft.io/docs/core/install) package manager, kubectl is available as a [snap](https://snapcraft.io/) application.
If you are on Ubuntu or another Linux distribution that supports the
If you are on Linux and using [Homebrew](https://docs.brew.sh/Homebrew-on-Linux) package manager, kubectl is available for [installation](https://docs.brew.sh/Homebrew-on-Linux#install).
If you are on Linux and using [Homebrew](https://docs.brew.sh/Homebrew-on-Linux)
package manager, kubectl is available for [installation](https://docs.brew.sh/Homebrew-on-Linux#install).
-->
如果你使用 Linux 系统,并且装了 [Homebrew](https://docs.brew.sh/Homebrew-on-Linux)