Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Added Talos Upgrade Instructions #494

Merged
merged 1 commit into from
Nov 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions docs/main/Solutioning/openebs-on-kubernetes-platforms/talos.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,38 @@ talosctl -n <node ip> service kubelet restart
Refer to the [OpenEBS Installation Documentation](../../quickstart-guide/installation.md#installation-via-helm) to install Replicated PV Mayastor using Helm on Talos.
## Talos Upgrade
The Talos operating system provides a streamlined upgrade process for maintaining and enhancing system performance. It is crucial to follow the appropriate steps based on the version of Talos you are using to ensure data integrity and system stability during upgrades.
### Version 1.7 or Lower
Follow the below steps to perform an upgrade for version 1.7 or lower:
1. Upgrade a node using the `--preserve` flag.
```
talosctl -n <node-ip> upgrade --preserve --image $IMAGE_URL
```
:::note
The `--preserve` flag explicitly instructs Talos to retain ephemeral data. Upgrading without this flag will compel Talos to reset node configurations and data, resulting in a more intrusive process that will erase the existing etcd state and other stored data.
:::
2. Verify that the node is operating on the new version.
```
talosctl -n <node-ip> version
```
3. Repeat this process for all nodes in the cluster.
### Version 1.8 or Above
In the Talos Linux installer, the system disk is never wiped during upgrades. Consequently, the `--preserve` flag is automatically applied to the talosctl upgrade command, ensuring a seamless upgrade experience while preserving existing data.
Refer [Upgrades](https://www.talos.dev/v1.8/introduction/what-is-new/#upgrades) for more details.
balaharish7 marked this conversation as resolved.
Show resolved Hide resolved
## See Also
- [Replicated PV Mayastor Installation on MicroK8s](microkubernetes.md)
Expand Down