Chapter 12. Checking the status of a custom resource

This procedure describes how to find the status of a custom resource.


  • An OpenShift cluster
  • A running Cluster Operator


  • Specify the custom resource and use -o jsonpath option to apply a standard JSONPath expression to select the status property:

    oc get kafka <kafka_resource_name> -o jsonpath='{.status}'

    This expression returns all the status information for the specified custom resource. You can use dot notation, such as status.listeners, to fine-tune the status information you wish to see.

Additional resources