Skip to content

Commit

Permalink
correct update command
Browse files Browse the repository at this point in the history
  • Loading branch information
LeePorte committed Jan 24, 2024
1 parent 92fe062 commit f3f11a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ sudo kubeadm upgrade plan $K8S_RELEASE
**Step 4. 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 5. Perform Cordon, drain, upgrade, and uncordon**
Expand Down Expand Up @@ -333,7 +333,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 @@ -365,5 +365,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 f3f11a1

Please sign in to comment.