|
4 | 4 |
|
5 | 5 | :_mod-docs-content-type: REFERENCE
|
6 | 6 | [id="cpmso-yaml-failure-domain-vsphere_{context}"]
|
7 |
| -= Sample VMware vSphere failure domain configuration |
| 7 | += Sample {vmw-full} failure domain configuration |
8 | 8 |
|
9 |
| -On VMware vSphere infrastructure, the cluster-wide infrastructure Custom Resource Definition (CRD), `infrastructures.config.openshift.io`, defines failure domains for your cluster. The `providerSpec` in the `ControlPlaneMachineSet` custom resource (CR) specifies names for failure domains. A failure domain is an infrastructure resource that comprises a control plane machine set, a vCenter datacenter, vCenter datastore, and a network. |
| 9 | +On {vmw-full} infrastructure, the cluster-wide infrastructure Custom Resource Definition (CRD), `infrastructures.config.openshift.io`, defines failure domains for your cluster. |
| 10 | +The `providerSpec` in the `ControlPlaneMachineSet` custom resource (CR) specifies names for failure domains that the control plane machine set uses to ensure control plane nodes are deployed to the appropriate failure domain. |
| 11 | +A failure domain is an infrastructure resource made up of a control plane machine set, a vCenter datacenter, vCenter datastore, and a network. |
10 | 12 |
|
11 |
| -By using a failure domain resource, you can use a control plane machine set to deploy control plane machines on hardware that is separate from the primary VMware vSphere infrastructure. A control plane machine set also balances control plane machines across defined failure domains to provide fault tolerance capabilities to your infrastructure. |
| 13 | +By using a failure domain resource, you can use a control plane machine set to deploy control plane machines on separate clusters or datacenters. |
| 14 | +A control plane machine set also balances control plane machines across defined failure domains to provide fault tolerance capabilities to your infrastructure. |
12 | 15 |
|
13 | 16 | [NOTE]
|
14 | 17 | ====
|
15 | 18 | If you modify the `ProviderSpec` configuration in the `ControlPlaneMachineSet` CR, the control plane machine set updates all control plane machines deployed on the primary infrastructure and each failure domain infrastructure.
|
16 | 19 | ====
|
17 | 20 |
|
18 |
| -:FeatureName: Defining a failure domain for a control plane machine set |
19 |
| -include::snippets/technology-preview.adoc[] |
20 |
| - |
21 |
| -.Sample vSphere failure domain values |
| 21 | +.Sample {vmw-full} failure domain values |
22 | 22 | [source,yaml]
|
23 | 23 | ----
|
24 | 24 | apiVersion: machine.openshift.io/v1
|
|
31 | 31 | template:
|
32 | 32 | # ...
|
33 | 33 | machines_v1beta1_machine_openshift_io:
|
34 |
| - failureDomains: <1> |
| 34 | + failureDomains: # <1> |
35 | 35 | platform: VSphere
|
36 |
| - vsphere: <2> |
| 36 | + vsphere: # <2> |
37 | 37 | - name: <failure_domain_name1>
|
38 | 38 | - name: <failure_domain_name2>
|
39 | 39 | # ...
|
|
43 | 43 |
|
44 | 44 | [IMPORTANT]
|
45 | 45 | ====
|
46 |
| -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. Currently, the `vsphere.name` field is the only supported failure domain field that you can specify in the `ControlPlaneMachineSet` CR. |
47 |
| -==== |
| 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 | +
|
| 49 | +You can find the value of the `failureDomains.name` field by running the following command: |
| 50 | +
|
| 51 | +[source,terminal] |
| 52 | +---- |
| 53 | +$ oc get infrastructure cluster -o=jsonpath={.spec.platformSpec.vsphere.failureDomains[0].name |
| 54 | +---- |
| 55 | +==== |
0 commit comments