Skip to content

Commit d9e165e

Browse files
authored
Merge pull request #54383 from ahardin-rh/object-max-edits
OSDOCS-4326: Edits for Planning your environment according to object maximums
2 parents 941c2d6 + deea2e4 commit d9e165e

3 files changed

+7
-8
lines changed

modules/how-to-plan-your-environment-according-to-application-requirements.adoc

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,7 @@ labels:
168168
template: deployment-config-template
169169
----
170170

171-
The number of application pods that can run in a namespace is dependent on the number of services and the
172-
length of the service name when the environment variables are used for service discovery. `ARG_MAX` on the system
173-
defines the maximum argument length for a new process and it is set to `2097152 KiB` by default. The Kubelet injects
174-
environment variables in to each pod scheduled to run in the namespace including:
171+
The number of application pods that can run in a namespace is dependent on the number of services and the length of the service name when the environment variables are used for service discovery. `ARG_MAX` on the system defines the maximum argument length for a new process and it is set to 2097152 bytes (2 MiB) by default. The Kubelet injects environment variables in to each pod scheduled to run in the namespace including:
175172

176173
* `<SERVICE_NAME>_SERVICE_HOST=<IP>`
177174
* `<SERVICE_NAME>_SERVICE_PORT=<PORT>`
@@ -181,6 +178,6 @@ environment variables in to each pod scheduled to run in the namespace including
181178
* `<SERVICE_NAME>_PORT_<PORT>_TCP_PORT=<PORT>`
182179
* `<SERVICE_NAME>_PORT_<PORT>_TCP_ADDR=<ADDR>`
183180

184-
The pods in the namespace will start to fail if the argument length exceeds the allowed value and the number of
185-
characters in a service name impacts it. For example, in a namespace with 5000 services, the limit on the service name
181+
The pods in the namespace will start to fail if the argument length exceeds the allowed value and the number of
182+
characters in a service name impacts it. For example, in a namespace with 5000 services, the limit on the service name
186183
is 33 characters, which enables you to run 5000 pods in the namespace.

modules/how-to-plan-your-environment-according-to-cluster-maximums.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ While planning your environment, determine how many pods are expected to fit per
2020
required pods per cluster / pods per node = total number of nodes needed
2121
----
2222

23-
The current maximum number of pods per node is 250. However, the number of pods that fit on a node is dependent on the application itself. Consider the application's memory, CPU, and storage requirements, as described in _How to plan your environment according to application requirements_.
23+
The default maximum number of pods per node is 250. However, the number of pods that fit on a node is dependent on the application itself. Consider the application's memory, CPU, and storage requirements, as described in "How to plan your environment according to application requirements".
2424

2525
.Example scenario
2626

@@ -41,3 +41,5 @@ Where:
4141
----
4242
required pods per cluster / total number of nodes = expected pods per node
4343
----
44+
45+
{product-title} comes with several system pods, such as SDN, DNS, Operators, and others, which run across every worker node by default. Therefore, the result of the above formula can vary.

modules/rosa-planning-environment-application-reqs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ objects:
156156
template: deploymentConfigTemplate
157157
----
158158

159-
The number of application pods that can run in a namespace is dependent on the number of services and the length of the service name when the environment variables are used for service discovery. `ARG_MAX` on the system defines the maximum argument length for a new process and it is set to 2097152 KiB by default. The kubelet injects environment variables in to each pod scheduled to run in the namespace including:
159+
The number of application pods that can run in a namespace is dependent on the number of services and the length of the service name when the environment variables are used for service discovery. `ARG_MAX` on the system defines the maximum argument length for a new process and it is set to 2097152 bytes (2 MiB) by default. The kubelet injects environment variables in to each pod scheduled to run in the namespace including:
160160

161161
* `<SERVICE_NAME>_SERVICE_HOST=<IP>`
162162
* `<SERVICE_NAME>_SERVICE_PORT=<PORT>`

0 commit comments

Comments
 (0)