Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enterprise-4.16] observability/logging/modules/logging-loki-cli-install.adoc #82528

Open
pfeifferj opened this issue Sep 26, 2024 · 2 comments

Comments

@pfeifferj
Copy link
Member

Which section(s) is the issue in?

observability/logging/modules/logging-loki-cli-install.adoc

What needs fixing?

step 13. in this section https://docs.openshift.com/container-platform/4.16/observability/logging/cluster-logging-deploying.html#logging-loki-cli-install_cluster-logging-deploying

uses the following example:

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:
    ocpConsole:
      logsLimit: 15
  managementState: Managed

the example config is missing a required ClusterLogging.spec.visualization.type value:

❯ oc explain ClusterLogging.spec.visualization
GROUP:      logging.openshift.io
KIND:       ClusterLogging
VERSION:    v1

FIELD: visualization <Object>

DESCRIPTION:
    Specification of the Visualization component for the cluster

FIELDS:
  kibana        <Object>
    Specification of the Kibana Visualization component

  nodeSelector  <map[string]string>
    Define which Nodes the Pods are scheduled on.

  ocpConsole    <Object>
    OCPConsole is the specification for the OCP console plugin

  tolerations   <[]Object>
    Define the tolerations the Pods will accept

  type  <string> -required-
    The type of Visualization to configure

the same applies to 11e in the GUI section https://docs.openshift.com/container-platform/4.16/observability/logging/cluster-logging-deploying.html#logging-loki-gui-install_cluster-logging-deploying

@openshift-bot
Copy link

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-ci openshift-ci bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 26, 2024
@pfeifferj
Copy link
Member Author

/remove-lifecycle stale

@openshift-ci openshift-ci bot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants