Skip to content

Commit

Permalink
correct update command
Browse files Browse the repository at this point in the history
  • Loading branch information
LeePorte committed Aug 14, 2024
1 parent e4be897 commit 9dd954a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ sudo kubeadm upgrade plan $K8S_RELEASE
**Step 3. Update bins**

```bash
sudo apt-get update && sudo apt-get -y allow-change-held-packages install kubelet=$KUBEADM_VER kubeadm=$KUBEADM_VER kubectl=$KUBEADM_VER
sudo apt-get update && sudo apt-get -y --allow-change-held-packages install kubelet=$KUBEADM_VER kubeadm=$KUBEADM_VER kubectl=$KUBEADM_VER
```

**Step 4. Perform Cordon, drain, upgrade, and uncordon**
Expand Down Expand Up @@ -367,5 +367,5 @@ KUBEADM_VER="<kubeadm version, e.g. 1.26.2-00>"
**Step 2. Update bins**

```bash
sudo apt-get update && sudo apt-get -y allow-change-held-packages install kubelet=$KUBEADM_VER kubeadm=$KUBEADM_VER kubectl=$KUBEADM_VER
sudo apt-get update && sudo apt-get -y --allow-change-held-packages install kubelet=$KUBEADM_VER kubeadm=$KUBEADM_VER kubectl=$KUBEADM_VER
```

0 comments on commit 9dd954a

Please sign in to comment.