class Pyrite::Api::Core::V1::WeightedPodAffinityTerm
Overview
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
Defined in:
versions/v1.14/api/core/v1/weighted_pod_affinity_term.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
-
.new(pull : JSON::PullParser)
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
- .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)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)
def self.new(pull : JSON::PullParser)
#
The weights of all of the matched WeightedPodAffinityTerm fields are added per-node to find the most preferred node(s)