Skip to content
Docs Try Aspire

ExecActionV1

Class sealed net10.0
📦 Aspire.Hosting.Kubernetes v13.1.2-preview.1.26125.13
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.