You can enable the Workspace logging stack to all attached clusters within the Workspace through the UI. If you prefer to deploy the logging stack through kubectl
, review how you create AppDeployments to Enable Workspace Logging.
To enable logging in DKP using the UI, follow these steps in Kommander:
-
In the Global workspace nav, click on the Global dropdown and then select the Workspace you want to deploy for your logging stack.
-
In the left rail nav, click on Applications.
-
Ensure that cert-manager and Traefik are enabled in the Workspace. Scroll down in the Applications page to view the Foundational applications section. Confirm that cert-manager and Traefik are deployed.
-
After validating these applications are deployed, scroll to the Logging applications section.
-
Click on the three button action menu on the card for MinIO, and click Deploy. In this Deploy 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 deploy with default settings.
-
Click Deploy at the top right of the page.
-
Repeat the deployment process for the cards on Grafana Loki, Fluent Bit, Logging Operator, and Grafana Logging.
-
You can verify the cluster logging stack installation by waiting until the cards have a Deployed checkmark, or you can verify the cluster logging stack installation via the CLI.
-
Then, you can view cluster log data.