interface ContainerHealthCheckSpec {
    failureThreshold: number;
    http?: Container.v1beta1.ContainerHealthCheckSpecHTTPProbe;
    interval?: string;
    tcp?: ContainerHealthCheckSpecTCPProbe;
}

Properties

failureThreshold: number

During a deployment, if a newly created container fails to pass the health check, the deployment is aborted. As a result, lowering this value can help to reduce the time it takes to detect a failed deployment.

HTTP health check configuration.

One-of ('probe'): at most one of 'http', 'tcp' could be set.

interval?: string

Period between health checks.

TCP health check configuration.

One-of ('probe'): at most one of 'http', 'tcp' could be set.