Argo Workflows · JSON Structure

Argo Workflows Io K8S Api Core V1 Weighted Pod Affinity Term Structure

The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)

Type: object Properties: 2 Required: 2
CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

io.k8s.api.core.v1.WeightedPodAffinityTerm is a JSON Structure definition published by Argo Workflows, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

podAffinityTerm weight

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-weighted-pod-affinity-term-structure.json",
  "name": "io.k8s.api.core.v1.WeightedPodAffinityTerm",
  "description": "The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)",
  "type": "object",
  "properties": {
    "podAffinityTerm": {
      "description": "Required. A pod affinity term, associated with the corresponding weight.",
      "$ref": "#/definitions/io.k8s.api.core.v1.PodAffinityTerm"
    },
    "weight": {
      "description": "weight associated with matching the corresponding podAffinityTerm, in the range 1-100.",
      "type": "int32"
    }
  },
  "required": [
    "weight",
    "podAffinityTerm"
  ]
}