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:
839
2019-06-20 05:02:20 +09:00
committed by Kubernetes Prow Robot
parent 4bc7a5f8b1
commit 52073165cb
2 changed files with 5 additions and 3 deletions
@@ -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