// Module included in the following assembly:
//
// assembly-management-tasks.adoc

[id='proc-accessing-resource-status-{context}']
= Finding the status of a custom resource

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

.Prerequisites

* A Kubernetes cluster.
* The Cluster Operator is running.

.Procedure

* Specify the custom resource and use the `-o jsonpath` option to apply a standard JSONPath expression to select the `status` property:
+
[source,shell,subs="+quotes,attributes"]
----
kubectl 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` or `status.observedGeneration`, to fine-tune the status information you wish to see.

.Additional resources
* xref:con-custom-resources-status-{context}[]
* For more information about using JSONPath, see {K8SJsonPath}.
