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-ocm.adoc
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ifdef::openshift-rosa[]
14
14
endif::openshift-rosa[]
15
15
16
16
ifndef::openshift-rosa[]
17
-
A default machine pool is created when you install an {product-title} cluster. After installation, you can create additional machine pools for your cluster by using {cluster-manager}.
17
+
A machine pool is created when you install an {product-title} cluster. After installation, you can create additional machine pools for your cluster by using {cluster-manager}.
18
18
endif::openshift-rosa[]
19
19
ifdef::openshift-rosa[]
20
20
You can create additional machine pools for your {product-title} (ROSA) cluster by using {cluster-manager}.
@@ -23,12 +23,12 @@ endif::openshift-rosa[]
23
23
ifndef::openshift-rosa[]
24
24
[IMPORTANT]
25
25
====
26
-
The compute (also known as worker) node instance types, autoscaling options, and node counts that are available to you depend on your
26
+
The compute (also known as worker) node instance types, autoscaling options, and node counts that are available depend on your
27
27
ifdef::openshift-rosa[]
28
-
ROSA
28
+
ROSA
29
29
endif::openshift-rosa[]
30
30
ifndef::openshift-rosa[]
31
-
{product-title}
31
+
{product-title}
32
32
endif::[]
33
33
subscriptions, resource quotas and deployment scenario. For more information, contact your sales representative or Red Hat support.
34
34
====
@@ -86,6 +86,11 @@ endif::openshift-rosa[]
86
86
.. Expand the *Edit node labels and taints* menu.
87
87
.. Under *Node labels*, add *Key* and *Value* entries for your node labels.
88
88
.. Under *Taints*, add *Key* and *Value* entries for your taints.
89
+
+
90
+
[NOTE]
91
+
====
92
+
Creating a machine pool with taints is only possible if the cluster already has at least one machine pool without a taint.
93
+
====
89
94
.. For each taint, select an *Effect* from the drop-down menu. Available options include `NoSchedule`, `PreferNoSchedule`, and `NoExecute`.
Copy file name to clipboardExpand all lines: modules/creating-a-machine-pool.adoc
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,4 +6,8 @@
6
6
[id="creating_a_machine_pool_{context}"]
7
7
= Creating a machine pool
8
8
9
-
A default machine pool is created when you install a {product-title} (ROSA) cluster. After installation, you can create additional machine pools for your cluster by using {cluster-manager} or the ROSA CLI (`rosa`).
9
+
A machine pool is created when you install a {product-title} (ROSA) cluster. After installation, you can create additional machine pools for your cluster by using {cluster-manager} or the ROSA CLI (`rosa`).
10
+
[NOTE]
11
+
====
12
+
For users of ROSA CLI `rosa` version 1.2.25 and earlier versions, the machine pool created along with the cluster is identified as `Default`. For users of ROSA CLI `rosa` version 1.2.26 and later, the machine pool created along with the cluster is identified as `worker`.
Copy file name to clipboardExpand all lines: modules/deleting-machine-pools-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
@@ -7,12 +7,17 @@
7
7
= Deleting a machine pool using the ROSA CLI
8
8
You can delete a machine pool for your Red Hat OpenShift Service on AWS (ROSA) cluster by using the ROSA CLI.
9
9
10
+
[NOTE]
11
+
====
12
+
For users of ROSA CLI `rosa` version 1.2.25 and earlier versions, the machine pool (ID='Default') that is created along with the cluster cannot be deleted. For users of ROSA CLI `rosa` version 1.2.26 and later, the machine pool (ID='worker') that is created along with the cluster can be deleted as long as there is one machine pool within the cluster that contains no taints, and at least two replicas for a Single-AZ cluster or three replicas for a Multi-AZ cluster.
13
+
====
14
+
10
15
.Prerequisites
11
16
12
17
ifdef::openshift-rosa[]
13
18
* You created a ROSA cluster.
14
19
* The cluster is in the ready state.
15
-
* You have an existing machine pool without any taints and with at least two instances for a single-AZ cluster or three instances for a multi-AZ cluster.
20
+
* You have an existing machine pool without any taints and with at least two instances for a Single-AZ cluster or three instances for a Multi-AZ cluster.
Copy file name to clipboardExpand all lines: modules/deleting-machine-pools.adoc
+3-11Lines changed: 3 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@
7
7
= Deleting a machine pool
8
8
9
9
You can delete a machine pool in the event that your workload requirements have changed and your current machine pools no longer meet your needs.
10
-
// Over time, users may find that their workload needs have changed, and may want to modify the various machine pool settings. While many of these settings can be modified, certain settings (for example, instance types and availability zones) cannot be changed once a machine pool is created. If a user finds that these settings are no longer meeting their needs, they can delete the machine pool in question and create a new machine pool with the desired settings.
10
+
11
11
12
12
You can delete machine pools using the
13
13
ifdef::openshift-rosa[]
@@ -16,21 +16,13 @@ endif::openshift-rosa[]
16
16
ifndef::openshift-rosa[]
17
17
Openshift Cluster Manager.
18
18
endif::[]
19
-
20
-
[NOTE]
21
-
====
22
-
The default machine pool cannot be deleted.
23
-
====
24
-
25
-
// Users that wish to delete the default machine pool that is automatically created during the installation of a {product-title} (ROSA) cluster can do so using the OCM or ROSA CLI.
26
-
//
27
-
28
19
ifndef::openshift-rosa[]
20
+
29
21
.Prerequisites
30
22
31
23
* You have created an {product-title} cluster.
32
24
* The cluster is in the ready state.
33
-
* You have an existing machine pool without any taints and with at least two instances for a single-AZ cluster or three instances for a multi-AZ cluster.
25
+
* You have an existing machine pool without any taints and with at least two replicas for a Single-AZ cluster or three replicas for a Multi-AZ cluster.
34
26
35
27
.Procedure
36
28
. From {cluster-manager-url}, navigate to the *Clusters* page and select the cluster that contains the machine pool that you want to delete.
Copy file name to clipboardExpand all lines: modules/rosa-adding-taints-cli.adoc
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@
10
10
11
11
You can add taints to a machine pool for your Red Hat OpenShift Service on AWS (ROSA) cluster by using the ROSA CLI.
12
12
13
+
[NOTE]
14
+
====
15
+
For users of ROSA CLI `rosa` version 1.2.25 and prior versions, the number of taints cannot be changed within the machine pool (ID=`Default`) created along with the cluster. For users of ROSA CLI `rosa` version 1.2.26 and beyond, the number of taints can be changed within the machine pool (ID=`worker`) created along with the cluster. There must be at least one machine pool without any taints and with at least two replicas for a Single-AZ cluster or three replicas for a Multi-AZ cluster.
Copy file name to clipboardExpand all lines: rosa_cluster_admin/rosa_nodes/rosa-nodes-machinepools-about.adoc
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,24 +27,26 @@ Machine pools are a higher level construct to compute machine sets.
27
27
28
28
A machine pool creates compute machine sets that are all clones of the same configuration across availability zones. Machine pools perform all of the host node provisioning management actions on a worker node. If you need more machines or must scale them down, change the number of replicas in the machine pool to meet your compute needs. You can manually configure scaling or set autoscaling.
29
29
30
-
By default, a cluster has one machine pool. During cluster installation, you can label this machine pool. After the cluster is installed, the `Default` machine pool cannot be deleted, and its node type or size cannot be changed.
30
+
By default, a cluster has one machine pool. During cluster installation, you can define instance type or size and add labels to this machine pool.
31
31
32
32
After a cluster's installation:
33
33
34
-
* You can relabel a `Default` machine pool.
34
+
* You can remove or add labels to any machine pool.
35
35
* You can add additional machine pools to an existing cluster.
36
+
* You can add taints to any machine pool as long as there is one machine pool without any taints.
37
+
* You can create or delete a machine pool as long as there is one machine pool without any taints and at least two replicas for a Single-AZ cluster or three replicas for a Multi-AZ cluster.
36
38
+
37
39
[NOTE]
38
40
====
39
41
You cannot change the machine pool node type or size. The machine pool node type or size is specified during their creation only. If you need a different node type or size, you must re-create a machine pool and specify the required node type or size values.
40
42
====
41
43
* You can add a label to each added machine pool.
42
-
* You cannot delete the `Default` machine pool. However, you can delete the non-default machine pools.
43
44
44
45
Multiple machine pools can exist on a single cluster, and each machine pool can contain a unique node type and node size configuration.
45
46
46
47
== Machine pools in multiple zone clusters
47
-
When you create a machine pool in a multiple availability zone (Multi-AZ) cluster, that one machine pool has 3 zones. The machine pool, in turn, creates a total of 3 compute machine sets - one for each zone in the cluster. Each of those compute machine sets manages one or more machines in its respective availability zone.
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
+
48
50
49
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.
50
52
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