Skip to content

Commit a4b1dda

Browse files
authored
Merge pull request #49501 from emarcusRH/2080366
BZ#2080366 procedure for adding compute nodes to a UPI cluster on RHV
2 parents d930d00 + 526b2de commit a4b1dda

File tree

4 files changed

+55
-1
lines changed

4 files changed

+55
-1
lines changed

_topic_maps/_topic_map.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1913,6 +1913,8 @@ Topics:
19131913
File: adding-aws-compute-user-infra
19141914
- Name: Adding compute machines to vSphere
19151915
File: adding-vsphere-compute-user-infra
1916+
- Name: Adding compute machines to a cluster on RHV
1917+
File: adding-rhv-compute-user-infra
19161918
- Name: Adding compute machines to bare metal
19171919
File: adding-bare-metal-compute-user-infra
19181920
- Name: Managing machines with the Cluster API
@@ -2093,7 +2095,7 @@ Topics:
20932095
Topics:
20942096
- Name: Adding worker nodes to single-node OpenShift clusters
20952097
File: nodes-sno-worker-nodes
2096-
---
2098+
---
20972099
Name: Windows Container Support for OpenShift
20982100
Dir: windows_containers
20992101
Distros: openshift-origin,openshift-enterprise

machine_management/user_infra/adding-compute-user-infra-general.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ To add more compute machines to your {product-title} cluster on Google Cloud Pla
3333

3434
To add more compute machines to your {product-title} cluster on vSphere, see xref:../../machine_management/user_infra/adding-vsphere-compute-user-infra.adoc#adding-vsphere-compute-user-infra[Adding compute machines to vSphere].
3535

36+
[id="upi-adding-compute-rhv"]
37+
== Adding compute machines to {rh-virtualization}
38+
39+
To add more compute machines to your {product-title} cluster on {rh-virtualization}, see xref:../../machine_management/user_infra/adding-rhv-compute-user-infra.adoc#adding-rhv-compute-user-infra[Adding compute machines to {rh-virtualization}].
40+
3641
[id="upi-adding-compute-bare-metal"]
3742
== Adding compute machines to bare metal
3843

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Assembly included in the following assemblies:
2+
// * machine_management/user_infra/adding-compute-user-infra-general.adoc
3+
4+
:_content-type: ASSEMBLY
5+
[id="adding-rhv-compute-user-infra"]
6+
= Adding compute machines to a cluster on {rh-virtualization}
7+
include::_attributes/common-attributes.adoc[]
8+
:context: adding-rhv-compute-user-infra
9+
10+
toc::[]
11+
12+
In {product-title} version {product-version}, you can add more compute machines to a user-provisioned {product-title} cluster on {rh-virtualization}.
13+
14+
.Prerequisites
15+
16+
* You installed a cluster on {rh-virtualization} with user-provisioned infrastructure.
17+
18+
include::modules/machine-user-provisioned-rhv.adoc[leveloffset=+1]
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
// Module included in the following assemblies:
2+
// * machine_management/user_infra/adding-rhv-compute-user-infra.adoc
3+
4+
:_content-type: PROCEDURE
5+
[id="machine-user-provisioned-rhv_{context}"]
6+
= Adding more compute machines to a cluster on {rh-virtualization}
7+
8+
.Procedure
9+
10+
. Modify the `inventory.yml` file to include the new workers.
11+
. Run the `create-templates-and-vms` Ansible playbook to create the disks and virtual machines:
12+
+
13+
[source,terminal]
14+
----
15+
$ ansible-playbook -i inventory.yml create-templates-and-vms.yml
16+
----
17+
. Run the `workers.yml` Ansible playbook to start the virtual machines:
18+
+
19+
[source,terminal]
20+
----
21+
$ ansible-playbook -i inventory.yml workers.yml
22+
----
23+
. CSRs for new workers joining the cluster must be approved by the administrator.
24+
The following command helps to approve all pending requests:
25+
+
26+
[source,terminal]
27+
----
28+
$ oc get csr -ojson | jq -r '.items[] | select(.status == {} ) | .metadata.name' | xargs oc adm certificate approve
29+
----

0 commit comments

Comments
 (0)