Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-1037

OpenShift logging: Loki: Mention that LokiStack must be configured with tls.caName: openshift-service-ca.crt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The documentation doesn't mention anywhere that LokiStack for ODF must be configured with LokiStack.spec.storage.tls.caName: openshift-service-ca.crt, e.g.:

      apiVersion: loki.grafana.com/v1
      kind: LokiStack
        name: logging-loki
        namespace: openshift-logging
      spec:
        managementState: Managed
        size: 1x.small
        storage:
          schemas:
          - effectiveDate: "2023-10-15"
            version: v13
          secret:
            name: logging-loki-odf
            type: s3
          tls:
            caName: openshift-service-ca.crt     # <-------------- this is required for Loki with ODF
        storageClassName: ocs-external-storagecluster-ceph-rbd
        tenants:
          mode: openshift-logging
      

      A good location for this could be:
      https://docs.openshift.com/container-platform/4.14/observability/logging/log_storage/installing-log-storage.html#logging-loki-storage-odf_installing-log-storage

      or
      https://docs.openshift.com/container-platform/4.14/observability/logging/log_storage/installing-log-storage.html#logging-create-loki-cr-cli_installing-log-storage

      or

      https://docs.openshift.com/container-platform/4.14/observability/logging/log_storage/installing-log-storage.html#logging-create-loki-cr-console_installing-log-storage

      We only document this, more or less, in the following KCS at the moment:
      https://access.redhat.com/solutions/7006107

              Unassigned Unassigned
              akaris@redhat.com Andreas Karis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: