// Module included in the following assemblies:
//
// assembly-healthchecks.adoc

[id='proc-configuring-healthchecks-{context}']
= Configuring healthchecks

.Prerequisites

* A Kubernetes cluster
* A running Cluster Operator

.Procedure

. Edit the `livenessProbe` or `readinessProbe` property in the `Kafka` resource.
For example:
+
[source,yaml,subs=attributes+]
----
apiVersion: {KafkaApiVersion}
kind: Kafka
metadata:
  name: my-cluster
spec:
  kafka:
    # ...
    readinessProbe:
      initialDelaySeconds: 15
      timeoutSeconds: 5
    livenessProbe:
      initialDelaySeconds: 15
      timeoutSeconds: 5
    # ...
  zookeeper:
    # ...
----
+
. Create or update the resource.
+
This can be done using `kubectl apply`:
[source,shell,subs=+quotes]
kubectl apply -f _your-file_
