Share via


ExecActionV1 Class

Definition

ExecActionV1 represents an action that executes a command within a container.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class ExecActionV1
[<YamlDotNet.Serialization.YamlSerializable>]
type ExecActionV1 = class
Public NotInheritable Class ExecActionV1
Inheritance
ExecActionV1
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

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.

Constructors

ExecActionV1()

Properties

Command

Gets the list of commands to be executed. This property represents the specific command-line arguments that will be invoked as part of the execution action.

Applies to