Argo Workflows · JSON Structure

Argo Workflows Io Argoproj Workflow V1Alpha1 Pod Gc Structure

PodGC describes how to delete completed pods as they complete

Type: object Properties: 3
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

io.argoproj.workflow.v1alpha1.PodGC is a JSON Structure definition published by Argo Workflows, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

deleteDelayDuration labelSelector strategy

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/argo-workflows/refs/heads/main/json-structure/argo-workflows-io-argoproj-workflow-v1alpha1-pod-gc-structure.json",
  "name": "io.argoproj.workflow.v1alpha1.PodGC",
  "description": "PodGC describes how to delete completed pods as they complete",
  "type": "object",
  "properties": {
    "deleteDelayDuration": {
      "description": "DeleteDelayDuration specifies the duration before pods in the GC queue get deleted.",
      "type": "string"
    },
    "labelSelector": {
      "description": "LabelSelector is the label selector to check if the pods match the labels before being added to the pod GC queue.",
      "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector"
    },
    "strategy": {
      "description": "Strategy is the strategy to use. One of \"OnPodCompletion\", \"OnPodSuccess\", \"OnWorkflowCompletion\", \"OnWorkflowSuccess\". If unset, does not delete Pods",
      "type": "string"
    }
  }
}