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:
Execute the following command to get the namespace of your workspace:
dkp get workspaces
CODEAnd copy the value under the
NAMESPACE
column for your workspace.Set the
WORKSPACE_NAMESPACE
variable to the namespace copied in the previous step:export WORKSPACE_NAMESPACE=<WORKSPACE_NAMESPACE>
CODEEnsure 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}
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
Then, you can View Cluster Log Data.