|
| 1 | +:_mod-docs-content-type: ASSEMBLY |
| 2 | +include::_attributes/common-attributes.adoc[] |
| 3 | +[id="configuring-lokistack-storage"] |
| 4 | += Configuring the log store |
| 5 | +:context: configuring-the-log-store |
| 6 | + |
| 7 | +toc::[] |
| 8 | + |
| 9 | +You can configure a `LokiStack` custom resource (CR) to store application, audit, and infrastructure-related logs. |
| 10 | + |
| 11 | +include::snippets/loki-statement-snip.adoc[leveloffset=+1] |
| 12 | + |
| 13 | + |
| 14 | +// Loki sizing |
| 15 | +include::modules/loki-sizing.adoc[leveloffset=+1] |
| 16 | + |
| 17 | + |
| 18 | +// Loki object storage |
| 19 | +include::modules/logging-loki-storage.adoc[leveloffset=+1] |
| 20 | + |
| 21 | +// create object storage |
| 22 | +include::modules/logging-loki-storage-aws.adoc[leveloffset=+2] |
| 23 | +include::modules/logging-loki-storage-azure.adoc[leveloffset=+2] |
| 24 | +include::modules/logging-loki-storage-gcp.adoc[leveloffset=+2] |
| 25 | +include::modules/logging-loki-storage-minio.adoc[leveloffset=+2] |
| 26 | +include::modules/logging-loki-storage-odf.adoc[leveloffset=+2] |
| 27 | +include::modules/logging-loki-storage-swift.adoc[leveloffset=+2] |
| 28 | + |
| 29 | +//Loki stirage STS |
| 30 | +[id="installing-log-storage-loki-sts"] |
| 31 | +=== Deploying a Loki log store on a cluster that uses short-term credentials |
| 32 | + |
| 33 | +For some storage providers, you can use the Cloud Credential Operator utility (`ccoctl`) during installation to implement short-term credentials. These credentials are created and managed outside the {ocp-product-title} cluster. For more information, see link:https://docs.redhat.com/en/documentation/openshift_container_platform/4.18/html/authentication_and_authorization/managing-cloud-provider-credentials#cco-short-term-creds[Manual mode with short-term credentials for components]. |
| 34 | + |
| 35 | +[NOTE] |
| 36 | +==== |
| 37 | +Short-term credential authentication must be configured during a new installation of {loki-op}, on a cluster that uses this credentials strategy. You cannot configure an existing cluster that uses a different credentials strategy to use this feature. |
| 38 | +==== |
| 39 | + |
| 40 | +include::modules/logging-identity-federation.adoc[leveloffset=+3] |
| 41 | + |
| 42 | +include::modules/logging-create-loki-cr-console.adoc[leveloffset=+3,tag=!pre-5.9] |
| 43 | + |
| 44 | +include::modules/loki-create-object-storage-secret-cli.adoc[leveloffset=+3] |
| 45 | + |
| 46 | +include::modules/logging-loki-log-access.adoc[leveloffset=+2,tag=!NetObservMode] |
| 47 | + |
| 48 | + |
| 49 | +include::modules/logging-creating-new-group-cluster-admin-user-role.adoc[leveloffset=+2] |
| 50 | + |
| 51 | +//Enhanced reliability and performance |
| 52 | +[id="performance_{context}"] |
| 53 | +== Enhanced reliability and performance |
| 54 | + |
| 55 | +Use the following configurations to ensure reliability and efficiency of Loki in production. |
| 56 | + |
| 57 | +include::modules/loki-pod-placement.adoc[leveloffset=+2] |
| 58 | + |
| 59 | +include::modules/logging-loki-reliability-hardening.adoc[leveloffset=+2] |
| 60 | + |
| 61 | +include::modules/loki-retention.adoc[leveloffset=+2] |
| 62 | + |
| 63 | + |
| 64 | +include::modules/loki-memberlist-ip.adoc[leveloffset=+2] |
| 65 | + |
| 66 | +include::modules/loki-restart-hardening.adoc[leveloffset=+2] |
| 67 | + |
| 68 | +//Advanced deployment and scalability |
| 69 | +[id="advanced_{context}"] |
| 70 | +== Advanced deployment and scalability |
| 71 | + |
| 72 | +To configure high availability, scalability, and error handling, use the following information. |
| 73 | + |
| 74 | +include::modules/loki-zone-aware-replication.adoc[leveloffset=+2] |
| 75 | +include::modules/loki-zone-fail-recovery.adoc[leveloffset=+2] |
| 76 | +include::modules/loki-rate-limit-errors.adoc[leveloffset=+2] |
| 77 | + |
| 78 | +//log based alerts |
| 79 | +[id="log-based-alerts_{context}"] |
| 80 | +== Log-based alerts |
| 81 | + |
| 82 | +include::modules/loki-rbac-rules-permissions.adoc[leveloffset=+2] |
| 83 | +include::modules/enabling-loki-alerts.adoc[leveloffset=+2] |
0 commit comments