1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/cluster-logging-clo-status-comp.adoc
Satyajeet Munje cc94fd4ee0 OBSDOCS-693
2024-04-24 18:11:38 +00:00

97 lines
2.4 KiB
Plaintext

// Module included in the following assemblies:
//
// * observability/logging/troubleshooting/cluster-logging-cluster-status.adoc
:_mod-docs-content-type: PROCEDURE
[id="cluster-logging-clo-status-comp_{context}"]
= Viewing the status of {logging} components
You can view the status for a number of {logging} components.
.Prerequisites
* The {clo} and {es-op} are installed.
.Procedure
. Change to the `openshift-logging` project.
+
[source,terminal]
----
$ oc project openshift-logging
----
. View the status of {logging} environment:
+
[source,terminal]
----
$ oc describe deployment cluster-logging-operator
----
+
.Example output
[source,terminal]
----
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 {logging} replica set:
.. Get the name of a replica set:
+
.Example output
[source,terminal]
----
$ oc get replicaset
----
+
.Example output
[source,terminal]
----
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 replica set:
+
[source,terminal]
----
$ oc describe replicaset cluster-logging-operator-574b8987df
----
+
.Example output
[source,terminal]
----
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----
----