Skip to content
Docs Try Aspire

ExecActionV1

Class sealed net8.0
📦 Aspire.Hosting.Kubernetes v13.2.0-preview.1.26170.3
ExecActionV1 represents an action that executes a command within a container.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class ExecActionV1
{
// ...
}
This action defines the execution of a command line inside a container. It is commonly used in Kubernetes resources such as lifecycle hooks or probes to perform specific actions like health checks or custom scripts.