[#15031] update the upgrade method of kubelet / kubectl of worker nodes (#15032)

This commit is contained in:
839
2019-06-21 01:52:49 +09:00
committed by Kubernetes Prow Robot
parent 854885fa42
commit f8afd343a6
@@ -314,8 +314,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.15.x-00 with the latest patch version
apt-get update
apt-get install -y kubelet=1.15.x-00 kubectl=1.15.x-00
apt-mark unhold kubelet kubectl && \
apt-get update && apt-get install -y kubelet=1.15.x-00 kubectl=1.15.x-00 && \
apt-mark hold kubelet kubectl
{{% /tab %}}
{{% tab name="CentOS, RHEL or Fedora" %}}
# replace x in 1.15.x-0 with the latest patch version