oz0 server healthcheck

Usage and flags for oz0 server healthcheck.

For: Operators and developers looking up a command.

Ask a server on this machine whether it is ready (GET /readyz on the edge's HTTPS port, which a fenced edge answers with 503) and exit 0 when it is, 1 when not. It is meant for HEALTHCHECK in a container and compose's depends_on. It reads only the answer's status, and the server's certificate comes from the cluster's own CA, which this command does not have, so it does not check the certificate: it takes loopback addresses only.

Usage

oz0 server healthcheck [flags]

Flags

FlagTypeDefaultDescription
--timeoutduration5show long to wait for an answer
--urlstringhttps://127.0.0.1:7443/readyzthe readiness address to ask, on this machine

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026