Skip to main content
Kubernetes liveness, readiness, and startup probes for the TON node.

Available endpoints

The TON node metrics HTTP server exposes two health endpoints: Both endpoints return HTTP 200 with a JSON body:
These endpoints are served by the same HTTP server as /metrics and require the metrics section in the node config.

Enabling probes

Probes require ports.metrics to be set in the Helm values:
The port: metrics value references the named container port and resolves to the value defined in ports.metrics.

Startup probe

The startup probe is critical for TON nodes. The node may take several minutes to start, depending on:
  • Database size and integrity checks.
  • State loading and Merkle tree reconstruction.
  • Network bootstrap and peer discovery.
Without a startup probe, the liveness probe may restart the pod before the node finishes initializing. Recommended settings: Once the startup probe succeeds, Kubernetes switches to the liveness and readiness probes.

Tuning

Validators

Validators have stricter uptime requirements. Use tighter probe settings:

Full nodes and liteservers

Full nodes are more tolerant of brief interruptions. The default values from the enabling probes are appropriate.

Without the metrics port

If the metrics HTTP server cannot be enabled, configure a TCP socket probe on the control port as a basic liveness check:
A TCP socket probe only verifies that the port accepts connections. It does not check node health. Use this approach only when the metrics endpoint cannot be enabled.