Watch Aspire live streamsDocsTry Aspire

LifecycleHandlerV1

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
Represents a handler for Kubernetes lifecycle events.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class LifecycleHandlerV1
{
// ...
}
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.
View all constructors
View all properties