Builder

class Builder

Properties

Link copied to clipboard

A string array that specifies the command that the container runs to determine if it's healthy.

Link copied to clipboard

The time period (in seconds) between each health check.

Link copied to clipboard
var retries: Int?

The number of times to retry a failed health check before flagging the container unhealthy. The first run of the command does not count as a retry.

Link copied to clipboard

The optional grace period (in seconds) to give a container time to bootstrap before the first failed health check counts toward the number of retries.

Link copied to clipboard
var timeout: Int?

The time period (in seconds) to wait for a health check to succeed before counting a failed health check.