Skip to content

Commit 3039c5b

Browse files
committed
OSDOCS-12593:ROSA-HCP support Windows LI for CNV - GA.
1 parent 54c837f commit 3039c5b

File tree

5 files changed

+118
-19
lines changed

5 files changed

+118
-19
lines changed
Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * rosa_cluster_admin/rosa_nodes/rosa-managing-worker-nodes.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="creating_a_machine_pools_cli_win_li_{context}"]
7+
= Creating a machine pool with AWS Windows License Included enabled using the {rosa-cli}
8+
9+
[role="_abstract"]
10+
If you are using {VirtProductName} on a {product-title} cluster running Windows VMs you need to be license-compliant with Microsoft Windows in AWS. The hosts (AMD64 bare metal EC2 instances) running these VMs must be enabled with AWS EC2 Windows License Included (LI).
11+
12+
[IMPORTANT]
13+
====
14+
Enabling AWS Windows LI on a machine pool applies the associated licensing fees on that specific machine pool. This includes billing for the full vCPU allocation of each AWS Windows LI enabled host in your {product-title} cluster. Windows LI enabled machine pools will also deny vCPU over-allocation on {VirtProductName} VMs. For more information, see link:https://aws.amazon.com/windows/resources/licensing//[Microsoft Licensing on AWS].
15+
====
16+
17+
.Prerequisites
18+
19+
* You installed and configured the {rosa-cli} version 1.2.58 or above.
20+
* You logged in to your Red{nbsp}Hat account using the {rosa-cli}.
21+
* You created a {product-title} cluster version 4.19 or above.
22+
* You identified an AMD64 bare-metal EC2 instance type to use {VirtProductName}. For more, see link:https://aws.amazon.com/ec2/instance-types/#Bare_metal[Amazon EC2 Instance Types].
23+
* You are in compliance with Microsoft and AWS requirements for the Microsoft licenses and associated costs.
24+
25+
26+
.Procedure
27+
28+
* To add a Windows LI enabled machine pool to a {product-title} cluster, create the machine pool with the following definitions:
29+
+
30+
[source,terminal]
31+
----
32+
$ rosa create machinepool --cluster=<cluster-name> \
33+
--name=<machine_pool_id> \
34+
--replicas=<replica_count> \
35+
--instance-type=<instance_type> \
36+
--type=<image_type>
37+
----
38+
where:
39+
40+
`--name=<machine_pool_id>`:: Specifies the name of the machine pool. Replace `<machine_pool_id>` with the name of your machine pool.
41+
`--replicas=<replica_count>`:: Specifies the number of compute nodes to provision. If you deployed {product-title} 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.
42+
`--instance-type=<instance_type>`:: Specifies the instance type. You can only select an AMD64 bare-metal instance type to enable Windows LI. For example, you can use `m5zn.metal` or `i3.metal`. You cannot change the instance type for a machine pool after the pool is created.
43+
`--type=<type>`:: You must specify `Windows` to ensure the machine pool is created with Windows LI enabled.
44+
+
45+
The following command creates a Windows LI enabled machine pool called `mymachinepool` using the `m5zn.metal` instance type with 1 compute node replica:
46+
+
47+
[source,terminal]
48+
----
49+
$ rosa create machinepool --cluster=mycluster --name=mymachinepool --type=Windows --instance-type=m5zn.metal --replicas=1
50+
----
51+
+
52+
.Example output
53+
[source,terminal]
54+
----
55+
I: Machine pool 'mymachinepool' created successfully on cluster 'mycluster'
56+
I: To view all machine pools, run 'rosa list machinepools -c mycluster'
57+
----
58+
59+
.Verification
60+
61+
. List the available machine pools on your cluster by running the following command:
62+
+
63+
[source,terminal]
64+
----
65+
$ rosa list machinepools --cluster=<cluster_name>
66+
----
67+
+
68+
. Describe the information of a specific machine pool in your cluster:
69+
+
70+
[source,terminal]
71+
----
72+
$ rosa describe machinepool --cluster=<cluster_name> --machinepool=mymachinepool
73+
----
74+
+
75+
The output has the image type set to `Windows` as shown in the following example:
76+
+
77+
.Example output
78+
[source,terminal]
79+
----
80+
ID: mymachinepool
81+
Cluster ID: mycluster
82+
Autoscaling: No
83+
Desired replicas: 1
84+
Current replicas: 1
85+
Instance type: m5zn.metal
86+
Image type: Windows
87+
Labels:
88+
Tags:
89+
Taints:
90+
Availability zone: us-east-1a
91+
Subnet: <subnet-id>
92+
Disk Size: 300 GiB
93+
Version: 4.19.18
94+
EC2 Metadata Http Tokens: optional
95+
Autorepair: Yes
96+
Tuning configs:
97+
Kubelet configs:
98+
Additional security group IDs:
99+
Node drain grace period:
100+
----

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

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -200,22 +200,6 @@ endif::openshift-rosa-hcp[]
200200
I: To view all machine pools, run 'rosa list machinepools -c mycluster'
201201
----
202202

203-
//ifdef::openshift-rosa-hcp[] Uncomment this out once HCP split occurs
204-
* To add a Windows License Included enabled machine pool to a {product-title} cluster, see link:https://access.redhat.com/articles/7096903[AWS Windows License Included for {product-title}].
205-
+
206-
Windows License Included enabled machine pools can only be created when the following criteria is met:
207-
208-
** The host cluster is a {product-title} cluster.
209-
** The instance type is bare metal EC2.
210-
+
211-
[IMPORTANT]
212-
====
213-
AWS Windows License Included for {product-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.
214-
215-
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].
216-
====
217-
//endif::openshift-rosa-hcp[] Uncomment this out once HCP split occurs
218-
219203
.Verification
220204

221205
You can list all machine pools on your cluster or describe individual machine pools.
@@ -262,6 +246,7 @@ Cluster ID: 27iimopsg1mge0m81l0sqivkne2qu6dr
262246
Autoscaling: Yes
263247
Replicas: 3-6
264248
Instance type: m5.xlarge
249+
Image type: Windows
265250
Labels: app=db, tier=backend
266251
Taints:
267252
Availability zones: us-east-1a, us-east-1b, us-east-1c

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

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,17 @@ endif::openshift-rosa,openshift-rosa-hcp[]
5959
====
6060
You cannot change the instance type for a machine pool after the pool is created.
6161
====
62-
62+
//Commenting out until this HCP feature is available in the OCM UI
63+
//ifdef::openshift-rosa-hcp[]
64+
//. Optional: If you are using {VirtProductName} on a {product-title} cluster, you might want to run Windows VMs. In order to be license-compliant with Microsoft Windows in AWS, the hosts (AMD64 bare-metal EC2 instances) running these VMs must 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.
65+
//+
66+
//You can only select this option when the host cluster is a {product-title} cluster version 4.19 and later and the instance type is AMD64 bare metal EC2.
67+
//+
68+
//[IMPORTANT]
69+
//====
70+
//Enabling AWS Windows LI on a machine pool applies the associated licensing fees on that specific machine pool. This includes billing for the full vCPU allocation of each AWS Windows LI enabled host in your {product-title} cluster. Windows LI enabled machine pools will also deny vCPU over-allocation on {VirtProductName} VMs. For more information, see link:https://aws.amazon.com/windows/resources/licensing//[Microsoft Licensing on AWS].
71+
//====
72+
//endif::openshift-rosa-hcp[]
6373
. Optional: Configure autoscaling for the machine pool:
6474
.. Select *Enable autoscaling* to automatically scale the number of machines in your machine pool to meet the deployment needs.
6575
ifdef::openshift-dedicated[]

modules/rosa-release-notes-Q4-2025.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
[id="rosa-q4-2025_{context}"]
66
= Q4 2025
77

8-
[role="_abstract"]
8+
[role="_abstract"]
99
The following items were added during the fourth quarter of 2025.
1010

11+
ifdef::openshift-rosa-hcp[]
12+
* **AWS Windows License Included now available for {product-title}.** You can now add a Windows License Included enabled machine pool to a {product-title} cluster. For more information, see link:https://docs.redhat.com/en/documentation/red_hat_openshift_service_on_aws/4/html/cluster_administration/managing-compute-nodes-using-machine-pools#creating_a_machine_pools_cli_win_li[Creating a machine pool with AWS Windows License Included enabled using the {rosa-cli}].
13+
endif::openshift-rosa-hcp[]
14+
1115
//* ** AWS GovCloud.**
1216
//The Amazon Web Services (AWS) GovCloud service is now available and for use by federal and government agencies, or by commercial organizations and Federal Information Security Modernization Act (FISMA) R&D Universities supporting a government contract or in the process of bidding on a government contract such as a request for proposal (RFP) or request for information (RFI) pre-bid stage.
1317
//For more information, see
@@ -23,7 +27,6 @@ ifdef::openshift-rosa-hcp[]
2327
{product-title} now supports ImageDigestMirrorSets (IDMS), enabling clusters to redirect image pulls to a private, mirrored registry. This critical enhancement means customers in air-gapped or restricted networks can host their own mirrors for third-party images while satisfying strict security and compliance requirements. For more information, see xref:../openshift_images/image-configuration-hcp.adoc#images-registry-mirroring_image-configuration-hcp[Image registry mirroring for {product-title}].
2428
endif::openshift-rosa-hcp[]
2529

26-
2730
* **New version of {product-title} available.** {product-title} version 4.20 is now available for new clusters.
2831
2932
ifdef::openshift-rosa-hcp[]

rosa_cluster_admin/rosa_nodes/rosa-managing-worker-nodes.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ include::modules/creating-a-machine-pool-ocm.adoc[leveloffset=+2]
4040
include::modules/creating-a-machine-pool-cli.adoc[leveloffset=+2]
4141
//OSDOCS-14809: Adding a separate module about Capacity Reservations. This might be a temporary solution since this module largely reuses content from modules/creating-a-machine-pool-cli.adoc. We might consider restructuring content from these 2 modules to meet ContentX and DITA migration goals.
4242
ifdef::openshift-rosa-hcp[]
43+
include::modules/creating-a-machine-pool-cli-win-li.adoc[leveloffset=+2]
4344
include::modules/creating-a-machine-pool-cli-capres.adoc[leveloffset=+2]
4445
endif::openshift-rosa-hcp[]
4546

0 commit comments

Comments
 (0)