Skip to content

Commit ce11266

Browse files
Add conditional text to Horizontal scaling in EDA (#2402)
* Add conditional text to Horizontal scaling in EDA Add conditional content to con-hs-eda-controller.adoc to account for the differences between RPM and Container installations. Correct inventory file attributes for containerized installer in horizontal scaling content https://issues.redhat.com/browse/AAP-33624 * Updates based on peer review feedback
1 parent 205f95c commit ce11266

File tree

2 files changed

+21
-3
lines changed

2 files changed

+21
-3
lines changed

downstream/modules/platform/con-hs-eda-controller.adoc

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ With {EDAcontroller}, you can set up horizontal scaling for your events automati
77
The following node types are used in this deployment:
88

99
API node type:: Responds to the HTTP REST API of {EDAcontroller}.
10-
Worker node type:: Runs an {EDAName} worker, which is the component of Event-Driven Ansible that not only manages projects and activations, but also executes the activations themselves.
10+
Worker node type:: Runs an {EDAName} worker, which is the component of {EDAName} that not only manages projects and activations, but also executes the activations themselves.
1111
Hybrid node type:: Is a combination of the API node and the worker node.
1212

13-
The following example shows how you would set up an inventory file for horizontal scaling of {EDAcontroller} on {RHEL} VMs using the host group name `[automationedacontroller]` and the node type variable `eda_node_type`:
13+
// This content is used in RPM installation
14+
ifdef::aap-install[]
15+
The following example shows how you can set up an inventory file for horizontal scaling of {EDAcontroller} on {RHEL} VMs using the host group name `[automationedacontroller]` and the node type variable `eda_node_type`:
1416

1517
-----
1618
[automationedacontroller]
@@ -21,3 +23,19 @@ routable_hostname=automationedacontroller-api.example.com eda_node_type=api
2123
# worker node
2224
3.88.116.112 routable_hostname=automationedacontroller-api.example.com eda_node_type=worker
2325
-----
26+
endif::aap-install[]
27+
28+
// This content is used in Containerized installation
29+
ifdef::container-install[]
30+
The following example shows how you can set up an inventory file for horizontal scaling of {EDAcontroller} on {RHEL} VMs using the host group name `[automationeda]` and the node type variable `eda_node_type`:
31+
32+
-----
33+
[automationeda]
34+
35+
3.88.116.111
36+
routable_hostname=automationeda-api.example.com eda_node_type=api
37+
38+
# worker node
39+
3.88.116.112 routable_hostname=automationeda-api.example.com eda_node_type=worker
40+
-----
41+
endif::container-install[]

downstream/titles/aap-containerized-install/master.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:imagesdir: images
22
:toclevels: 4
33
:experimental:
4-
4+
:container-install:
55

66
include::attributes/attributes.adoc[]
77

0 commit comments

Comments
 (0)