Argo Workflows · Schema

io.k8s.api.core.v1.WeightedPodAffinityTerm

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

CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

Properties

Name Type Description
podAffinityTerm object Required. A pod affinity term, associated with the corresponding weight.
weight integer weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
View JSON Schema on GitHub

JSON Schema

argo-workflows-io-k8s-api-core-v1-weighted-pod-affinity-term-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-weighted-pod-affinity-term-schema.json",
  "title": "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": "integer"
    }
  },
  "required": [
    "weight",
    "podAffinityTerm"
  ]
}