Argo Workflows · Schema

io.k8s.api.core.v1.PreferredSchedulingTerm

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

CNCFContainersData ProcessingKubernetesMachine LearningOpen SourceWorkflow Engine

Properties

Name Type Description
preference object A node selector term, associated with the corresponding weight.
weight integer Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
View JSON Schema on GitHub

JSON Schema

argo-workflows-io-k8s-api-core-v1-preferred-scheduling-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-preferred-scheduling-term-schema.json",
  "title": "io.k8s.api.core.v1.PreferredSchedulingTerm",
  "description": "An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).",
  "type": "object",
  "properties": {
    "preference": {
      "description": "A node selector term, associated with the corresponding weight.",
      "$ref": "#/definitions/io.k8s.api.core.v1.NodeSelectorTerm"
    },
    "weight": {
      "description": "Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.",
      "type": "integer"
    }
  },
  "required": [
    "weight",
    "preference"
  ]
}