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
It is important to note that a Rook Ceph cluster saves cluster information directly onto the node (by default `dataDirHostPath` is set to `/var/lib/rook`).
106
-
If running only a single `mon` instance, cluster management is little bit more involved, as any time a Talos Linux node is reconfigured or upgraded, the partition that stores the `/var`[file system]({{< relref "../../learn-more/architecture#the-file-system" >}}) is wiped, but the `--preserve` option of [`talosctl upgrade`]({{< relref "../../reference/cli#talosctl-upgrade" >}}) will ensure that doesn't happen.
107
-
108
105
By default, Rook configues Ceph to have 3 `mon` instances, in which case the data stored in `dataDirHostPath` can be regenerated from the other `mon` instances.
109
106
So when performing maintenance on a Talos Linux node with a Rook Ceph cluster (e.g. upgrading the Talos Linux version), it is imperative that care be taken to maintain the health of the Ceph cluster.
110
107
Before upgrading, you should always check the health status of the Ceph cluster to ensure that it is healthy.
Copy file name to clipboardExpand all lines: website/content/v1.10/talos-guides/upgrading-talos.md
-8Lines changed: 0 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,6 @@ This scheme retains the previous Talos kernel and OS image following each upgrad
15
15
If an upgrade fails to boot, Talos will roll back to the previous version.
16
16
Likewise, Talos may be manually rolled back via API (or `talosctl rollback`), which will update the boot reference and reboot.
17
17
18
-
Unless explicitly told to `preserve` data, an upgrade will cause the node to wipe the [EPHEMERAL]({{< relref "../learn-more/architecture/#file-system-partitions" >}}) partition, remove itself from the etcd cluster (if it is a controlplane node), and make itself as pristine as is possible.
19
-
(This is the desired behavior except in specialised use cases such as single-node clusters.)
20
-
21
18
*Note* An upgrade of the Talos Linux OS will not (since v1.0) apply an upgrade to the Kubernetes version by default.
22
19
Kubernetes upgrades should be managed separately per [upgrading kubernetes]({{< relref "../kubernetes-guides/upgrading-kubernetes" >}}).
There is an option to this command: `--preserve`, which will explicitly tell Talos to keep ephemeral data intact.
66
-
In most cases, it is correct to let Talos perform its default action of erasing the ephemeral data.
67
-
However, for a single-node control-plane, make sure that `--preserve=true`.
68
-
69
62
Rarely, an upgrade command will fail due to a process holding a file open on disk.
70
63
In these cases, you can use the `--stage` flag.
71
64
This puts the upgrade artifacts on disk, and adds some metadata to a disk partition that gets checked very early in the boot process, then reboots the node.
@@ -154,7 +147,6 @@ From the user's standpoint, however, the processes are identical.
154
147
However, since control plane nodes run additional services, such as etcd, there are some extra steps and checks performed on them.
155
148
For instance, Talos will refuse to upgrade a control plane node if that upgrade would cause a loss of quorum for etcd.
156
149
If multiple control plane nodes are asked to upgrade at the same time, Talos will protect the Kubernetes cluster by ensuring only one control plane node actively upgrades at any time, via checking etcd quorum.
157
-
If running a single-node cluster, and you want to force an upgrade despite the loss of quorum, you can set `preserve` to `true`.
158
150
159
151
**Q.** Can I break my cluster by upgrading everything at once?
Copy file name to clipboardExpand all lines: website/content/v1.8/talos-guides/upgrading-talos.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,6 @@ This scheme retains the previous Talos kernel and OS image following each upgrad
15
15
If an upgrade fails to boot, Talos will roll back to the previous version.
16
16
Likewise, Talos may be manually rolled back via API (or `talosctl rollback`), which will update the boot reference and reboot.
17
17
18
-
Unless explicitly told to `preserve` data, an upgrade will cause the node to wipe the [EPHEMERAL]({{< relref "../learn-more/architecture/#file-system-partitions" >}}) partition, remove itself from the etcd cluster (if it is a controlplane node), and make itself as pristine as is possible.
19
-
(This is the desired behavior except in specialised use cases such as single-node clusters.)
20
-
21
18
*Note* An upgrade of the Talos Linux OS will not (since v1.0) apply an upgrade to the Kubernetes version by default.
22
19
Kubernetes upgrades should be managed separately per [upgrading kubernetes]({{< relref "../kubernetes-guides/upgrading-kubernetes" >}}).
23
20
@@ -158,7 +155,6 @@ From the user's standpoint, however, the processes are identical.
158
155
However, since control plane nodes run additional services, such as etcd, there are some extra steps and checks performed on them.
159
156
For instance, Talos will refuse to upgrade a control plane node if that upgrade would cause a loss of quorum for etcd.
160
157
If multiple control plane nodes are asked to upgrade at the same time, Talos will protect the Kubernetes cluster by ensuring only one control plane node actively upgrades at any time, via checking etcd quorum.
161
-
If running a single-node cluster, and you want to force an upgrade despite the loss of quorum, you can set `preserve` to `true`.
162
158
163
159
**Q.** Can I break my cluster by upgrading everything at once?
Copy file name to clipboardExpand all lines: website/content/v1.9/talos-guides/upgrading-talos.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,6 @@ This scheme retains the previous Talos kernel and OS image following each upgrad
15
15
If an upgrade fails to boot, Talos will roll back to the previous version.
16
16
Likewise, Talos may be manually rolled back via API (or `talosctl rollback`), which will update the boot reference and reboot.
17
17
18
-
Unless explicitly told to `preserve` data, an upgrade will cause the node to wipe the [EPHEMERAL]({{< relref "../learn-more/architecture/#file-system-partitions" >}}) partition, remove itself from the etcd cluster (if it is a controlplane node), and make itself as pristine as is possible.
19
-
(This is the desired behavior except in specialised use cases such as single-node clusters.)
20
-
21
18
*Note* An upgrade of the Talos Linux OS will not (since v1.0) apply an upgrade to the Kubernetes version by default.
22
19
Kubernetes upgrades should be managed separately per [upgrading kubernetes]({{< relref "../kubernetes-guides/upgrading-kubernetes" >}}).
23
20
@@ -157,7 +154,6 @@ From the user's standpoint, however, the processes are identical.
157
154
However, since control plane nodes run additional services, such as etcd, there are some extra steps and checks performed on them.
158
155
For instance, Talos will refuse to upgrade a control plane node if that upgrade would cause a loss of quorum for etcd.
159
156
If multiple control plane nodes are asked to upgrade at the same time, Talos will protect the Kubernetes cluster by ensuring only one control plane node actively upgrades at any time, via checking etcd quorum.
160
-
If running a single-node cluster, and you want to force an upgrade despite the loss of quorum, you can set `preserve` to `true`.
161
157
162
158
**Q.** Can I break my cluster by upgrading everything at once?
0 commit comments