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
* xr@f:../../machine_management/control_plane_machine_management/cpmso-using.adoc#cpmso-feat-config-update_cpmso-using[Updating the control plane configuration]
17
-
////
16
+
* xref:../../machine_management/control_plane_machine_management/cpmso-getting-started.adoc#cpmso-getting-started[Getting started with the Control Plane Machine Set Operator]
17
+
18
+
* xref:../../machine_management/control_plane_machine_management/cpmso-using.adoc#cpmso-feat-config-update_cpmso-using[Updating the control plane configuration]
The `<platform_failure_domains>` and `<platform_provider_spec>` sections of the control plane machine set resources are provider-specific. Refer to the example YAML for your cluster:
19
25
20
26
* xref:../../machine_management/control_plane_machine_management/cpmso-configuration.adoc#cpmso-sample-yaml-aws_cpmso-configuration[Sample YAML snippets for configuring Amazon Web Services clusters]
* xref:../../machine_management/control_plane_machine_management/cpmso-using.adoc#cpmso-supported-features-aws_cpmso-using[Enabling Amazon Web Services features for control plane machines]
47
+
38
48
[id="cpmso-sample-yaml-azure_{context}"]
39
49
== Sample YAML for configuring Microsoft Azure clusters
* xref:../../machine_management/control_plane_machine_management/cpmso-using.adoc#cpmso-supported-features-azure_cpmso-using[Enabling Microsoft Azure features for control plane machines]
62
+
49
63
[id="cpmso-sample-yaml-vsphere_{context}"]
50
64
== Sample YAML for configuring VMware vSphere clusters
== Enabling Amazon Web Services features for control plane machines
25
+
26
+
You can enable Amazon Web Services (AWS) features on control plane machines by changing the configuration of your control plane machine set. When you save an update to the control plane machine set, the Control Plane Machine Set Operator updates the control plane machines according to your configured update strategy.
27
+
28
+
//Machine sets that enable the Amazon EC2 Instance Metadata Service
== Enabling Microsoft Azure features for control plane machines
42
+
43
+
You can enable Microsoft Azure features on control plane machines by changing the configuration of your control plane machine set. When you save an update to the control plane machine set, the Control Plane Machine Set Operator updates the control plane machines according to your configured update strategy.
* xref:../../storage/container_storage_interface/persistent-storage-csi-azure.adoc#machineset-azure-ultra-disk_persistent-storage-csi-azure[Machine sets that deploy machines on ultra disks using CSI PVCs]
48
48
* xref:../../storage/persistent_storage/persistent-storage-azure.adoc#machineset-azure-ultra-disk_persistent-storage-azure[Machine sets that deploy machines on ultra disks using in-tree PVCs]
49
49
50
-
//Creating machines on ultra disks by using compute machine sets
50
+
//Creating machines on ultra disks by using machine sets
= Automatically updating the control plane configuration
8
+
9
+
You can use the `RollingUpdate` update strategy to automatically propagate changes to your control plane configuration.
10
+
11
+
For clusters that use the default `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.
12
+
13
+
If multiple control plane machines are marked for replacement, the Operator repeats this replacement process one machine at a time until each machine is replaced.
You can make changes to the configuration of the machines in the control plane by updating the specification in the control plane machine set custom resource (CR).
10
+
11
+
The Control Plane Machine Set Operator monitors the control plane machines and compares their configuration with the specification in the control plane machine set CR. When there is a discrepancy between the specification in the CR and the configuration of a control plane machine, the Operator marks that control plane machine for replacement.
12
+
13
+
[NOTE]
14
+
====
15
+
For more information about the parameters in the CR, see "Control Plane Machine Set Operator configuration".
16
+
====
17
+
18
+
.Prerequisites
19
+
20
+
* Your cluster has an activated and functioning Control Plane Machine Set Operator.
21
+
22
+
.Procedure
23
+
24
+
. Edit your control plane machine set CR by running the following command:
. Change the values of any fields that you want to update in your cluster configuration.
32
+
33
+
. Save your changes.
34
+
35
+
.Next steps
36
+
37
+
* For clusters that use the default `RollingUpdate` update strategy, the Operator automatically propagates the changes to your control plane configuration.
38
+
39
+
* For clusters that are configured to use the `OnDelete` update strategy, you must replace your control plane machines manually.
= Testing changes to the control plane configuration
7
+
= Testing changes to the control plane configuration
8
+
9
+
You can use the `OnDelete` update strategy to test changes to your control plane configuration. With this update strategy, you replace control plane machines manually. Manually replacing machines allows you to test changes to your configuration on a single machine before applying the changes more broadly.
10
+
11
+
For clusters that are configured to use the `OnDelete` update strategy, the Operator creates a replacement control plane machine when you delete an existing machine. When the replacement control plane machine is ready, the etcd Operator allows the existing machine to be deleted. The replacement machine then joins the control plane.
12
+
13
+
If multiple control plane machines are deleted, the Operator creates all of the required replacement machines simultaneously.
Copy file name to clipboardExpand all lines: modules/cpmso-yaml-provider-spec-aws.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ providerSpec:
57
57
userDataSecret:
58
58
name: master-user-data <12>
59
59
----
60
-
<1> Specifies the Amazon Machine Images (AMI) ID for the cluster. The AMI must belong to the same region as the cluster.
60
+
<1> Specifies the {op-system-first}Amazon Machine Images (AMI) ID for the cluster. The AMI must belong to the same region as the cluster. If you want to use an AWS Marketplace image, you must complete the {product-title} subscription from the link:https://aws.amazon.com/marketplace/fulfillment?productId=59ead7de-2540-4653-a8b0-fa7926d5c845[AWS Marketplace] to obtain an AMI ID for your region.
61
61
<2> Specifies the configuration of an encrypted EBS volume.
62
62
<3> Specifies the secret name for the cluster. Do not change this value.
63
63
<4> Specifies the AWS Identity and Access Management (IAM) instance profile. Do not change this value.
Before you activate the Operator, you must ensure that the `ControlPlaneMachineSet` CR configuration is correct for your cluster requirements. For more information about activating the Control Plane Machine Set Operator, see "Getting started with the Control Plane Machine Set Operator".
58
58
====
59
-
<5> Specifies the update strategy for the cluster. The allowed values are `OnDelete` and `RollingUpdate`. The default value is `RollingUpdate`.
60
-
//For more information about update strategies, see "Updating the control plane configuration".
59
+
<5> Specifies the update strategy for the cluster. The allowed values are `OnDelete` and `RollingUpdate`. The default value is `RollingUpdate`. For more information about update strategies, see "Updating the control plane configuration".
61
60
<6> Specifies the cloud provider platform name. Do not change this value.
62
61
<7> Specifies the `<platform_failure_domains>` configuration for the cluster. The format and values of this section are provider-specific. For more information, see the sample failure domain configuration for your cloud provider.
0 commit comments