Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions configuring/cluster-logging-collector.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,6 @@ The {clo} deploys a service for each configured input receiver so that clients c
include::modules/configuring-the-collector-to-receive-audit-logs-as-an-http-server.adoc[leveloffset=+2]
include::modules/configuring-the-collector-to-listen-for-connections-as-a-syslog-server.adoc[leveloffset=+2]

include::modules/configuring-pod-rollout-strategy.adoc[leveloffset=+1]

//include::modules/cluster-logging-collector-tuning.adoc[leveloffset=+1]
49 changes: 49 additions & 0 deletions modules/configuring-pod-rollout-strategy.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
// Module included in the following assemblies:
//
// * configuring/cluster-logging-collector.adoc


:_newdoc-version: 2.18.4
:_template-generated: 2025-10-19
:_mod-docs-content-type: PROCEDURE

[id="configuring-pod-rollout-strategy_{context}"]
= Configuring pod rollout strategy

You can configure the collector pods rollout strategy so that the requests to the API server are minimized during upgrades and restarts.

[NOTE]
====
Unlike in previous releases, API server kube-api caching is always enabled.
====

.Prerequisites
* You have administrator permissions.
* You installed the {oc-first}.
* You installed and configured {clo}.
* You have created a `ClusterLogForwarder` custom resource (CR).

.Procedure

. Update the `ClusterLogForwarder` CR:
+
[source,yaml]
----
apiVersion: observability.openshift.io/v1
kind: ClusterLogForwarder
metadata:
name: my-forwarder
namespace: openshift-logging
spec:
collector:
maxUnavailable: <value>
----
+
Where <value> can be a number or percentage. If you do not specify a value, the default value of `100%` is used for the `maxUnavailable` field.

. Apply the `ClusterLogForwarder` CR by running the following command:
+
[source,terminal]
----
$ oc apply -f <filename>.yaml
----