1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/infrastructure-node-sizing.adoc
2021-12-09 16:02:39 +00:00

45 lines
2.1 KiB
Plaintext

// Module included in the following assemblies:
//
// * scalability_and_performance/recommended-host-practices.adoc
[id="infrastructure-node-sizing_{context}"]
= Infrastructure node sizing
_Infrastructure nodes_ are nodes that are labeled to run pieces of the {product-title} environment. The infrastructure node resource requirements depend on the cluster age, nodes, and objects in the cluster, as these factors can lead to an increase in the number of metrics or time series in Prometheus. The following infrastructure node size recommendations are based on the results of cluster maximums and control plane density focused testing.
[options="header",cols="3*"]
|===
| Number of worker nodes |CPU cores |Memory (GB)
| 25
| 4
| 16
| 100
| 8
| 32
| 250
| 16
| 128
| 500
| 32
| 128
|===
In general, three infrastructure nodes are recommended per cluster.
[IMPORTANT]
====
These sizing recommendations are based on scale tests, which create a large number of objects across the cluster. These tests include reaching some of the cluster maximums. In the case of 250 and 500 node counts on an {product-title} {product-version} cluster, these maximums are 10000 namespaces with 61000 pods, 10000 deployments, 181000 secrets, 400 config maps, and so on. Prometheus is a highly memory intensive application; the resource usage depends on various factors including the number of nodes, objects, the Prometheus metrics scraping interval, metrics or time series, and the age of the cluster. The disk size also depends on the retention period. You must take these factors into consideration and size them accordingly.
These sizing recommendations are only applicable for the Prometheus, Router, and Registry infrastructure components, which are installed during cluster installation. Logging is a day-two operation and is not included in these recommendations.
====
[NOTE]
====
In {product-title} {product-version}, half of a CPU core (500 millicore) is now reserved by the system by default compared to {product-title} 3.11 and previous versions. This influences the stated sizing recommendations.
====