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:
-
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 theWorkspace
. -
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.
-
Check the deployment status using this command on the attached cluster:
kubectl get helmreleases -n ${WORKSPACE_NAMESPACE}
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.