Monitoring deployment health

Understand the health of your Event Streams deployment at a glance, and learn how to find information about problems.

Event Streams metrics architecture

Checking Event Streams health

Using the Event Streams UI

The Event Streams UI provides information about the health of your environment at a glance. In the bottom right corner of the UI, a message shows a summary status of the system health. If there are no issues, the message states System is healthy.

If any of the Event Streams resources experience problems, the message states component isn’t ready. If any of the components are not ready for an extended period of time, see how you can troubleshoot as described in debugging.

Using the CLI

You can check the health of your Event Streams environment using the Kubernetes command-line tool (kubectl).

  1. Log in to your Kubernetes cluster as a cluster administrator by setting your kubectl context.
  2. To check the status and readiness of the pods, run the following command, where <namespace> is where your Event Streams instance is installed:

    kubectl -n <namespace> get pods

    The command lists the pods together with simple status information for each pod.

If any of the components are not ready for an extended period of time, check the debugging topic.


Using the OpenShift Container Platform UI

  1. Log in to the OpenShift Container Platform web console using your login credentials.
  2. Expand the Operators dropdown and select Installed Operators to open the Installed Operators page.
  3. Expand the Project dropdown and select the project the instance is installed in. Click the operator called IBM Event Streams managing the project.
  4. Select the Event Streams tab and search the Name column for the installed instance and click it.
  5. Click on the Resources tab.
  6. To filter only pods, deselect all resource types with the exception of Pod.
  7. Click the pod not in the Running state to display information regarding the pod.
  8. In the Overview, resource usage, such as CPU and memory, can be viewed. Example pod overview
  9. Click on the Logs tab to search logs.

Tip: You can also use the cluster logging provided by the OpenShift Container Platform to collect, store, and visualize logs. The cluster logging components are based upon Elasticsearch, Fluentd, and Kibana (EFK). You can download and install the pre-configured Event Streams Kibana dashboards by following the instructions in monitoring cluster health.

Using the CLI

  1. To retrieve further details about the pods, including events affecting them, use the following command:

    kubectl -n <namespace> describe pod <pod-name>
  2. To retrieve detailed log data for a pod to help analyze problems, use the following command:

    kubectl -n <namespace> logs <pod-name> -c <container_name>

For more information about debugging, see the Kubernetes documentation.

Note: After a component restarts, the kubectl command retrieves the logs for the new instance of the container. To retrieve the logs for a previous instance of the container, add the -–previous option to the kubectl logs command.