Argo Workflows · JSON Structure

Argo Workflows Io K8S Api Core V1 Resource Requirements Structure

ResourceRequirements describes the compute resource requirements.

Type: object Properties: 3
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

io.k8s.api.core.v1.ResourceRequirements 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

claims limits requests

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-k8s-api-core-v1-resource-requirements-structure.json",
  "name": "io.k8s.api.core.v1.ResourceRequirements",
  "description": "ResourceRequirements describes the compute resource requirements.",
  "type": "object",
  "properties": {
    "claims": {
      "description": "Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container.\n\nThis field depends on the DynamicResourceAllocation feature gate.\n\nThis field is immutable. It can only be set for containers.",
      "type": "array",
      "items": {
        "$ref": "#/definitions/io.k8s.api.core.v1.ResourceClaim"
      },
      "x-kubernetes-list-map-keys": [
        "name"
      ],
      "x-kubernetes-list-type": "map"
    },
    "limits": {
      "description": "Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
      }
    },
    "requests": {
      "description": "Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
      }
    }
  }
}