LifecycleHandlerV1 Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a handler for Kubernetes lifecycle events.
[YamlDotNet.Serialization.YamlSerializable]
public sealed class LifecycleHandlerV1
[<YamlDotNet.Serialization.YamlSerializable>]
type LifecycleHandlerV1 = class
Public NotInheritable Class LifecycleHandlerV1
- Inheritance
-
LifecycleHandlerV1
- Attributes
-
YamlDotNet.Serialization.YamlSerializableAttribute
Remarks
A LifecycleHandlerV1 defines actions to be executed as part of the Kubernetes Pod lifecycle, such as pre-stop and post-start events. It supports multiple action types, including executing a command, sleeping for a duration, making HTTP GET requests, or establishing TCP socket connections.
Constructors
LifecycleHandlerV1() |
Properties
Exec |
Represents an action that executes a command within a container. |
HttpGet |
Represents the HTTP GET action associated with a lifecycle handler in Kubernetes resources. |
Sleep |
Gets or sets a sleep action configuration for a lifecycle handler. |
TcpSocket |
Gets or sets the TcpSocketActionV1 property. |