Skip to content

Commit f6754f0

Browse files
committed
OSDOCS-New-add-machine-pool-Win-LI.
1 parent 992e045 commit f6754f0

File tree

2 files changed

+40
-9
lines changed

2 files changed

+40
-9
lines changed

modules/creating-a-machine-pool-cli.adoc

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,19 +196,43 @@ I: To view all machine pools, run 'rosa list machinepools -c mycluster'
196196
----
197197

198198
//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.
200200
+
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.
205202
+
206203
[IMPORTANT]
207204
====
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.
211206
====
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:
224+
+
225+
[source,terminal]
226+
----
227+
$ rosa create machinepool --cluster=mycluster --name=mymachinepool --tags image_type:windows --instance-type m5zn.metal --replicas 1
228+
----
229+
+
230+
.Example output
231+
[source,terminal]
232+
----
233+
I: Machine pool 'mymachinepool' created successfully on cluster 'mycluster'
234+
I: To view all machine pools, run 'rosa list machinepools -c mycluster'
235+
----
212236
//endif::openshift-rosa-hcp[] Uncomment this out once HCP split occurs
213237

214238
.Verification

modules/creating-a-machine-pool-ocm.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,16 @@ endif::openshift-rosa,openshift-rosa-hcp[]
5757
====
5858
You cannot change the instance type for a machine pool after the pool is created.
5959
====
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+
====
6167
. Optional: Configure autoscaling for the machine pool:
6268
.. Select *Enable autoscaling* to automatically scale the number of machines in your machine pool to meet the deployment needs.
69+
endif::openshift-rosa,openshift-rosa-hcp[]
6370
ifdef::openshift-dedicated[]
6471
+
6572
[NOTE]

0 commit comments

Comments
 (0)