Skip to content

Commit 913f43a

Browse files
committed
added new callout for subnet machine pool
1 parent 931622e commit 913f43a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ ifdef::openshift-rosa[]
3333
--disk-size=<disk_size> <8>
3434
--availability-zone=<availability_zone_name> <9>
3535
--additional-security-group-ids <sec_group_id> <10>
36+
--subnet string <11>
3637
3738
endif::openshift-rosa[]
3839
----
@@ -66,6 +67,25 @@ For fault-tolerant worker machine pools, choosing a Multi-AZ machine pool distri
6667
* A Single-AZ machine pool with one availability zone can have a machine count in multiples of 1, such as 1,2,3,4 and so on.
6768
====
6869
<10> Optional: For machine pools in clusters that do not have Red Hat managed VPCs, you can select additional custom security groups to use in your machine pools. You must have already created the security groups and associated them with the VPC that you selected for this cluster. You cannot add or edit security groups after you create the machine pool. For more information, see the requirements for security groups in the "Additional resources" section.
70+
<11> Optional: For BYO VPC clusters, you can select a subnet to create a Single-AZ machine pool.
71+
If the subnet is out of your cluster creation subnets, there must be a tag with a key `kubernetes.io/cluster/<infra-id>` and value `shared`.
72+
Customers can obtain the Infra ID by using the following command:
73+
+
74+
[source,terminal]
75+
----
76+
$ rosa describe cluster -c <cluster name>|grep "Infra ID:"
77+
----
78+
+
79+
.Example output
80+
[source,terminal]
81+
----
82+
Infra ID: mycluster-xqvj7
83+
----
84+
+
85+
[NOTE]
86+
====
87+
You cannot set both `--subnet` and `--availability-zone` at the same time, only 1 is allowed for a Single-AZ machine pool creation.
88+
====
6989
endif::openshift-rosa[]
7090
--
7191
+

0 commit comments

Comments
 (0)