OBJECT

KubernetesKindDeploymentSpecTemplateSpecContainersStartupProbe

StartupProbe 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

link GraphQL Schema definition

  • type KubernetesKindDeploymentSpecTemplateSpecContainersStartupProbe {
  • # One and only one of the following should be specified. Exec specifies the action
  • # to take.
  • exec: KubernetesKindDeploymentSpecTemplateSpecContainersStartupProbeExec
  • # Minimum consecutive failures for the probe to be considered failed after having
  • # succeeded. Defaults to 3. Minimum value is 1.
  • failureThreshold: Int
  • # HTTPGet specifies the http request to perform.
  • httpGet: KubernetesKindDeploymentSpecTemplateSpecContainersStartupProbeHttpGet
  • # Number of seconds after the container has started before liveness probes are
  • # initiated. More info:
  • # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  • initialDelaySeconds: Int
  • # How often (in seconds) to perform the probe. Default to 10 seconds. Minimum
  • # value is 1.
  • periodSeconds: Int
  • # Minimum consecutive successes for the probe to be considered successful after
  • # having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value
  • # is 1.
  • successThreshold: Int
  • # TCPSocket specifies an action involving a TCP port. TCP hooks not yet supported
  • # TODO: implement a realistic TCP lifecycle hook
  • tcpSocket: KubernetesKindDeploymentSpecTemplateSpecContainersStartupProbeTcpSocket
  • # Number of seconds after which the probe times out. Defaults to 1 second. Minimum
  • # value is 1. More info:
  • # https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
  • timeoutSeconds: Int
  • }