For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Configure health probes

Each Camunda component in the Helm chart has startupProbe, readinessProbe, and livenessProbe values. With these values, you can turn a probe on or off and change its endpoint or timing.

By default, the chart enables only the readiness probe of each component. The startup and liveness probes are off.

Default probe endpoints​

For each probe, Kubernetes sends an HTTP GET request to a container port and path. The following table lists the values prefix, the default port, and the default probePath of each probe.

ComponentValues prefixPortStartup probePathReadiness probePathLiveness probePath
Orchestration Clusterorchestration9600/actuator/health/startup/actuator/health/readiness/actuator/health/liveness
Management Identityidentity8082/actuator/health/actuator/health/actuator/health
Connectorsconnectors8080/actuator/health/readiness/actuator/health/readiness/actuator/health/liveness
Optimizeoptimize8090/api/readyz/api/readyz/api/readyz
Camunda Hub REST APIcamundaHub.restapi8091/health/liveness/health/readiness/health/liveness
Camunda Hub WebSocketscamundaHub.websockets8060/up/up/up

The following rules apply:

  • The scheme value defaults to HTTP. For Connectors and Optimize, the default is empty. When you enable TLS for the component, the chart uses HTTPS for an empty scheme. Otherwise, it uses HTTP. See Connectors TLS and Optimize TLS.
  • The Orchestration Cluster, Connectors, Optimize, and Camunda Hub REST API probes use the contextPath value of the component as a path prefix. For Camunda Hub, that value is camundaHub.contextPath. Management Identity and Camunda Hub WebSockets probes use probePath only.
  • Camunda Hub inherits its probe defaults from the webModeler.restapi and webModeler.websockets values. Values you set under camundaHub.restapi and camundaHub.websockets take precedence. The chart merges both sets of values key by key. You set only the keys you want to change.

Probe values​

Every probe accepts the same values. The key of a value has three parts: the values prefix from Default probe endpoints, the probe name, and the value name. For example, orchestration.readinessProbe.periodSeconds.

ValueDefaultDescription
enabledfalse for startupProbe and livenessProbe, true for readinessProbeAdds the probe to the container when true.
schemeHTTP. Empty for Connectors and Optimize.Protocol of the request, HTTP or HTTPS.
probePathSee Default probe endpoints.Path of the request.
initialDelaySeconds30. 10 for Camunda Hub WebSockets.Seconds to wait after the container starts before the first probe.
periodSeconds30Seconds between probes.
successThreshold1Consecutive successes that mark the probe as successful again after a failure.
failureThreshold5Consecutive failures before Kubernetes marks the pod as not ready (readiness probe) or restarts the container (startup and liveness probes).
timeoutSeconds1Seconds after which a probe request counts as failed.

The timing values match the fields of the same name in the Kubernetes probe configuration.

Tune a probe​

Set only the values you want to change. The chart keeps the defaults for all other values.

The following example enables the startup probe of the Orchestration Cluster. Kubernetes restarts the container if the probe fails 30 times in a row, 10 seconds apart. Until the startup probe succeeds, Kubernetes doesn't run the readiness and liveness probes.

orchestration:
startupProbe:
enabled: true
periodSeconds: 10
failureThreshold: 30

To change a Camunda Hub probe, set the value under camundaHub. The following example raises the timeout of the Camunda Hub REST API readiness probe to five seconds:

camundaHub:
restapi:
readinessProbe:
timeoutSeconds: 5