Probe

Probes have a number of fields that you can use to control their behavior.

Properties

Name Type Required
initialDelaySeconds integer No
periodSeconds integer No
timeoutSeconds integer No
successThreshold integer No
failureThreshold integer No
exec ProbeExec No
httpGet ProbeHttpGet No
tcpSocket ProbeTcpSocket No

initialDelaySeconds

Type: integer
Required: No
Default: 0

The initial delay in seconds to start executing probe once codepackage has started.


periodSeconds

Type: integer
Required: No
Default: 10

Periodic seconds to execute probe.


timeoutSeconds

Type: integer
Required: No
Default: 1

Period after which probe is considered as failed if it hasn't completed successfully.


successThreshold

Type: integer
Required: No
Default: 1

The count of successful probe executions after which probe is considered success.


failureThreshold

Type: integer
Required: No
Default: 3

The count of failures after which probe is considered failed.


exec

Type: ProbeExec
Required: No

Exec command to run inside the container.


httpGet

Type: ProbeHttpGet
Required: No

Http probe for the container.


tcpSocket

Type: ProbeTcpSocket
Required: No

Tcp port to probe inside the container.