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
The Agent-based Installer provides the flexibility to boot your on-premise servers in any way that you choose. It combines the ease of use of the Assisted Installation service with the ability to run offline, including in air-gapped environments.
11
11
12
-
The Agent-based installation method provides the flexibility to boot your on-premise servers in any way that you choose. It combines the ease of use of the Assisted Installation service with the ability to run offline, including in air-gapped environments.
13
-
Agent-based installation is a subcommand of the {product-title} installer.
12
+
The Agent-based Installer uses a subcommand of the {product-title} installation program.
14
13
It generates a bootable ISO image containing all of the information required to deploy an {product-title} cluster, with an available release image.
15
14
16
15
The configuration is in the same format as for the installer-provisioned infrastructure and user-provisioned infrastructure installation methods.
* link:https://access.redhat.com/articles/4207611[Deploying OpenShift 4.x on non-tested platforms using the bare metal install method (Red{nbsp}Hat Knowledgebase article)]
59
+
59
60
* xref:../../installing/installing_with_agent_based_installer/preparing-to-install-with-agent-based-installer.adoc#installation-requirements-platform-none_preparing-to-install-with-agent-based-installer[Requirements for a cluster using the platform "none" option]
60
61
61
62
* xref:../installing_bare_metal/ipi/ipi-install-prerequisites.adoc#network-requirements-increase-mtu_ipi-install-prerequisites[Increase the network MTU]
== Requirements for a cluster using the platform "none" option
93
-
94
-
This section describes the requirements for an Agent-based {product-title} installation that is configured to use the platform `none` option.
95
-
96
-
[IMPORTANT]
97
-
====
98
-
Review the information in the link:https://access.redhat.com/articles/4207611[guidelines for deploying {product-title} on non-tested platforms] before you attempt to install an {product-title} cluster in virtualized or cloud environments.
99
-
====
92
+
//Requirements for a cluster using the platform "none" option
* link:https://access.redhat.com/articles/4207611[Deploying OpenShift 4.x on non-tested platforms using the bare metal install method (Red{nbsp}Hat Knowledgebase article)]
107
+
107
108
//Example: Bonds and VLAN interface node network configuration
Copy file name to clipboardExpand all lines: modules/agent-host-config.adoc
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,10 @@
8
8
9
9
// Starting with whatever content I could find just to have something for feedback, but any additions or replacements are welcome.
10
10
11
+
[role="_abstract"]
11
12
You can make additional configurations for each host on the cluster in the `agent-config.yaml` file, such as network configurations and root device hints.
12
13
13
14
[IMPORTANT]
14
15
====
15
-
For each host you configure, you must provide the MAC address of an interface on the host to specify which host you are configuring.
16
+
For each host you configure, you must specify which host you are configuring by providing the MAC address of an interface on the host.
Copy file name to clipboardExpand all lines: modules/agent-install-dns-none.adoc
+33-33Lines changed: 33 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,10 @@
2
2
[id="agent-install-dns-none_{context}"]
3
3
= Platform "none" DNS requirements
4
4
5
-
In {product-title} deployments, DNS name resolution is required for the following components:
5
+
[role="_abstract"]
6
+
In {product-title} deployments, DNS name resolution is required for several components.
7
+
8
+
The following components need DNS name resolution:
6
9
7
10
* The Kubernetes API
8
11
* The {product-title} application wildcard
@@ -75,13 +78,11 @@ This section provides A and PTR record configuration samples that meet the DNS r
75
78
76
79
In the examples, the cluster name is `ocp4` and the base domain is `example.com`.
77
80
78
-
.Example DNS A record configuration for a platform "none" cluster
81
+
Example DNS A record configuration for a platform "none" cluster::
79
82
80
83
The following example is a BIND zone file that shows sample A records for name resolution in a cluster using the platform `none` option.
81
84
82
85
.Sample DNS zone database
83
-
[%collapsible]
84
-
====
85
86
[source,text]
86
87
----
87
88
$TTL 1W
@@ -101,41 +102,39 @@ smtp.example.com. IN A 192.168.1.5
101
102
helper.example.com. IN A 192.168.1.5
102
103
helper.ocp4.example.com. IN A 192.168.1.5
103
104
;
104
-
api.ocp4.example.com. IN A 192.168.1.5 <1>
105
-
api-int.ocp4.example.com. IN A 192.168.1.5 <2>
105
+
api.ocp4.example.com. IN A 192.168.1.5
106
+
api-int.ocp4.example.com. IN A 192.168.1.5
106
107
;
107
-
*.apps.ocp4.example.com. IN A 192.168.1.5 <3>
108
+
*.apps.ocp4.example.com. IN A 192.168.1.5
108
109
;
109
-
master0.ocp4.example.com. IN A 192.168.1.97 <4>
110
-
master1.ocp4.example.com. IN A 192.168.1.98 <4>
111
-
master2.ocp4.example.com. IN A 192.168.1.99 <4>
110
+
master0.ocp4.example.com. IN A 192.168.1.97
111
+
master1.ocp4.example.com. IN A 192.168.1.98
112
+
master2.ocp4.example.com. IN A 192.168.1.99
112
113
;
113
-
worker0.ocp4.example.com. IN A 192.168.1.11 <5>
114
-
worker1.ocp4.example.com. IN A 192.168.1.7 <5>
114
+
worker0.ocp4.example.com. IN A 192.168.1.11
115
+
worker1.ocp4.example.com. IN A 192.168.1.7
115
116
;
116
117
;EOF
117
118
----
119
+
where:
118
120
119
-
<1> Provides name resolution for the Kubernetes API. The record refers to the IP address of the API load balancer.
120
-
<2> Provides name resolution for the Kubernetes API. The record refers to the IP address of the API load balancer and is used for internal cluster communications.
121
-
<3> Provides name resolution for the wildcard routes. The record refers to the IP address of the application ingress load balancer. The application ingress load balancer targets the machines that run the Ingress Controller pods. The Ingress Controller pods run on the compute machines by default.
121
+
`api.ocp4.example.com.`:: Provides name resolution for the Kubernetes API. The record refers to the IP address of the API load balancer.
122
+
`api-int.ocp4.example.com.`:: Provides name resolution for the Kubernetes API. The record refers to the IP address of the API load balancer and is used for internal cluster communications.
123
+
`*.apps.ocp4.example.com.`:: Provides name resolution for the wildcard routes. The record refers to the IP address of the application ingress load balancer. The application ingress load balancer targets the machines that run the Ingress Controller pods. The Ingress Controller pods run on the compute machines by default.
122
124
+
123
125
[NOTE]
124
126
=====
125
127
In the example, the same load balancer is used for the Kubernetes API and application ingress traffic. In production scenarios, you can deploy the API and application ingress load balancers separately so that you can scale the load balancer infrastructure for each in isolation.
126
128
=====
127
129
+
128
-
<4> Provides name resolution for the control plane machines.
129
-
<5> Provides name resolution for the compute machines.
130
-
====
130
+
`master0.ocp4.example.com.`-`master2.ocp4.example.com.`:: Provides name resolution for the control plane machines.
131
+
`worker0.ocp4.example.com.`-`worker1.ocp4.example.com.`:: Provides name resolution for the compute machines.
131
132
132
-
.Example DNS PTR record configuration for a platform "none" cluster
133
+
Example DNS PTR record configuration for a platform "none" cluster::
133
134
134
135
The following example BIND zone file shows sample PTR records for reverse name resolution in a cluster using the platform `none` option.
135
136
136
137
.Sample DNS zone database for reverse records
137
-
[%collapsible]
138
-
====
139
138
[source,text]
140
139
----
141
140
$TTL 1W
@@ -147,24 +146,25 @@ $TTL 1W
147
146
1W ) ; minimum (1 week)
148
147
IN NS ns1.example.com.
149
148
;
150
-
5.1.168.192.in-addr.arpa. IN PTR api.ocp4.example.com. <1>
151
-
5.1.168.192.in-addr.arpa. IN PTR api-int.ocp4.example.com. <2>
149
+
5.1.168.192.in-addr.arpa. IN PTR api.ocp4.example.com.
150
+
5.1.168.192.in-addr.arpa. IN PTR api-int.ocp4.example.com.
152
151
;
153
-
97.1.168.192.in-addr.arpa. IN PTR master0.ocp4.example.com. <3>
154
-
98.1.168.192.in-addr.arpa. IN PTR master1.ocp4.example.com. <3>
155
-
99.1.168.192.in-addr.arpa. IN PTR master2.ocp4.example.com. <3>
152
+
97.1.168.192.in-addr.arpa. IN PTR master0.ocp4.example.com.
153
+
98.1.168.192.in-addr.arpa. IN PTR master1.ocp4.example.com.
154
+
99.1.168.192.in-addr.arpa. IN PTR master2.ocp4.example.com.
156
155
;
157
-
11.1.168.192.in-addr.arpa. IN PTR worker0.ocp4.example.com. <4>
158
-
7.1.168.192.in-addr.arpa. IN PTR worker1.ocp4.example.com. <4>
156
+
11.1.168.192.in-addr.arpa. IN PTR worker0.ocp4.example.com.
157
+
7.1.168.192.in-addr.arpa. IN PTR worker1.ocp4.example.com.
159
158
;
160
159
;EOF
161
160
----
161
+
where:
162
+
163
+
`api.ocp4.example.com.`:: Provides reverse DNS resolution for the Kubernetes API. The PTR record refers to the record name of the API load balancer.
164
+
`api-int.ocp4.example.com.`:: Provides reverse DNS resolution for the Kubernetes API. The PTR record refers to the record name of the API load balancer and is used for internal cluster communications.
165
+
`master0.ocp4.example.com.`-`master2.ocp4.example.com.`:: Provides reverse DNS resolution for the control plane machines.
166
+
`worker0.ocp4.example.com.`-`worker1.ocp4.example.com.`:: Provides reverse DNS resolution for the compute machines.
162
167
163
-
<1> Provides reverse DNS resolution for the Kubernetes API. The PTR record refers to the record name of the API load balancer.
164
-
<2> Provides reverse DNS resolution for the Kubernetes API. The PTR record refers to the record name of the API load balancer and is used for internal cluster communications.
165
-
<3> Provides reverse DNS resolution for the control plane machines.
166
-
<4> Provides reverse DNS resolution for the compute machines.
Copy file name to clipboardExpand all lines: modules/agent-install-ipi-install-root-device-hints.adoc
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,10 @@
6
6
[id='root-device-hints_{context}']
7
7
= About root device hints
8
8
9
-
The `rootDeviceHints` parameter enables the installer to provision the {op-system-first} image to a particular device. The installer examines the devices in the order it discovers them, and compares the discovered values with the hint values. The installer uses the first discovered device that matches the hint value. The configuration can combine multiple hints, but a device must match all hints for the installer to select it.
9
+
[role="_abstract"]
10
+
The `rootDeviceHints` parameter enables the installation program to provision the {op-system-first} image to a particular device.
11
+
12
+
The installation program examines the devices in the order it discovers them, and compares the discovered values with the hint values. The installation program uses the first discovered device that matches the hint value. The configuration can combine multiple hints, but a device must match all hints for the installation program to select it.
Before you install {product-title}, you must provision the API and application Ingress load balancing infrastructure. In production scenarios, you can deploy the API and application Ingress load balancers separately so that you can scale the load balancer infrastructure for each in isolation.
7
7
8
8
[NOTE]
9
9
====
10
-
These requirements do not apply to single-node OpenShift clusters using the platform `none` option.
11
-
====
10
+
* These requirements do not apply to {sno} clusters using the platform `none` option.
12
11
13
-
[NOTE]
14
-
====
15
-
If you want to deploy the API and application Ingress load balancers with a {op-system-base-full} instance, you must purchase the {op-system-base} subscription separately.
12
+
* If you want to deploy the API and application Ingress load balancers with a {op-system-base-full} instance, you must purchase the {op-system-base} subscription separately.
16
13
====
17
14
18
15
The load balancing infrastructure must meet the following requirements:
@@ -123,8 +120,6 @@ If you are using HAProxy as a load balancer and SELinux is set to `enforcing`, y
123
120
====
124
121
125
122
.Sample API and application Ingress load balancer configuration
126
-
[%collapsible]
127
-
====
128
123
[source,text]
129
124
----
130
125
global
@@ -147,43 +142,43 @@ defaults
147
142
timeout http-keep-alive 10s
148
143
timeout check 10s
149
144
maxconn 3000
150
-
listen api-server-6443 <1>
145
+
listen api-server-6443
151
146
bind *:6443
152
147
mode tcp
153
148
server master0 master0.ocp4.example.com:6443 check inter 1s
154
149
server master1 master1.ocp4.example.com:6443 check inter 1s
155
150
server master2 master2.ocp4.example.com:6443 check inter 1s
156
-
listen machine-config-server-22623 <2>
151
+
listen machine-config-server-22623
157
152
bind *:22623
158
153
mode tcp
159
154
server master0 master0.ocp4.example.com:22623 check inter 1s
160
155
server master1 master1.ocp4.example.com:22623 check inter 1s
161
156
server master2 master2.ocp4.example.com:22623 check inter 1s
162
-
listen ingress-router-443 <3>
157
+
listen ingress-router-443
163
158
bind *:443
164
159
mode tcp
165
160
balance source
166
161
server worker0 worker0.ocp4.example.com:443 check inter 1s
167
162
server worker1 worker1.ocp4.example.com:443 check inter 1s
168
-
listen ingress-router-80 <4>
163
+
listen ingress-router-80
169
164
bind *:80
170
165
mode tcp
171
166
balance source
172
167
server worker0 worker0.ocp4.example.com:80 check inter 1s
173
168
server worker1 worker1.ocp4.example.com:80 check inter 1s
174
169
----
175
170
176
-
<1> Port `6443` handles the Kubernetes API traffic and points to the control plane machines. You must configure health checks on this port to ensure that the API server is available before routing traffic.
177
-
<2> Port `22623` handles the machine config server traffic and points to the control plane machines.
178
-
<3> Port `443` handles the HTTPS traffic and points to the machines that run the Ingress Controller pods. The Ingress Controller pods run on the compute machines by default.
179
-
<4> Port `80` handles the HTTP traffic and points to the machines that run the Ingress Controller pods. The Ingress Controller pods run on the compute machines by default.
171
+
* Port `6443` handles the Kubernetes API traffic and points to the control plane machines. You must configure health checks on this port to ensure that the API server is available before routing traffic.
172
+
* Port `22623` handles the machine config server traffic and points to the control plane machines.
173
+
* Port `443` handles the HTTPS traffic and points to the machines that run the Ingress Controller pods. The Ingress Controller pods run on the compute machines by default.
174
+
* Port `80` handles the HTTP traffic and points to the machines that run the Ingress Controller pods. The Ingress Controller pods run on the compute machines by default.
180
175
+
181
176
[NOTE]
182
-
=====
177
+
====
183
178
If you are deploying a compact three-node cluster with zero compute nodes, the Ingress Controller pods run on the control plane nodes. In three-node cluster deployments, you must configure your application Ingress load balancer to route HTTP and HTTPS traffic to the control plane nodes.
184
-
=====
185
179
====
186
180
181
+
187
182
[TIP]
188
183
====
189
184
If you are using HAProxy as a load balancer, you can check that the `haproxy` process is listening on ports `6443`, `22623`, `443`, and `80` by running `netstat -nltupe` on the HAProxy node.
0 commit comments