Skip to content

Commit 7baccf4

Browse files
Update cluster-logging-kibana-scaling.adoc
- Incorrect configuration under scaling redundancy for the log visualizer nodes documentation - Here is the documentation link: https://docs.openshift.com/container-platform/4.16/observability/logging/log_visualization/logging-kibana.html#cluster-logging-kibana-scaling_logging-kibana ============= - namespace name is missing from the command. - same command is mentioned twice in the second block. Which is not required and hence needs to be removed. - "namespace: openshift-logging" field is missing under `metadata` section. - 2 extra spaces under `spec.visulization`, it will not cause any effect. But it needs to be with correct indentation. =========== =========== Reason: 1. Suppose the user is not a part of openshift-logging project, and he tries to run this command then this command will not work. 2. If the credentials are shared, and two people are using the same cluster at the same time, then, the second person could change to work in a different namespace. =============== Updated documentation will look like the following: 1. Edit the ClusterLogging custom resource (CR) in the openshift-logging project: ~~~ $ oc -n openshift-logging edit ClusterLogging instance ~~~ ~~~ apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" namespace: openshift-logging .... spec: visualization: type: "kibana" kibana: replicas: 1 ~~~
1 parent a8f1d57 commit 7baccf4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modules/cluster-logging-kibana-scaling.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You can scale the pod that hosts the log visualizer for redundancy.
1414
+
1515
[source,terminal]
1616
----
17-
$ oc edit ClusterLogging instance
17+
$ oc -n openshift-logging edit ClusterLogging instance
1818
----
1919
+
2020
[source,yaml]
@@ -23,13 +23,13 @@ apiVersion: "logging.openshift.io/v1"
2323
kind: "ClusterLogging"
2424
metadata:
2525
name: "instance"
26-
26+
namespace: openshift-logging
2727
....
2828
2929
spec:
30-
visualization:
31-
type: "kibana"
32-
kibana:
33-
replicas: 1 <1>
30+
visualization:
31+
type: "kibana"
32+
kibana:
33+
replicas: 1 <1>
3434
----
3535
<1> Specify the number of Kibana nodes.

0 commit comments

Comments
 (0)