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
Machine sets running on Azure support non-guaranteed xref:../machine_management/creating_machinesets/creating-machineset-azure.adoc#machineset-non-guaranteed-instance_creating-machineset-azure[Spot VMs]. You can save on costs by using Spot VMs at a lower price compared to standard VMs on Azure. You can xref:../machine_management/creating_machinesets/creating-machineset-azure.adoc#machineset-creating-non-guaranteed-instance_creating-machineset-azure[configure Spot VMs] by adding `spotVMOptions` to the `MachineSet` YAML file.
42
42
43
+
[role="_additional-resources"]
44
+
.Additional resources
45
+
* xref:../machine_management/creating_machinesets/creating-machineset-azure.adoc#installation-azure-marketplace-subscribe_creating-machineset-azure[Selecting an Azure Marketplace image]
If you are deploying an {product-title} cluster using the Azure Marketplace offering, you must first obtain the Azure Marketplace image. The installation program uses this image to deploy worker nodes. When obtaining your image, consider the following:
25
+
endif::mapi[]
26
+
ifdef::mapi[]
27
+
You can create a machine set running on Azure that deploys machines that use the Azure Marketplace offering. To use this offering, you must first obtain the Azure Marketplace image. When obtaining your image, consider the following:
28
+
endif::mapi[]
19
29
20
30
* While the images are the same, the Azure Marketplace publisher is different depending on your region. If you are located in North America, specify `redhat` as the publisher. If you are located in EMEA, specify `redhat-limited` as the publisher.
21
31
* The offer includes a `rh-ocp-worker` SKU and a `rh-ocp-worker-gen1` SKU. The `rh-ocp-worker` SKU represents a Hyper-V generation version 2 VM image. The default instance types used in {product-title} are version 2 compatible. If you are going to use an instance type that is only version 1 compatible, use the image associated with the `rh-ocp-worker-gen1` SKU. The `rh-ocp-worker-gen1` SKU represents a Hyper-V version 1 VM image.
@@ -111,6 +121,9 @@ endif::ipi[]
111
121
ifdef::upi[]
112
122
. Record the image details of your offer. If you use the Azure Resource Manager (ARM) template to deploy your worker nodes, you can update `storageProfile.imageReference` by deleting the `id` parameter and adding the `offer`, `publisher`, `sku`, and `version` parameters using the values from your offer.
113
123
endif::upi[]
124
+
ifdef::mapi[]
125
+
. Record the image details of your offer, specifically the values for `publisher`, `offer`, `sku`, and `version`.
126
+
endif::mapi[]
114
127
115
128
ifdef::ipi[]
116
129
.Sample `install-config.yaml` file with the Azure Marketplace worker nodes
@@ -133,10 +146,30 @@ compute:
133
146
replicas: 3
134
147
----
135
148
endif::ipi[]
149
+
ifdef::mapi[]
150
+
. Add the following parameters to the `providerSpec` section of your machine set YAML file using the image details for your offer:
151
+
+
152
+
.Sample `providerSpec` image values for Azure Marketplace compute machines
<3> Specify the infrastructure ID, `<infra>` node label, and region.
150
150
endif::infra[]
151
151
<4> Optional: Specify the machine set name to enable the use of availability sets. This setting only applies to new compute machines.
152
-
<5> Specify an image that is compatible with your instance type. The Hyper-V generation V2 images created by the installation program have a `-gen2` suffix, while V1 images have the same name without the suffix.
153
-
<6> Specify the region to place machines on.
154
-
<7> Specify the zone within your region to place machines on. Be sure that your region supports the zone that you specify.
152
+
<5> Specify the image details for your machine set. If you want to use an Azure Marketplace image, see "Selecting an Azure Marketplace image".
153
+
<6> Specify an image that is compatible with your instance type. The Hyper-V generation V2 images created by the installation program have a `-gen2` suffix, while V1 images have the same name without the suffix.
154
+
<7> Specify the region to place machines on.
155
+
<8> Specify the zone within your region to place machines on. Be sure that your region supports the zone that you specify.
155
156
ifdef::infra[]
156
-
<8> Specify a taint to prevent user workloads from being scheduled on infra nodes.
157
+
<9> Specify a taint to prevent user workloads from being scheduled on infra nodes.
0 commit comments