From fbfa4a7c9bf8b3a67021571939cc32b24688568c Mon Sep 17 00:00:00 2001 From: libander Date: Mon, 7 Nov 2022 09:11:40 -0600 Subject: [PATCH] RHDEVDOCS-3771 - Fluentd to collector --- modules/cluster-logging-manual-rollout-rolling.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/cluster-logging-manual-rollout-rolling.adoc b/modules/cluster-logging-manual-rollout-rolling.adoc index 7782646a9620..bacf8d35a080 100644 --- a/modules/cluster-logging-manual-rollout-rolling.adoc +++ b/modules/cluster-logging-manual-rollout-rolling.adoc @@ -30,11 +30,11 @@ $ oc project openshift-logging $ oc get pods -l component=elasticsearch- ---- -. Scale down the Fluentd pods so they stop sending new logs to Elasticsearch: +. Scale down the collector pods so they stop sending new logs to Elasticsearch: + [source,terminal] ---- -$ oc -n openshift-logging patch daemonset/logging-fluentd -p '{"spec":{"template":{"spec":{"nodeSelector":{"logging-infra-fluentd": "false"}}}}}' +$ oc -n openshift-logging patch daemonset/collector -p '{"spec":{"template":{"spec":{"nodeSelector":{"logging-infra-collector": "false"}}}}}' ---- . Perform a shard synced flush using the {product-title} link:https://github.com/openshift/origin-aggregated-logging/tree/master/elasticsearch#es_util[*es_util*] tool to ensure there are no pending operations waiting to be written to disk prior to shutting down: @@ -199,9 +199,9 @@ $ oc exec elasticsearch-cdm-5ceex6ts-1-dcd6c4c7c-jpw6 -c elasticsearch -- es_uti } ---- -. Scale up the Fluentd pods so they send new logs to Elasticsearch. +. Scale up the collector pods so they send new logs to Elasticsearch. + [source,terminal] ---- -$ oc -n openshift-logging patch daemonset/logging-fluentd -p '{"spec":{"template":{"spec":{"nodeSelector":{"logging-infra-fluentd": "true"}}}}}' +$ oc -n openshift-logging patch daemonset/collector -p '{"spec":{"template":{"spec":{"nodeSelector":{"logging-infra-collector": "true"}}}}}' ----