Skip to content

Commit 576e9a6

Browse files
committed
CPMS FD enhancements: vSphere clarity, cross-platform consistency
1 parent 446e947 commit 576e9a6

File tree

4 files changed

+35
-22
lines changed

4 files changed

+35
-22
lines changed

modules/cpmso-yaml-failure-domain-vsphere.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,20 @@ spec:
3838
- name: <failure_domain_name2>
3939
# ...
4040
----
41-
<1> A failure domain defines the vCenter location for {product-title} cluster nodes.
42-
<2> Defines failure domains by name for the control plane machine set.
43-
41+
<1> Specifies the vCenter location for {product-title} cluster nodes.
42+
<2> Specifies failure domains by name for the control plane machine set.
43+
+
4444
[IMPORTANT]
4545
====
46-
Currently, the `vsphere.name` field is the only supported failure domain field that you can specify in the `ControlPlaneMachineSet` CR.
47-
Each `failureDomains.platform.vsphere.name` field value in the `ControlPlaneMachineSet` CR must match the corresponding value defined in the `failureDomains.name` field of the cluster-wide infrastructure CRD.
48-
46+
Each `name` field value in this section must match the corresponding value in the `failureDomains.name` field of the cluster-wide infrastructure CRD.
4947
You can find the value of the `failureDomains.name` field by running the following command:
5048

5149
[source,terminal]
5250
----
5351
$ oc get infrastructure cluster -o=jsonpath={.spec.platformSpec.vsphere.failureDomains[0].name
5452
----
53+
54+
The `name` field is the only supported failure domain field that you can specify in the `ControlPlaneMachineSet` CR.
5555
====
5656

5757
For an example of a cluster-wide infrastructure CRD that defines resources for each failure domain, see "Specifying multiple regions and zones for your cluster on {vmw-short}."

modules/cpmso-yaml-provider-spec-azure.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ You can omit the `publicLoadBalancer` parameter on private {product-title} clust
8686
[NOTE]
8787
====
8888
If the cluster is configured to use a different zone for each failure domain, this parameter is configured in the failure domain.
89-
If you specify this value in the provider specification, the Control Plane Machine Set Operator ignores it.
89+
If you specify this value in the provider specification when using different zones for each failure domain, the Control Plane Machine Set Operator ignores it.
9090
====

modules/cpmso-yaml-provider-spec-nutanix.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ You must use the `Legacy` boot type in {product-title} {product-version}.
7878
====
7979
Clusters that use {product-title} version 4.15 or later can use failure domain configurations.
8080
81-
For clusters that use failure domains, this value is specified in a failure domain configuration.
82-
If you specify this value in the provider specification, the Control Plane Machine Set Operator ignores it.
81+
If the cluster is configured to use a failure domain, this parameter is configured in the failure domain.
82+
If you specify this value in the provider specification when using failure domains, the Control Plane Machine Set Operator ignores it.
8383
====
8484
<4> Specifies the secret name for the cluster. Do not change this value.
8585
<5> Specifies the image that was used to create the disk.
@@ -92,8 +92,8 @@ If you specify this value in the provider specification, the Control Plane Machi
9292
====
9393
Clusters that use {product-title} version 4.15 or later can use failure domain configurations.
9494
95-
For clusters that use failure domains, this value is specified in a failure domain configuration.
96-
If you specify this value in the provider specification, the Control Plane Machine Set Operator ignores it.
95+
If the cluster is configured to use a failure domain, this parameter is configured in the failure domain.
96+
If you specify this value in the provider specification when using failure domains, the Control Plane Machine Set Operator ignores it.
9797
====
9898
<10> Specifies the VM disk size for the control plane machines.
9999
<11> Specifies the control plane user data secret. Do not change this value.

modules/cpmso-yaml-provider-spec-vsphere.adoc

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,37 @@ spec:
4040
template: <vm_template_name> <8>
4141
userDataSecret:
4242
name: master-user-data <9>
43-
workspace:
44-
datacenter: <vcenter_datacenter_name> <10>
45-
datastore: <vcenter_datastore_name> <11>
46-
folder: <path_to_vcenter_vm_folder> <12>
47-
resourcePool: <vsphere_resource_pool> <13>
48-
server: <vcenter_server_ip> <14>
43+
workspace: <10>
44+
datacenter: <vcenter_datacenter_name> <11>
45+
datastore: <vcenter_datastore_name> <12>
46+
folder: <path_to_vcenter_vm_folder> <13>
47+
resourcePool: <vsphere_resource_pool> <14>
48+
server: <vcenter_server_ip> <15>
4949
----
5050
<1> Specifies the secret name for the cluster. Do not change this value.
5151
<2> Specifies the VM disk size for the control plane machines.
5252
<3> Specifies the cloud provider platform type. Do not change this value.
5353
<4> Specifies the memory allocated for the control plane machines.
5454
<5> Specifies the network on which the control plane is deployed.
55+
+
56+
[NOTE]
57+
====
58+
If the cluster is configured to use a failure domain, this parameter is configured in the failure domain.
59+
If you specify this value in the provider specification when using failure domains, the Control Plane Machine Set Operator ignores it.
60+
====
5561
<6> Specifies the number of CPUs allocated for the control plane machines.
5662
<7> Specifies the number of cores for each control plane CPU.
5763
<8> Specifies the vSphere VM template to use, such as `user-5ddjd-rhcos`.
5864
<9> Specifies the control plane user data secret. Do not change this value.
59-
<10> Specifies the vCenter Datacenter for the control plane.
60-
<11> Specifies the vCenter Datastore for the control plane.
61-
<12> Specifies the path to the vSphere VM folder in vCenter, such as `/dc1/vm/user-inst-5ddjd`.
62-
<13> Specifies the vSphere resource pool for your VMs.
63-
<14> Specifies the vCenter server IP or fully qualified domain name.
65+
<10> Specifies the workspace details for the control plane.
66+
+
67+
[NOTE]
68+
====
69+
If the cluster is configured to use a failure domain, these parameters are configured in the failure domain.
70+
If you specify these values in the provider specification when using failure domains, the Control Plane Machine Set Operator ignores them.
71+
====
72+
<11> Specifies the vCenter Datacenter for the control plane.
73+
<12> Specifies the vCenter Datastore for the control plane.
74+
<13> Specifies the path to the vSphere VM folder in vCenter, such as `/dc1/vm/user-inst-5ddjd`.
75+
<14> Specifies the vSphere resource pool for your VMs.
76+
<15> Specifies the vCenter server IP or fully qualified domain name.

0 commit comments

Comments
 (0)