kubernetes v1.32

ReplicaSetSpec.template.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution

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

2 fields
ReplicaSetSpec.template.spec.affinity.podAffinity.preferredDuringSchedulingIgnoredDuringExecution fields and descriptions
Field / TypeDescription
PodAffinityTerm required

Required. A pod affinity term, associated with the corresponding weight.

weight
integer required

weight associated with matching the corresponding podAffinityTerm, in the range 1-100.

  • format: int32