This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 9. Viewing cluster logging status
You can view the status of the Cluster Logging Operator and for a number of cluster logging components.
9.1. Viewing the status of the Cluster Logging Operator Copier lienLien copié sur presse-papiers!
You can view the status of your Cluster Logging Operator.
Prerequisites
- Cluster logging and Elasticsearch must be installed.
Procedure
Change to the
openshift-logging
project.oc project openshift-logging
$ oc project openshift-logging
Copy to Clipboard Copied! Toggle word wrap Toggle overflow To view the cluster logging status:
Get the cluster logging status:
oc get clusterlogging instance -o yaml
$ oc get clusterlogging instance -o yaml
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The output includes information similar to the following:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
9.1.1. Example condition messages Copier lienLien copié sur presse-papiers!
The following are examples of some condition messages from the Status.Nodes
section of the cluster logging instance.
A status message similar to the following indicates a node has exceeded the configured low watermark and no shard will be allocated to this node:
A status message similar to the following indicates a node has exceeded the configured high watermark and shards will be relocated to other nodes:
A status message similar to the following indicates the Elasticsearch node selector in the CR does not match any nodes in the cluster:
A status message similar to the following indicates that the requested PVC could not bind to PV:
A status message similar to the following indicates that the Curator pod cannot be scheduled because the node selector did not match any nodes:
A status message similar to the following indicates that the Fluentd pods cannot be scheduled because the node selector did not match any nodes:
9.2. Viewing the status of cluster logging components Copier lienLien copié sur presse-papiers!
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
$ oc project openshift-logging
Copy to Clipboard Copied! Toggle word wrap Toggle overflow View the status of the cluster logging deployment:
oc describe deployment cluster-logging-operator
$ oc describe deployment cluster-logging-operator
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The output includes the following status information:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow View the status of the cluster logging ReplicaSet:
Get the name of a ReplicaSet:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Get the status of the ReplicaSet:
oc describe replicaset cluster-logging-operator-574b8987df
$ oc describe replicaset cluster-logging-operator-574b8987df
Copy to Clipboard Copied! Toggle word wrap Toggle overflow The output includes the following status information:
Copy to Clipboard Copied! Toggle word wrap Toggle overflow