@@ -78,10 +78,6 @@ Pick a control plane node that you wish to upgrade first. It must have the `/etc
78
78
apt-mark unhold kubeadm && \
79
79
apt-get update && apt-get install -y kubeadm={{< skew currentVersion >}}.x-00 && \
80
80
apt-mark hold kubeadm
81
- -
82
- # since apt-get version 1.1 you can also use the following method
83
- apt-get update && \
84
- apt-get install -y --allow-change-held-packages kubeadm={{< skew currentVersion >}}.x-00
85
81
{{% /tab %}}
86
82
{{% tab name="CentOS, RHEL or Fedora" %}}
87
83
# replace x in {{< skew currentVersion >}}.x-0 with the latest patch version
@@ -175,10 +171,6 @@ Also calling `kubeadm upgrade plan` and upgrading the CNI provider plugin is no
175
171
apt-mark unhold kubelet kubectl && \
176
172
apt-get update && apt-get install -y kubelet={{< skew currentVersion >}}.x-00 kubectl={{< skew currentVersion >}}.x-00 && \
177
173
apt-mark hold kubelet kubectl
178
- -
179
- # since apt-get version 1.1 you can also use the following method
180
- apt-get update && \
181
- apt-get install -y --allow-change-held-packages kubelet={{< skew currentVersion >}}.x-00 kubectl={{< skew currentVersion >}}.x-00
182
174
{{% /tab %}}
183
175
{{% tab name="CentOS, RHEL or Fedora" %}}
184
176
# replace x in {{< skew currentVersion >}}.x-0 with the latest patch version
@@ -218,10 +210,6 @@ without compromising the minimum required capacity for running your workloads.
218
210
apt-mark unhold kubeadm && \
219
211
apt-get update && apt-get install -y kubeadm={{< skew currentVersion >}}.x-00 && \
220
212
apt-mark hold kubeadm
221
- -
222
- # since apt-get version 1.1 you can also use the following method
223
- apt-get update && \
224
- apt-get install -y --allow-change-held-packages kubeadm={{< skew currentVersion >}}.x-00
225
213
{{% /tab %}}
226
214
{{% tab name="CentOS, RHEL or Fedora" %}}
227
215
# replace x in {{< skew currentVersion >}}.x-0 with the latest patch version
@@ -256,10 +244,6 @@ without compromising the minimum required capacity for running your workloads.
256
244
apt-mark unhold kubelet kubectl && \
257
245
apt-get update && apt-get install -y kubelet={{< skew currentVersion >}}.x-00 kubectl={{< skew currentVersion >}}.x-00 && \
258
246
apt-mark hold kubelet kubectl
259
- -
260
- # since apt-get version 1.1 you can also use the following method
261
- apt-get update && \
262
- apt-get install -y --allow-change-held-packages kubelet={{< skew currentVersion >}}.x-00 kubectl={{< skew currentVersion >}}.x-00
263
247
{{% /tab %}}
264
248
{{% tab name="CentOS, RHEL or Fedora" %}}
265
249
# replace x in {{< skew currentVersion >}}.x-0 with the latest patch version
0 commit comments