@@ -88,6 +88,7 @@ Pick a control plane node that you wish to upgrade first. It must have the `/etc
88
88
yum install -y kubeadm-{{< skew currentVersion >}}.x-0 --disableexcludes=kubernetes
89
89
{{% /tab %}}
90
90
{{< /tabs >}}
91
+ <br />
91
92
92
93
- Verify that the download works and has the expected version:
93
94
@@ -166,11 +167,10 @@ Also calling `kubeadm upgrade plan` and upgrading the CNI provider plugin is no
166
167
167
168
### Upgrade kubelet and kubectl
168
169
169
- - Upgrade the kubelet and kubectl
170
+ - Upgrade the kubelet and kubectl:
170
171
171
172
{{< tabs name="k8s_install_kubelet" >}}
172
- {{< tab name="Ubuntu, Debian or HypriotOS" >}}
173
- <pre>
173
+ {{% tab name="Ubuntu, Debian or HypriotOS" %}}
174
174
# replace x in {{< skew currentVersion >}}.x-00 with the latest patch version
175
175
apt-mark unhold kubelet kubectl && \
176
176
apt-get update && apt-get install -y kubelet={{< skew currentVersion >}}.x-00 kubectl={{< skew currentVersion >}}.x-00 && \
@@ -179,15 +179,13 @@ Also calling `kubeadm upgrade plan` and upgrading the CNI provider plugin is no
179
179
# since apt-get version 1.1 you can also use the following method
180
180
apt-get update && \
181
181
apt-get install -y --allow-change-held-packages kubelet={{< skew currentVersion >}}.x-00 kubectl={{< skew currentVersion >}}.x-00
182
- </pre>
183
- {{< /tab >}}
184
- {{< tab name="CentOS, RHEL or Fedora" >}}
185
- <pre>
182
+ {{% /tab %}}
183
+ {{% tab name="CentOS, RHEL or Fedora" %}}
186
184
# replace x in {{< skew currentVersion >}}.x-0 with the latest patch version
187
185
yum install -y kubelet-{{< skew currentVersion >}}.x-0 kubectl-{{< skew currentVersion >}}.x-0 --disableexcludes=kubernetes
188
- </pre>
189
- {{< /tab >}}
186
+ {{% /tab %}}
190
187
{{< /tabs >}}
188
+ <br />
191
189
192
190
- Restart the kubelet:
193
191
@@ -268,6 +266,7 @@ without compromising the minimum required capacity for running your workloads.
268
266
yum install -y kubelet-{{< skew currentVersion >}}.x-0 kubectl-{{< skew currentVersion >}}.x-0 --disableexcludes=kubernetes
269
267
{{% /tab %}}
270
268
{{< /tabs >}}
269
+ <br />
271
270
272
271
- Restart the kubelet:
273
272
0 commit comments