Skip to content

Commit

Permalink
Fix documentation on k3s_upgrade label (#1115)
Browse files Browse the repository at this point in the history
Remove namespace from syntax, which is not needed when editing node labels.
Fix '_' to '-' and clarify text.

Co-authored-by: Dr. Torge Valerius <2878247+cygnusb@users.noreply.github.com>
  • Loading branch information
cygnusb and cygnusb authored Dec 11, 2023
1 parent 84581b9 commit 18bdb7b
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 @@ -233,10 +233,10 @@ _If you wish to turn off automatic k3s upgrades, you need to set:_
automatically_upgrade_k3s = false
```

_Alternatively, you can either remove the `k3s_upgrade=true` label or set it to `false`. This needs to happen for all the nodes too! To remove it, apply:_
_Alternatively, you can either remove the `k3s_upgrade=true` label or set it to `false`. This needs to happen for all the nodes too! To remove the node label completely, apply `-` at the end of the label:

```sh
kubectl -n system-upgrade label node <node-name> k3s_upgrade-
kubectl label node <node-name> k3s_upgrade-
```

Alternatively, you can disable the k3s automatic upgrade without individually editing the labels on the nodes. Instead, you can just delete the two system controller upgrade plans with:
Expand Down

0 comments on commit 18bdb7b

Please sign in to comment.