Skip to content

Commit 7d3a403

Browse files
committed
update MP docs for AZ
1 parent 4b49830 commit 7d3a403

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ $ rosa create machinepool --cluster=<cluster-name> \
3030
--spot-max-price=0.5 \ <7>
3131
ifdef::openshift-rosa[]
3232
--disk-size=<disk_size> <8>
33+
--availability-zone=<az> <9>
34+
3335
endif::openshift-rosa[]
3436
----
3537
<1> Specifies the name of the machine pool. Replace `<machine_pool_id>` with the name of your machine pool.
@@ -40,7 +42,8 @@ endif::openshift-rosa[]
4042
<6> Optional: Configures your machine pool to deploy machines as non-guaranteed AWS Spot Instances. For information, see link:https://aws.amazon.com/ec2/spot/[Amazon EC2 Spot Instances] in the AWS documentation. If you select *Use Amazon EC2 Spot Instances* for a machine pool, you cannot disable the option after the machine pool is created.
4143
<7> Optional: If you have opted to use Spot Instances, you can specify this argument to define a maximum hourly price for a Spot Instance. If this argument is not specified, the on-demand price is used.
4244
ifdef::openshift-rosa[]
43-
<8> Optional: Specifies the worker node disk size. The value can be in GB, GiB, TB, or TiB. Replace '<disk_size>' with a numeric value and unit, for example '--disk-size=200GiB'.
45+
<8> Optional: Specifies the worker node disk size. The value can be in GB, GiB, TB, or TiB. Replace `<disk_size>` with a numeric value and unit, for example `--disk-size=200GiB`.
46+
<9> Optional: For Multi-AZ clusters, you can create a machine pool in a Single-AZ of your choice. Replace `<az>` with a Single-AZ.
4447
endif::openshift-rosa[]
4548
+
4649
[IMPORTANT]
@@ -76,6 +79,7 @@ $ rosa create machinepool --cluster=<cluster-name> \
7679
--taints=<key>=<value>:<effect>,<key>=<value>:<effect> \ <6>
7780
--use-spot-instances \ <7>
7881
--spot-max-price=0.5 <8>
82+
--availability-zone=<az> <9>
7983
----
8084
<1> Specifies the name of the machine pool. Replace `<machine_pool_id>` with the name of your machine pool.
8185
<2> Enables autoscaling in the machine pool to meet the deployment needs.
@@ -85,6 +89,7 @@ $ rosa create machinepool --cluster=<cluster-name> \
8589
<6> Optional: Defines the taints for the machine pool. Replace `<key>=<value>:<effect>,<key>=<value>:<effect>` with a key, value, and effect for each taint, for example `--taints=key1=value1:NoSchedule,key2=value2:NoExecute`. Available effects include `NoSchedule`, `PreferNoSchedule`, and `NoExecute`.
8690
<7> Optional: Configures your machine pool to deploy machines as non-guaranteed AWS Spot Instances. For information, see link:https://aws.amazon.com/ec2/spot/[Amazon EC2 Spot Instances] in the AWS documentation. If you select *Use Amazon EC2 Spot Instances* for a machine pool, you cannot disable the option after the machine pool is created.
8791
<8> Optional: If you have opted to use Spot Instances, you can specify this argument to define a maximum hourly price for a Spot Instance. If this argument is not specified, the on-demand price is used.
92+
<9> Optional: For Multi-AZ clusters, you can create a machine pool in a Single-AZ of your choice. Replace `<az>` with a Single-AZ.
8893
+
8994
[IMPORTANT]
9095
====

modules/osd-create-cluster-gcp-account.adoc

Whitespace-only changes.

rosa_cluster_admin/rosa_nodes/rosa-nodes-machinepools-about.adoc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,14 @@ Multiple machine pools can exist on a single cluster, and each machine pool can
4848
In a cluster created across multiple Availability Zones (AZ), the machine pools can be created across either all of the three AZs or any single AZ of your choice. The machine pool created by default at the time of cluster creation will be created with machines in all three AZs and scale in multiples of three.
4949

5050

51-
If you create a new Multi-AZ cluster, the machine pools are replicated to those zones automatically. If you add a machine pool to an existing Multi-AZ, the new pool is automatically created in those zones. Similarly, deleting a machine pool will delete it from all zones.
51+
If you create a new Multi-AZ cluster, the machine pools are replicated to those zones automatically. By default, if you add a machine pool to an existing Multi-AZ cluster, the new machine pool is automatically created in all of the zones.
52+
53+
[NOTE]
54+
====
55+
You can override this default setting and create a machine pool in a Single-AZ of your choice.
56+
====
57+
58+
Similarly, deleting a machine pool will delete it from all zones.
5259
Due to this multiplicative effect, using machine pools in Multi-AZ cluster can consume more of your project's quota for a specific region when creating machine pools.
5360

5461
== Additional resources

0 commit comments

Comments
 (0)