You can view the status for a number of cluster logging components.
Prerequisites
-
Cluster logging and Elasticsearch must be installed.
Procedure
-
Change to the
openshift-logging
project.$ oc project openshift-logging
-
View the status of the cluster logging deployment:
$ oc describe deployment cluster-logging-operator
The output includes the following status information:
Name: cluster-logging-operator .... Conditions: Type Status Reason ---- ------ ------ Available True MinimumReplicasAvailable Progressing True NewReplicaSetAvailable .... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal ScalingReplicaSet 62m deployment-controller Scaled up replica set cluster-logging-operator-574b8987df to 1----
-
View the status of the cluster logging ReplicaSet:
-
Get the name of a ReplicaSet:
$ oc get replicaset NAME DESIRED CURRENT READY AGE cluster-logging-operator-574b8987df 1 1 1 159m elasticsearch-cdm-uhr537yu-1-6869694fb 1 1 1 157m elasticsearch-cdm-uhr537yu-2-857b6d676f 1 1 1 156m elasticsearch-cdm-uhr537yu-3-5b6fdd8cfd 1 1 1 155m kibana-5bd5544f87 1 1 1 157m
-
Get the status of the ReplicaSet:
$ oc describe replicaset cluster-logging-operator-574b8987df
The output includes the following status information:
Name: cluster-logging-operator-574b8987df .... Replicas: 1 current / 1 desired Pods Status: 1 Running / 0 Waiting / 0 Succeeded / 0 Failed .... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal SuccessfulCreate 66m replicaset-controller Created pod: cluster-logging-operator-574b8987df-qjhqv----
-