Skip to content

Commit

Permalink
kubectl should also be held by apt-mark (kubernetes#14250)
Browse files Browse the repository at this point in the history
here apt installs both kubelet and kubectl but just holds kubelet. I think kubectl should alse be held by apt-mark.

```
# replace x in 1.14.x-00 with the latest patch version
apt-mark unhold kubelet && \
apt-get update && apt-get install -y kubelet=1.14.x-00 kubectl=1.14.x-00 && \
apt-mark hold kubelet
```
  • Loading branch information
silenceshell authored and yoonian committed May 28, 2019
1 parent 055b32e commit f788bf9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,9 @@ are merged into a single document.
{{< tabs name="k8s_install_kubelet" >}}
{{% tab name="Ubuntu, Debian or HypriotOS" %}}
# replace x in 1.14.x-00 with the latest patch version
apt-mark unhold kubelet && \
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
apt-mark hold kubelet kubectl
{{% /tab %}}
{{% tab name="CentOS, RHEL or Fedora" %}}
# replace x in 1.14.x-0 with the latest patch version
Expand Down

0 comments on commit f788bf9

Please sign in to comment.