WeightedPodAffinityTermPatchArgs

data class WeightedPodAffinityTermPatchArgs(val podAffinityTerm: Output<PodAffinityTermPatchArgs>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<WeightedPodAffinityTermPatchArgs>

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<PodAffinityTermPatchArgs>? = null, weight: Output<Int>? = null)

Properties

Link copied to clipboard

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

Link copied to clipboard
val weight: Output<Int>? = null

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

Functions

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