Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions machine_management/creating-infrastructure-machinesets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
3 changes: 3 additions & 0 deletions modules/machineset-yaml-osp.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ spec:
namespace: openshift-machine-api
flavor: <nova_flavor>
image: <glance_image_name_or_location>
serverGroupID: <optional_UUID_of_server_group> <4>
kind: OpenstackProviderSpec
networks:
- filter: {}
Expand Down Expand Up @@ -78,3 +79,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.