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
Copy file name to clipboardExpand all lines: modules/creating-a-machine-pool-cli.adoc
+32-8Lines changed: 32 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -196,19 +196,43 @@ I: To view all machine pools, run 'rosa list machinepools -c mycluster'
196
196
----
197
197
198
198
//ifdef::openshift-rosa-hcp[] Uncomment this out once HCP split occurs
199
-
* To add a Windows License Included enabled machine pool to a {hcp-title} cluster, see link:https://access.redhat.com/articles/7096903[AWS Windows License Included for ROSA with HCP].
199
+
* If you are using {VirtProductName} on a {hcp-title} cluster, you might want to run Windows VMs. In order to be license-compliant with Microsoft Windows in AWS, the hosts (metal EC2 instances) running these VMs need to be enabled with AWS EC2 Windows License Included.
200
200
+
201
-
Windows License Included enabled machine pools can only be created when the following criteria is met:
202
-
203
-
** The host cluster is a {hcp-title} cluster.
204
-
** The instance type is bare metal EC2.
201
+
To add a Windows Licence Included enabled machine pool to a {hcp-title} cluster, create the machine pool with the following instance type and labels.
205
202
+
206
203
[IMPORTANT]
207
204
====
208
-
AWS Windows License Included for {hcp-title} is a Technology Preview feature only. Technology Preview features are not supported with Red{nbsp}Hat production service level agreements (SLAs) and might not be functionally complete. Red{nbsp}Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
209
-
210
-
For more information about the support scope of Red{nbsp}Hat Technology Preview features, see link:https://access.redhat.com/support/offerings/techpreview/[Technology Preview Features Support Scope].
205
+
You can only add a Windows Licence Included enabled machine pool to a {hcp-title} 4.18 cluster and above, with a bare metal EC2 instance type, in the `us-west-2` region.
211
206
====
207
+
+
208
+
[source,terminal]
209
+
----
210
+
$ rosa create machinepool --cluster=<cluster-name> \
211
+
--name=<machine_pool_id> \
212
+
--replicas=<replica_count> \
213
+
--instance-type=<instance_type> \
214
+
--labels=<key>=<value>,<key>=<value> \
215
+
----
216
+
where:
217
+
218
+
`--name=<machine_pool_id>`:: Specifies the name of the machine pool. Replace `<machine_pool_id>` with the name of your machine pool.
219
+
`--replicas=<replica_count>`:: Specifies the number of compute nodes to provision. If you deployed ROSA using a single availability zone, this defines the number of compute nodes to provision to the machine pool for the zone. If you deployed your cluster using multiple availability zones, this defines the number of compute nodes to provision in total across all zones and the count must be a multiple of 3. The `--replicas` argument is required when autoscaling is not configured.
220
+
`--instance-type=<instance_type>`:: Specifies the instance type. You can only select a bare metal instance type to enable Windows LI.(x86-64).
221
+
`--labels=<key>=<value>,<key>=<value>`:: Defines the labels for the machine pool. Replace `<key>=<value>,<key>=<value>` with a comma-delimited list of key-value pairs, for example `--labels=key1=value1,key2=value2`. You must include the `image_type:windows` label to ensure the machine pool is created with Windows LI enabled.
222
+
+
223
+
The following example creates a machine pool with Windows License LI enabled called `mymachinepool` that uses the `bare-metal` instance type and has 1 compute node replica:
You cannot change the instance type for a machine pool after the pool is created.
59
59
====
60
-
60
+
ifdef::openshift-rosa,openshift-rosa-hcp[]
61
+
. Optional: If you are using {VirtProductName} on a {hcp-title} cluster, you might want to run Windows VMs. In order to be license-compliant with Microsoft Windows in AWS, the hosts (metal EC2 instances) running these VMs need to be enabled with AWS EC2 Windows License Included. To enable the machine pool for AWS Windows License Included, select the *Enable machine pool for AWS Windows License Included* checkbox.
62
+
+
63
+
[NOTE]
64
+
====
65
+
You can only select this option when the host cluster is a {hcp-title} 4.18 cluster and above, the instance type is bare metal EC2, and the region is `us-west-2`.
66
+
====
61
67
. Optional: Configure autoscaling for the machine pool:
62
68
.. Select *Enable autoscaling* to automatically scale the number of machines in your machine pool to meet the deployment needs.
0 commit comments