Argo Workflows · Schema

io.k8s.api.core.v1.ExecAction

ExecAction describes a "run in container" action.

CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

Properties

Name Type Description
command array Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a she
View JSON Schema on GitHub

JSON Schema

argo-workflows-io-k8s-api-core-v1-exec-action-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-schema/argo-workflows-io-k8s-api-core-v1-exec-action-schema.json",
  "title": "io.k8s.api.core.v1.ExecAction",
  "description": "ExecAction describes a \"run in container\" action.",
  "type": "object",
  "properties": {
    "command": {
      "description": "Command is the command line to execute inside the container, the working directory for the command  is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy.",
      "type": "array",
      "items": {
        "type": "string"
      },
      "x-kubernetes-list-type": "atomic"
    }
  }
}