How to verify the cluster's logging stack installed successfully.

You must wait for the cluster’s logging stack HelmReleases to deploy before attempting to configure or use the logging features.

Run the following commands on the management cluster:

  1. Execute the following command to get the namespace of your workspace:

    dkp get workspaces
    CODE

    And copy the value under the NAMESPACE column for your workspace.

  2. Set the WORKSPACE_NAMESPACE variable to the namespace copied in the previous step:

    export WORKSPACE_NAMESPACE=<WORKSPACE_NAMESPACE>
    CODE

    Ensure you switched to the correct context or kubeconfig of the attached cluster for the following kubectl commands.

  3. Check the deployment status using this command on the attached cluster:

    kubectl get helmreleases -n ${WORKSPACE_NAMESPACE}
    CODE

NOTE: It may take some time for these changes to take effect, based on the duration configured for the Flux GitRepository reconciliation.

When the logging stack is successfully deployed, you will see output that includes the following HelmReleases:

NAME                         READY   STATUS                             AGE
grafana-logging              True    Release reconciliation succeeded   15m
logging-operator             True    Release reconciliation succeeded   15m
logging-operator-logging     True    Release reconciliation succeeded   15m
grafana-loki                 True    Release reconciliation succeeded   15m
rook-ceph                    True    Release reconciliation succeeded   15m
rook-ceph-cluster            True    Release reconciliation succeeded   15m
object-bucket-claims         True    Release reconciliation succeeded   15m
CODE

Then, you can View Cluster Log Data.