Cloud API Overview > @adpt/cloud > k8s > ContainerSpec > startupProbe
k8s.ContainerSpec.startupProbe property
Indicates that the Pod has successfully initialized.
If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation.
This cannot be updated. This is a beta feature enabled by the StartupProbe feature flag. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
Signature:
startupProbe?: Probe;