struct V1::HealthConfig
- V1::HealthConfig
- Struct
- Value
- Object
Overview
HealthConfig holds configuration settings for the HEALTHCHECK feature. Test is the test to perform to check that the container is healthy. An empty slice means to inherit the default. The options are: {} : inherit healthcheck {"NONE"} : disable healthcheck {"CMD", args...} : exec arguments directly {"CMD-SHELL", command} : run command with system's default shell
Defined in:
v1/config.crConstructors
Instance Method Summary
- #interval : Duration?
- #interval=(_interval : Duration?)
- #retries : Int32?
- #retries=(_retries : Int32?)
- #start_period : Duration?
- #start_period=(_start_period : Duration?)
- #test : Array(String)?
- #test=(_test : Array(String)?)
- #timeout : Duration?
- #timeout=(_timeout : Duration?)
- #to_json(json : JSON::Builder)