Skip to content

Commit 0363f40

Browse files
sr1kar99openshift-cherrypick-robot
authored andcommitted
OSDOCS#15472: Configuring TNA with agent-based installer
1 parent 1082c7e commit 0363f40

File tree

3 files changed

+105
-0
lines changed

3 files changed

+105
-0
lines changed

installing/installing_with_agent_based_installer/installing-with-agent-based-installer.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ include::modules/installing-ocp-agent-boot.adoc[leveloffset=+2]
7878
// Adding {ibm-z-name} agents with {op-system-base} KVM
7979
include::modules/installing-ocp-agent-ibm-z-kvm.adoc[leveloffset=+2]
8080

81+
// Configuring a local arbiter node
82+
include::modules/installing-ocp-agent-local-arbiter-node.adoc[leveloffset=+2]
83+
8184
// Verifying that the current installation host can pull release images
8285
include::modules/installing-ocp-agent-tui.adoc[leveloffset=+2]
8386

modules/installation-configuration-parameters.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,6 +707,15 @@ ifdef::agent[]
707707
Supported values are `3`, `4`, `5`, or `1` when deploying {sno}.
708708
endif::agent[]
709709

710+
|arbiter:
711+
name: arbiter
712+
|The {product-title} cluster requires a name for arbiter nodes. For example, `arbiter`.
713+
714+
715+
|arbiter:
716+
replicas: 1
717+
|The `replicas` parameter sets the number of arbiter nodes for the {product-title} cluster. You cannot set this field to a value that is greater than 1.
718+
710719
|credentialsMode:
711720
|The Cloud Credential Operator (CCO) mode. If no mode is specified, the CCO dynamically tries to determine the capabilities of the provided credentials, with a preference for mint mode on the platforms where multiple modes are supported.
712721

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * installing/installing_with_agent_based_installer/installing-with-agent-basic.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="installing-ocp-agent-local-arbiter-node_{context}"]
7+
= Configuring a local arbiter node
8+
9+
You can configure an {product-title} cluster with two control plane nodes and one local arbiter node so as to retain high availability (HA) while reducing infrastructure costs for your cluster.
10+
11+
A local arbiter node is a lower-cost, co-located machine that participates in control plane quorum decisions. Unlike a standard control plane node, the arbiter node does not run the full set of control plane services. You can use this configuration to maintain HA in your cluster with only two fully provisioned control plane nodes instead of three.
12+
13+
[IMPORTANT]
14+
====
15+
You can configure a local arbiter node only. Remote arbiter nodes are not supported.
16+
====
17+
18+
To deploy a cluster with two control plane nodes and one local arbiter node, you must define the following nodes in the `install-config.yaml` file:
19+
20+
* 2 control plane nodes
21+
* 1 arbiter node
22+
23+
The arbiter node must meet the following minimum system requirements:
24+
25+
* 2 vCPUs
26+
* 8 GB of RAM
27+
* 50 GB of SSD or equivalent storage
28+
29+
The arbiter node must be located in a network environment with an end-to-end latency of less than 500 milliseconds, including disk I/O. In high-latency environments, you might need to apply the `etcd` slow profile.
30+
31+
The control plane nodes must meet the following minimum system requirements:
32+
33+
* 4 vCPUs
34+
* 16 GB of RAM
35+
* 120 GB of SSD or equivalent storage
36+
37+
Additionally, the control plane nodes must also have enough storage for the workload.
38+
39+
.Prerequisites
40+
41+
* You have downloaded {oc-first} and the installation program.
42+
* You have logged into the {oc-first}.
43+
44+
.Procedure
45+
46+
. Edit the `install-config.yaml` file to define the arbiter node alongside control plane nodes.
47+
+
48+
.Example `install-config.yaml` configuration for deploying an arbiter node
49+
[source,yaml]
50+
----
51+
apiVersion: v1
52+
baseDomain: devcluster.openshift.com
53+
compute:
54+
- architecture: amd64
55+
hyperthreading: Enabled
56+
name: worker
57+
platform: {}
58+
replicas: 0
59+
arbiter: <1>
60+
architecture: amd64
61+
hyperthreading: Enabled
62+
replicas: 1 <2>
63+
name: arbiter <3>
64+
platform:
65+
baremetal: {}
66+
controlPlane: <4>
67+
architecture: amd64
68+
hyperthreading: Enabled
69+
name: master
70+
platform:
71+
baremetal: {}
72+
replicas: 2 <5>
73+
platform:
74+
baremetal:
75+
# ...
76+
hosts:
77+
- name: cluster-master-0
78+
role: master
79+
# ...
80+
- name: cluster-master-1
81+
role: master
82+
...
83+
- name: cluster-arbiter-0
84+
role: arbiter
85+
# ...
86+
----
87+
<1> Defines the arbiter machine pool. You must configure this field to deploy a cluster with an arbiter node.
88+
<2> Set the `replicas` field to `1` for the arbiter pool. You cannot set this field to a value that is greater than 1.
89+
<3> Specifies a name for the arbiter machine pool.
90+
<4> Defines the control plane machine pool.
91+
<5> When an arbiter pool is defined, two control plane replicas are valid.
92+
93+
. Save the modified `install-config.yaml` file.

0 commit comments

Comments
 (0)