WeightedPodAffinityTermPatch

data class WeightedPodAffinityTermPatch(val podAffinityTerm: PodAffinityTermPatch? = null, val weight: Int? = null)

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

Constructors

Link copied to clipboard
constructor(podAffinityTerm: PodAffinityTermPatch? = null, weight: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
val weight: Int? = null

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