Skip to content

Commit 526b2de

Browse files
committed
2080366 adding compute notes to a UPI cluster on RHV, adding to topic map
1 parent 812302b commit 526b2de

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
@@ -1911,6 +1911,8 @@ Topics:
19111911
File: adding-aws-compute-user-infra
19121912
- Name: Adding compute machines to vSphere
19131913
File: adding-vsphere-compute-user-infra
1914+
- Name: Adding compute machines to a cluster on RHV
1915+
File: adding-rhv-compute-user-infra
19141916
- Name: Adding compute machines to bare metal
19151917
File: adding-bare-metal-compute-user-infra
19161918
- Name: Managing machines with the Cluster API
@@ -2091,7 +2093,7 @@ Topics:
20912093
Topics:
20922094
- Name: Adding worker nodes to single-node OpenShift clusters
20932095
File: nodes-sno-worker-nodes
2094-
---
2096+
---
20952097
Name: Windows Container Support for OpenShift
20962098
Dir: windows_containers
20972099
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)