class K8S::Api::Core::V1::PodAffinity

Overview

Pod affinity is a group of inter pod affinity scheduling rules.

Included Modules

Defined in:

versions/v1.11/api/core/v1/pod_affinity.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(*, preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)? = nil, required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)? = nil) #

[View source]

Instance Method Detail

def preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)? #

[View source]
def preferred_during_scheduling_ignored_during_execution=(preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::WeightedPodAffinityTerm)?) #

[View source]
def required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)? #

[View source]
def required_during_scheduling_ignored_during_execution=(required_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PodAffinityTerm)?) #

[View source]