Skip to content

Commit 1ad928d

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

File tree

2 files changed

+35
-11
lines changed

2 files changed

+35
-11
lines changed

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

Lines changed: 27 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -196,19 +196,36 @@ 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 --cluster=<cluster-name> \
204+
--min-replicas=<minimum_replica_count> \
205+
--max-replicas=<maximum_replica_count> \
206+
--instance-type= \
207+
--type win-li
208+
----
209+
where:
202210
203-
** The host cluster is a {hcp-title} cluster.
204-
** The instance type is bare metal EC2.
211+
`--name=<machine_pool_id>`:: Specifies the name of the machine pool. Replace `<machine_pool_id>` with the name of your machine pool.
212+
`--min-replicas=<minimum_replica_count>` and `--max-replicas=<maximum_replica_count>`:: Defines the autoscaling limits in the machine pool for the availability zone.
213+
`--instance-type=<instance_type>`:: Specifies the instance type. You can only select a bare-metal instance type to enable Windows LI.(x86-64).
214+
`--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.
205215
+
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-
====
216+
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:
217+
+
218+
[source,terminal]
219+
----
220+
$ rosa create machinepool --cluster=mycluster --name=mymachinepool --replicas=2 --instance-type=$BAREMETALINSTANCE --labels=ImageType=Windows
221+
----
222+
+
223+
.Example output
224+
[source,terminal]
225+
----
226+
I: Machine pool 'mymachinepool' created successfully on cluster 'mycluster'
227+
I: To view all machine pools, run 'rosa list machinepools -c mycluster'
228+
----
212229
//endif::openshift-rosa-hcp[] Uncomment this out once HCP split occurs
213230

214231
.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)