|
1 | 1 | // Module included in the following assemblies:
|
2 | 2 | //
|
3 | 3 | // * machine_management/control_plane_machine_management/cpmso-managing-machines.adoc
|
| 4 | +// * rosa/architecture/control-plane.adoc |
| 5 | +// * osd/architecture/control-plane.adoc |
| 6 | + |
| 7 | +ifeval::["{context}" == "control-plane"] |
| 8 | +:rosa-classic: |
| 9 | +:osd: |
| 10 | +endif::[] |
4 | 11 |
|
5 | 12 | :_mod-docs-content-type: CONCEPT
|
6 | 13 | [id="cpmso-feat-auto-update_{context}"]
|
7 | 14 | = Automatic updates to the control plane configuration
|
| 15 | +//Not for ROSA/OSD: |
| 16 | +ifndef::openshift-dedicated,openshift-rosa[] |
| 17 | +The `RollingUpdate` update strategy automatically propagates changes to your control plane configuration. |
| 18 | +This update strategy is the default configuration for the control plane machine set. |
| 19 | + |
| 20 | +For clusters that use the `RollingUpdate` update strategy, the Operator creates a replacement control plane machine with the configuration that is specified in the CR. |
| 21 | +When the replacement control plane machine is ready, the Operator deletes the control plane machine that is marked for replacement. |
| 22 | +The replacement machine then joins the control plane. |
| 23 | + |
| 24 | +If multiple control plane machines are marked for replacement, the Operator protects etcd health during replacement by repeating this replacement process one machine at a time until it has replaced each machine. |
| 25 | +endif::openshift-dedicated,openshift-rosa[] |
| 26 | + |
| 27 | +//For ROSA/OSD: |
| 28 | +ifdef::openshift-dedicated,openshift-rosa[] |
| 29 | + |
| 30 | +On {product-title} clusters, control plane machine sets automatically propagate changes to your control plane configuration. |
| 31 | +When a control plane machine needs to be replaced, the Control Plane Machine Set Operator creates a replacement machine based on the configuration specified by the `ControlPlaneMachineSet` custom resource (CR). When the new control plane machine is ready, the Operator safely drains and terminates the old control plane machine in a way that mitigates any potential negative effects on cluster API or workload availability. |
| 32 | + |
| 33 | +[IMPORTANT] |
| 34 | +==== |
| 35 | +You cannot request that control plane machine replacements happen only during maintenance windows. The Control Plane Machine Set Operator acts to ensure cluster stability. Waiting for a maintenance window could result in cluster stability being compromised. |
| 36 | +==== |
8 | 37 |
|
9 |
| -The `RollingUpdate` update strategy automatically propagates changes to your control plane configuration. This update strategy is the default configuration for the control plane machine set. |
| 38 | +A control plane machine can be marked for replacement at any time, typically because the machine has fallen out of spec or entered an unhealthy state. Such replacements are a normal part of a cluster's lifecycle and not a cause for concern. SRE will be alerted to the issue automatically if any part of a control plane node replacement fails. |
10 | 39 |
|
11 |
| -For clusters that use the `RollingUpdate` update strategy, the Operator creates a replacement control plane machine with the configuration that is specified in the CR. When the replacement control plane machine is ready, the Operator deletes the control plane machine that is marked for replacement. The replacement machine then joins the control plane. |
| 40 | +[NOTE] |
| 41 | +==== |
| 42 | +Depending on when the {product-title} cluster was originally created, the introduction of control plane machine sets might leave one or two control plane nodes with labels or machine names that are inconsistent with the other control plane nodes. For example `clustername-master-0`, `clustername-master-1`,and `clustername-master-2-abcxyz`. Such naming inconsistencies do not affect the workings of the cluster and are not a cause for concern. |
| 43 | +==== |
| 44 | +endif::openshift-dedicated,openshift-rosa[] |
12 | 45 |
|
13 |
| -If multiple control plane machines are marked for replacement, the Operator protects etcd health during replacement by repeating this replacement process one machine at a time until it has replaced each machine. |
| 46 | +ifeval::["{context}" == "control-plane"] |
| 47 | +:!rosa-classic: |
| 48 | +:!osd: |
| 49 | +endif::[] |
0 commit comments