Documentation Index
Fetch the complete documentation index at: https://mintlify.com/chaos-mesh/chaos-mesh/llms.txt
Use this file to discover all available pages before exploring further.
StatusCheck allows you to check the health and status of services continuously or synchronously, typically used within workflows to verify system state.
API Version and Kind
Metadata
Standard Kubernetes object metadata.Name of the StatusCheck resource.
Namespace of the StatusCheck resource. Defaults to
default.Spec Fields
Defines the behavior of the status check.
StatusCheckSpec
Execution mode of the status check.Enum values:
Synchronous- Exit immediately after success or failureContinuous- Continue until duration exceeded or failure threshold exceeded
Type of status check to perform.Enum values:
HTTP- HTTP endpoint health check
Duration of the status check if failure threshold is not exceeded.Available in both
Synchronous and Continuous modes.A duration string with format like "300ms", "1.5h", or "2h45m".Valid time units: ns, us (µs), ms, s, m, hNumber of seconds after which a status check execution times out.Minimum:
1How often (in seconds) to perform a status check execution.Minimum:
1Minimum consecutive failures for the status check to be considered failed.Minimum:
1Minimum consecutive successes for the status check to be considered successful.Only works for
Synchronous mode.Minimum: 1Number of status check records to retain in history.Minimum:
1Maximum: 1000HTTP status check configuration. Used when type is
HTTP.HTTPStatusCheck
HTTP endpoint URL to check.
HTTP request method.Enum values:
GETPOST
HTTP request headers.
HTTP request body (for POST requests).
Criteria to determine the result of the status check.
HTTPCriteria
Expected HTTP status code(s).Can be:or
- Single code:
"200" - Inclusive range:
"200-400"(both 200 and 400 are included)
Status Fields
Most recently observed status of the status check.
StatusCheckStatus
Time when the status check started execution.
Time when the status check was completed.
Total number of status check executions.
Latest available observations of the StatusCheck’s current state.
History of status check execution records.