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.

  1. Set the WORKSPACE_NAMESPACE environment variable needed for this procedure using the command to get the name of the workspace’s namespace:

    export WORKSPACE_NAMESPACE=$(kubectl get workspace <type_your_workspace_name> -o jsonpath='{.status.namespaceRef.name}')
    
  2. 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.