diff --git a/machine_management/creating-infrastructure-machinesets.adoc b/machine_management/creating-infrastructure-machinesets.adoc index 8e1ab00c9c7a..38bdf98fe5b2 100644 --- a/machine_management/creating-infrastructure-machinesets.adoc +++ b/machine_management/creating-infrastructure-machinesets.adoc @@ -56,6 +56,8 @@ You can save on costs by using preemptible VM instances at a lower price compared to normal instances on GCP. You can xref:../machine_management/creating_machinesets/creating-machineset-gcp.adoc#machineset-creating-non-guaranteed-instance_creating-machineset-gcp[configure preemptible VM instances] by adding `preemptible` to the MachineSet YAML file. +include::modules/machineset-yaml-osp.adoc[leveloffset=+3] + include::modules/machineset-creating.adoc[leveloffset=+2] [id="moving-resources-to-infrastructure-machinesets"] diff --git a/modules/machineset-yaml-osp.adoc b/modules/machineset-yaml-osp.adoc index 096668fff530..a9dbc998cd3c 100644 --- a/modules/machineset-yaml-osp.adoc +++ b/modules/machineset-yaml-osp.adoc @@ -48,6 +48,7 @@ spec: namespace: openshift-machine-api flavor: image: + serverGroupID: <4> kind: OpenstackProviderSpec networks: - filter: {} @@ -79,3 +80,5 @@ $ oc get -o jsonpath='{.status.infrastructureName}{"\n"}' infrastructure cluster ---- <2> Specify the node label to add. <3> Specify the infrastructure ID and node label. +<4> To set a server group policy for the MachineSet, enter the value that is returned from +link:https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.0/html/command_line_interface_reference/server#server_group_create[creating a server group]. For most deployments, `anti-affinity` or `soft-anti-affinity` policies are recommended.