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:
-
From the top menu bar, select your target workspace.
-
Select Applications from the sidebar menu.
-
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.
-
Scroll to the Logging applications section.
-
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.
-
Select Enable at the top right of the page.
-
Repeat the process for the Grafana Loki, Fluent Bit, Logging Operator, and Grafana Logging applications.
-
You can verify the cluster logging stack installation by waiting until the cards have a Deployed checkmark on the cluster detail page, or you can verify the cluster logging stack installation via the CLI.
-
Then, you can view cluster log data.