kubernetes v1.34

DeploymentSpec.template.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution

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).

2 fields
DeploymentSpec.template.spec.affinity.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution fields and descriptions
Field / TypeDescription
NodeSelectorTerm required

A node selector term, associated with the corresponding weight.

  • x-kubernetes-map-type: "atomic"
weight
integer required

Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

  • format: int32