You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/creating-a-machine-pool-cli.adoc
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ $ rosa create machinepool --cluster=<cluster-name> \
30
30
--spot-max-price=0.5 \ <7>
31
31
ifdef::openshift-rosa[]
32
32
--disk-size=<disk_size> <8>
33
+
--availability-zone=<az> <9>
34
+
33
35
endif::openshift-rosa[]
34
36
----
35
37
<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[]
40
42
<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.
41
43
<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.
42
44
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.
44
47
endif::openshift-rosa[]
45
48
+
46
49
[IMPORTANT]
@@ -76,6 +79,7 @@ $ rosa create machinepool --cluster=<cluster-name> \
<1> Specifies the name of the machine pool. Replace `<machine_pool_id>` with the name of your machine pool.
81
85
<2> Enables autoscaling in the machine pool to meet the deployment needs.
@@ -85,6 +89,7 @@ $ rosa create machinepool --cluster=<cluster-name> \
85
89
<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`.
86
90
<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.
87
91
<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.
Copy file name to clipboardExpand all lines: rosa_cluster_admin/rosa_nodes/rosa-nodes-machinepools-about.adoc
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,14 @@ Multiple machine pools can exist on a single cluster, and each machine pool can
48
48
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.
49
49
50
50
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.
52
59
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.
0 commit comments