class K8S::Api::Core::V1::PodAntiAffinity

Overview

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

Included Modules

Defined in:

versions/v1.23/api/core/v1/pod_anti_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? = nil, required_during_scheduling_ignored_during_execution : Array? = 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]