prometheus operator v0.93.1

PrometheusAgent.spec.initContainers[].lifecycle.postStart.exec.spec.containers.lifecycle.postStart

PostStart is called immediately after a container is created. If the handler fails, the container is terminated and restarted according to its restart policy. Other management of the container blocks until the hook completes. More info: https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/#container-hooks

4 fields
PrometheusAgent.spec.initContainers[].lifecycle.postStart.exec.spec.containers.lifecycle.postStart fields and descriptions
Field / TypeDescription
object

Exec specifies a command to execute in the container.

object

HTTPGet specifies an HTTP GET request to perform.

object

Sleep represents a duration that the container should sleep.

object

Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for backward compatibility. There is no validation of this field and lifecycle hooks will fail at runtime when it is specified.