prometheus operator v0.93.1
Prometheus.spec.initContainers[].startupProbe.httpGet.port.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
| Field / Type | Description |
|---|---|
Exec specifies a command to execute in the container. | |
HTTPGet specifies an HTTP GET request to perform. | |
Sleep represents a duration that the container should sleep. | |
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. |