Verify Cluster Logging Stack Installation

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

    kubectl get workspaces
    

    Copy the value under WORKSPACE NAMESPACE column for your workspace. This may NOT be identical to the Display Name of the Workspace.

  2. Export the WORKSPACE_NAMESPACE variable:

    export WORKSPACE_NAMESPACE=<WORKSPACE_NAMESPACE>
    

    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}
    

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
fluent-bit                   True    Release reconciliation succeeded   15m
grafana-logging              True    Release reconciliation succeeded   15m
logging-operator             True    Release reconciliation succeeded   15m
logging-operator-logging     True    Release reconciliation succeeded   15m
minio-operator               True    Release reconciliation succeeded   15m
grafana-loki                 True    Release reconciliation succeeded   15m

Then, you can view cluster log data.