{
  "description": "LifecycleHandler defines a specific action that should be taken in a lifecycle hook. One and only one of the fields, except TCPSocket must be specified.",
  "properties": {
    "exec": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.ExecAction",
      "description": "Exec specifies the action to take."
    },
    "httpGet": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.HTTPGetAction",
      "description": "HTTPGet specifies the http request to perform."
    },
    "tcpSocket": {
      "$ref": "/api/_definitions.json#/$defs/io.k8s.api.core.v1.TCPSocketAction",
      "description": "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."
    }
  },
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://kubernetes.io/api/lifecyclehandler/v1"
}