class K8S::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)

Included Modules

Defined in:

versions/v1.21/api/core/v1/weighted_pod_affinity_term.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, pod_affinity_term : Api::Core::V1::PodAffinityTerm, weight : Int32) #

[View source]

Instance Method Detail

def pod_affinity_term : Api::Core::V1::PodAffinityTerm #

[View source]
def pod_affinity_term=(pod_affinity_term : Api::Core::V1::PodAffinityTerm) #

[View source]
def weight : Int32 #

[View source]
def weight=(weight : Int32) #

[View source]