LifecycleHandlerV1
Class sealed net10.0
Represents a handler for Kubernetes lifecycle events.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class LifecycleHandlerV1{ // ...} 5 members
Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties4
Section titled PropertiesExecget; set Represents an action that executes a command within a container.
HttpGetget; set Represents the HTTP GET action associated with a lifecycle handler in Kubernetes resources.
Sleepget; set Gets or sets a sleep action configuration for a lifecycle handler.
TcpSocketget; set Gets or sets the TcpSocketActionV1 property.