Skip to content

Commit 005fba0

Browse files
committed
OSDOCS-New-add-machine-pool-Win-LI.
1 parent babd80d commit 005fba0

File tree

2 files changed

+30
-11
lines changed

2 files changed

+30
-11
lines changed

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

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,19 +196,31 @@ 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 Licence 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+
* 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.
200200
+
201-
Windows Licence Included enabled machine pools can only be created when the following criteria is met:
201+
[source,terminal]
202+
----
203+
$ rosa create machinepool --instance-type=BAREMETAL --type=win-li
204+
----
205+
where:
202206
203-
** The host cluster is a {hcp-title} cluster.
204-
** The instance type is bare metal EC2.
207+
`--name=<machine_pool_id>`:: Specifies the name of the machine pool. Replace `<machine_pool_id>` with the name of your machine pool.
208+
`--instance-type=<instance_type>`:: Specifies the instance type. You can only select a bare-metal instance type to enable Windows LI.(x86-64).
209+
`--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.
205210
+
206-
[IMPORTANT]
207-
====
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].
211-
====
211+
The following example creates a machine pool with Windows License LI enabled called `mymachinepool` that uses the `bare-metal` instance type and has 2 compute node replicas:
212+
+
213+
[source,terminal]
214+
----
215+
$ rosa create machinepool --cluster=mycluster --name=mymachinepool --replicas=2 --instance-type=BAREMETALINSTANCE --type=win-li
216+
----
217+
+
218+
.Example output
219+
[source,terminal]
220+
----
221+
I: Machine pool 'mymachinepool' created successfully on cluster 'mycluster'
222+
I: To view all machine pools, run 'rosa list machinepools -c mycluster'
223+
----
212224
//endif::openshift-rosa-hcp[] Uncomment this out once HCP split occurs
213225

214226
.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: 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} cluster and the instance type is bare metal EC2.
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)