class K8S::Api::Core::V1::WeightedPodAffinityTerm
- K8S::Api::Core::V1::WeightedPodAffinityTerm
 - Reference
 - Object
 
Overview
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
Included Modules
- JSON::Serializable
 - YAML::Serializable
 
Defined in:
versions/v1.21/api/core/v1/weighted_pod_affinity_term.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
 - .new(pull : JSON::PullParser)
 - .new(*, pod_affinity_term : Api::Core::V1::PodAffinityTerm, weight : Int32)
 
Instance Method Summary
- #pod_affinity_term : Api::Core::V1::PodAffinityTerm
 - #pod_affinity_term=(pod_affinity_term : Api::Core::V1::PodAffinityTerm)
 - #weight : Int32
 - #weight=(weight : Int32)