How to enable the logging stack through the UI for Workspace-level logging

You can enable the Workspace logging stack to all attached clusters within the Workspace through the UI. If you prefer to enable the logging stack with kubectl, review how you create AppDeployments to Enable Workspace Logging.

To enable workspace-level logging in DKP using the UI, follow these steps:

  1. From the top menu bar, select your target workspace.

  2. Select Applications from the sidebar menu.

  3. Traefik and cert-manager are required to be deployed for the logging stack. Ensure that Traefik is enabled in the Workspace, and cert-manager is enabled or already deployed to the cluster.

  4. Scroll to the Logging applications section.

  5. Select the three dot button from the bottom-right corner of the card for MinIO, and click Enable. On the Enable Workspace Platform Application page, you can add a customized configuration for settings that best fit your organization. You can leave the configuration settings unchanged to enable with default settings.

  6. Select Enable at the top right of the page.

  7. Repeat the process for the Grafana Loki, Logging Operator, and Grafana Logging applications.

  8. You can verify the cluster logging stack installation by waiting until the cards have a Deployed checkmark on the Cluster Application page, or you can verify the Cluster Logging Stack installation via the CLI.

  9. Then, you can view cluster log data.

We do not recommend installing Fluent Bit, which is responsible for collecting admin logs, unless you have configured the Grafana Loki Minio Tenant with sufficient storage space. Enabling admin logs via Fluent Bit may use around 2GB/day per node. See 2.3.0 Release Notes | Configuring-the-Grafana-Loki-Minio-Tenant for more details on how to configure the Minio Tenant.

Only for Attached GKE Clusters:
Create a ResourceQuota to enable log collection

At this point, log collection is not enabled for your attached GKE cluster. Create a ResourceQuota to enable log collection.