ServiceTemplateContainerLivenessProbe constructor
- Input<
int?> ? failureThreshold, - Input<
ServiceTemplateContainerLivenessProbeGrpc?> ? grpc, - Input<
ServiceTemplateContainerLivenessProbeHttpGet?> ? httpGet, - Input<
int?> ? initialDelaySeconds, - Input<
int?> ? periodSeconds, - Input<
ServiceTemplateContainerLivenessProbeTcpSocket?> ? tcpSocket, - Input<
int?> ? timeoutSeconds,
Creates a new ServiceTemplateContainerLivenessProbe.
failureThreshold Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
grpc GRPC specifies an action involving a GRPC port.
httpGet HTTPGet specifies the http request to perform.
initialDelaySeconds Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
periodSeconds How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeoutSeconds
tcpSocket TCPSocketAction describes an action based on opening a socket
timeoutSeconds Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than periodSeconds. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Implementation
const ServiceTemplateContainerLivenessProbe({
this.failureThreshold,
this.grpc,
this.httpGet,
this.initialDelaySeconds,
this.periodSeconds,
this.tcpSocket,
this.timeoutSeconds,
});