You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -209,6 +209,39 @@ kubectl get backuptarget -n longhorn-system
209
209
- **SOPS**: Used for encrypting Talos secrets
210
210
- **No plaintext secrets in Git**
211
211
212
+
#### Upgrading Nodes
213
+
When a new version of Talos is released or system extensions in `iac/talos/talconfig.yaml` are changed, follow this process to upgrade your nodes. This method uses the direct `upgrade` command to ensure the new system image is correctly applied, which is more reliable than `apply-config` for image changes.
214
+
215
+
**Important:** Always upgrade control plane nodes **one at a time**, waiting for each node to successfully reboot and rejoin the cluster before proceeding to the next. This prevents losing etcd quorum. Worker nodes can be upgraded in parallel after the control plane is healthy.
216
+
217
+
1. **Update Configuration**:
218
+
Modify `iac/talos/talconfig.yaml` with the new `talosVersion` or changes to `systemExtensions`.
219
+
220
+
2. **Ensure Environment is Set**:
221
+
Make sure your `TALOSCONFIG` variable is pointing to your generated cluster configuration file as described in the Quick Start.
222
+
223
+
3. **Upgrade a Control Plane Node**:
224
+
Run the following commands from the root of the repository. Replace `<node-name>` and `<node-ip>` with the target node's details. Run this for each control plane node sequentially.
225
+
226
+
```bash
227
+
# Example for the first control plane node
228
+
NODE_NAME="talos-cluster-control-00"
229
+
NODE_IP="192.168.10.100"# Replace with your node's IP
0 commit comments