Skip to content

Commit 44a0668

Browse files
authored
Merge pull request #72757 from fmcdonal/OSDOCS-9780
OSDOCS#9780: Create machine pool (day 2), select a subnet
2 parents c99ea97 + 913f43a commit 44a0668

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)