update the upgrade method of kubelet / kubectl of worker nodes (#14871)
* [#14870] update the upgrade method of kubelet / kubectl of worker nodes * [#14870] add link of how to update from 1.13 to 1.14
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
4bc7a5f8b1
commit
52073165cb
@@ -22,7 +22,8 @@ For more version-specific upgrade guidance, see the following resources:
|
||||
* [1.10 to 1.11 upgrades](/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-11/)
|
||||
* [1.11 to 1.12 upgrades](/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-12/)
|
||||
* [1.12 to 1.13 upgrades](/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-13/)
|
||||
|
||||
* [1.13 to 1.14 upgrades](/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade-1-14/)
|
||||
|
||||
_For older versions, please refer to older documentation sets on the Kubernetes website._
|
||||
|
||||
In Kubernetes v1.11.0 and later, you can use `kubeadm upgrade diff` to see the changes that would be
|
||||
|
||||
@@ -316,8 +316,9 @@ without compromising the minimum required capacity for running your workloads.
|
||||
{{< tabs name="k8s_kubelet_and_kubectl" >}}
|
||||
{{% tab name="Ubuntu, Debian or HypriotOS" %}}
|
||||
# replace x in 1.14.x-00 with the latest patch version
|
||||
apt-get update
|
||||
apt-get install -y kubelet=1.14.x-00 kubectl=1.14.x-00
|
||||
apt-mark unhold kubelet kubectl && \
|
||||
apt-get update && apt-get install -y kubelet=1.14.x-00 kubectl=1.14.x-00 && \
|
||||
apt-mark hold kubelet kubectl
|
||||
{{% /tab %}}
|
||||
{{% tab name="CentOS, RHEL or Fedora" %}}
|
||||
# replace x in 1.14.x-0 with the latest patch version
|
||||
|
||||
Reference in New Issue
Block a user