Skip to content

Commit

Permalink
Update Q1 for 1.27
Browse files Browse the repository at this point in the history
  • Loading branch information
fireflycons committed Jun 26, 2023
1 parent 9326b2a commit 950ecdf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/14-Lightning-Labs/02-Lightning-Lab-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Solution to LL-1

1. <details>
<summary>Upgrade the current version of kubernetes from 1.25.0 to 1.26.0 exactly using the kubeadm utility.</summary>
<summary>Upgrade the current version of kubernetes from 1.26.0 to 1.27.0 exactly using the kubeadm utility.</summary>

There is currently an issue with this lab which requires an extra step. This may be addressed in the near future.

Expand All @@ -22,14 +22,14 @@
```
apt-get update
apt-mark unhold kubeadm
apt-get install -y kubeadm=1.26.0-00
apt-get install -y kubeadm=1.27.0-00
```
1. Plan and apply upgrade
```
kubeadm upgrade plan
kubeadm upgrade apply v1.26.0
kubeadm upgrade apply v1.27.0
```
1. Remove taint on controlplane node. This is the issue described above. As part of the upgrade specifically to 1.26, some taints are added to all controlplane nodes. This will prevent the `gold-nginx` pod from being rescheduled to the controlplane node later on.
Expand All @@ -56,7 +56,7 @@
```
apt-mark unhold kubelet
apt-get install -y kubelet=1.26.0-00
apt-get install -y kubelet=1.27.0-00
systemctl daemon-reload
systemctl restart kubelet
```
Expand All @@ -71,7 +71,7 @@
```
apt-mark unhold kubectl
apt-get install -y kubectl=1.26.0-00
apt-get install -y kubectl=1.27.0-00
```
1. Re-hold packages
Expand All @@ -97,7 +97,7 @@
```
apt-get update
apt-mark unhold kubeadm
apt-get install -y kubeadm=1.26.0-00
apt-get install -y kubeadm=1.27.0-00
```
1. Upgrade node
Expand All @@ -110,7 +110,7 @@
```
apt-mark unhold kubelet
apt-get install kubelet=1.26.0-00
apt-get install kubelet=1.27.0-00
systemctl daemon-reload
systemctl restart kubelet
```
Expand Down

0 comments on commit 950ecdf

Please sign in to comment.