prometheus operator v0.71.2

PrometheusAgent.spec.containers[].env.valueFrom.configMapKeyRef.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

3 fields
PrometheusAgent.spec.containers[].env.valueFrom.configMapKeyRef.spec.containers.lifecycle.postStart fields and descriptions
Field / TypeDescription
object

Exec specifies the action to take.

object

HTTPGet specifies the http request to perform.

object

Deprecated. TCPSocket is NOT supported as a LifecycleHandler and kept for the backward compatibility. There are no validation of this field and lifecycle hooks will fail in runtime when tcp handler is specified.