WeightedPodAffinityTermArgs

data class WeightedPodAffinityTermArgs(val podAffinityTerm: Output<PodAffinityTermArgs>, val weight: Output<Int>) : ConvertibleToJava<WeightedPodAffinityTermArgs>

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: Output<PodAffinityTermArgs>, weight: Output<Int>)

Properties

Link copied to clipboard

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

Link copied to clipboard
val weight: Output<Int>

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

Functions

Link copied to clipboard
open override fun toJava(): WeightedPodAffinityTermArgs