mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * ingress/configure-ingress-operator.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="nw-ingress-setting-thread-count_{context}"]
|
|
= Setting Ingress Controller thread count
|
|
|
|
A cluster administrator can set the thread count to increase the amount of incoming connections a cluster can handle. You can patch an existing Ingress Controller to increase the amount of threads.
|
|
|
|
.Prerequisites
|
|
* The following assumes that you already created an Ingress Controller.
|
|
|
|
.Procedure
|
|
* Update the Ingress Controller to increase the number of threads:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc -n openshift-ingress-operator patch ingresscontroller/default --type=merge -p '{"spec":{"tuningOptions": {"threadCount": 8}}}'
|
|
----
|
|
+
|
|
[NOTE]
|
|
====
|
|
If you have a node that is capable of running large amounts of resources, you can configure `spec.nodePlacement.nodeSelector` with labels that match the capacity of the intended node, and configure `spec.tuningOptions.threadCount` to an appropriately high value.
|
|
====
|