Argo Workflows · JSON Structure

Argo Workflows Io Argoproj Workflow V1Alpha1 Backoff Structure

Backoff is a backoff strategy to use within retryStrategy

Type: object Properties: 4
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

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

Properties

cap duration factor maxDuration

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-backoff-structure.json",
  "name": "io.argoproj.workflow.v1alpha1.Backoff",
  "description": "Backoff is a backoff strategy to use within retryStrategy",
  "type": "object",
  "properties": {
    "cap": {
      "description": "Cap is a limit on revised values of the duration parameter. If a multiplication by the factor parameter would make the duration exceed the cap then the duration is set to the cap",
      "type": "string"
    },
    "duration": {
      "description": "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")",
      "type": "string"
    },
    "factor": {
      "description": "Factor is a factor to multiply the base duration after each failed retry",
      "$ref": "#/definitions/io.k8s.apimachinery.pkg.util.intstr.IntOrString"
    },
    "maxDuration": {
      "description": "MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy. It is important to note that if the workflow template includes activeDeadlineSeconds, the pod's deadline is initially set with activeDeadlineSeconds. However, when the workflow fails, the pod's deadline is then overridden by maxDuration. This ensures that the workflow does not exceed the specified maximum duration when retries are involved.",
      "type": "string"
    }
  }
}