-
Bug
-
Resolution: Done
-
Major
-
OpenShift 4.14 Async, OpenShift 4.15 Async, OpenShift 4.16 Async
-
0
-
False
-
-
False
-
-
-
Important
- Need to remove the blank line from step 11.e In the YAML field of Create an OpenShift Logging instance.
- Here is the documentation link: https://docs.openshift.com/container-platform/4.16/observability/logging/cluster-logging-deploying.html#logging-loki-gui-install_cluster-logging-deploying
- Here is the step 11.e YAML config:
apiVersion: logging.openshift.io/v1
kind: ClusterLogging
metadata:
name: instance
namespace: openshift-logging
spec:
collection:
type: vector
logStore:
lokistack:
name: logging-loki
retentionPolicy:
application:
maxAge: 7d
audit:
maxAge: 7d
infra:
maxAge: 7d
type: lokistack
visualization:
type: ocp-console
ocpConsole:
logsLimit: 15
<<== This is extra blank line
managementState: Managed
- One extra line exists between the `visualization` section and the `managementState` field.
- This extra blank line needs to be removed.
- There should be no extra newline characters between the `visualization` section and `managementState`.
- Here is the updated configuration looks:
apiVersion: logging.openshift.io/v1 kind: ClusterLogging metadata: name: instance namespace: openshift-logging spec: collection: type: vector logStore: lokistack: name: logging-loki retentionPolicy: application: maxAge: 7d audit: maxAge: 7d infra: maxAge: 7d type: lokistack visualization: type: ocp-console ocpConsole: logsLimit: 15 managementState: Managed
I am raising a PR for this documentation bug and removing this extra blank line