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
Copy file name to clipboardExpand all lines: modules/nw-nodeport-service-range-edit.adoc
+15-13Lines changed: 15 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -6,37 +6,36 @@
6
6
[id="nw-nodeport-service-range-edit_{context}"]
7
7
= Expanding the node port range
8
8
9
-
You can expand the node port range for the cluster.
9
+
You can expand the node port range for your cluster. However, after you install your {product-title} cluster, you cannot contract the node port range on either side.
10
10
11
11
[IMPORTANT]
12
12
====
13
-
You can expand the node port range into the protected port range, which is between 0 and 32767. However, after expansion, you cannot change the range. Attempting to change the range returns the following error:
14
-
`The Network "cluster" is invalid: spec.serviceNodePortRange: Invalid value: "30000-32767": new service node port range 30000-32767 does not completely cover the previous range 0-32767`.
15
-
16
-
Before making changes, ensure that the new range you set is appropriate for your cluster.
13
+
Before you expand a node port range, consider that Red{nbsp}Hat has not performed testing outside the default port range of `30000-32768`. For ranges outside the default port range, ensure that you test to verify the expanding node port range does not impact your cluster. If you expanded the range and a port allocation issue occurs, create a new cluster and set the required range for it.
17
14
====
18
15
19
16
.Prerequisites
20
17
21
-
* Install the OpenShift CLI (`oc`).
22
-
* Log in to the cluster with a user with `cluster-admin` privileges.
18
+
* Installed the {oc-first}.
19
+
* Logged in to the cluster as a user with `cluster-admin` privileges.
20
+
* You ensured that your cluster infrastructure allows access to the ports that exist in the extended range. For example, if you expand the node port range to `30000-32900`, your firewall or packet filtering configuration must allow the inclusive port range of `30000-32900`.
23
21
24
22
.Procedure
25
23
26
-
. To expand the node port range, enter the following command. Replace `<port>` with the largest port number in the new range.
24
+
* Expand the range for the `serviceNodePortRange` parameter in the `network.config.openshift.io` object that your cluster uses to manage traffic for pods by entering the following command in your command-line interface (CLI):
As a cluster administrator, you can expand the available node port range. If your cluster uses of a large number of node ports, you might need to increase the number of available ports.
9
+
During cluster installation, you can configure the node port range to meet the requirements of your cluster. After cluster installation, only a cluster administrator can expand the range as a postinstallation task. If your cluster uses a large number of node ports, consider increasing the available port range according to the requirements of your cluster.
10
10
11
-
The default port range is `30000-32767`. You can never reduce the port range, even if you first expand it beyond the default range.
11
+
[IMPORTANT]
12
+
====
13
+
Before you expand a node port range, consider that Red{nbsp}Hat has not performed testing outside the default port range of `30000-32768`. For ranges outside the default port range, ensure that you test to verify the expanding node port range does not impact your cluster. If you expanded the range and a port allocation issue occurs, create a new cluster and set the required range for it.
If you do not set a node port range during cluster installation, the default range of `30000-32768` applies to your cluster. In this situation, you can expand the range on either side, but you must preserve `30000-32768` within your new port range.
15
17
16
-
- Your cluster infrastructure must allow access to the ports that you specify within the expanded range. For example, if you expand the node port range to `30000-32900`, the inclusive port range of `32768-32900` must be allowed by your firewall or packet filtering configuration.
18
+
[IMPORTANT]
19
+
====
20
+
If you expand the node port range and {oc-first} stops working because of a port conflict with the OpenShift API server, you must create a new cluster.
21
+
Ensure that the new node port range does not overlap with any ports already in use by host processes or pods that are configured with host networking.
0 commit comments