class K8S::Api::Core::V1::NodeAffinity

Overview

Node affinity is a group of node affinity scheduling rules.

Included Modules

Defined in:

versions/v1.11/api/core/v1/node_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::PreferredSchedulingTerm)? = nil, required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector? = nil) #

[View source]

Instance Method Detail

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

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

[View source]
def required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector? #

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

[View source]