class K8S::Api::Core::V1::PreferredSchedulingTerm

Overview

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

Included Modules

Defined in:

versions/v1.18/api/core/v1/preferred_scheduling_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(*, preference : Api::Core::V1::NodeSelectorTerm, weight : Int32) #

[View source]

Instance Method Detail


[View source]
def preference=(preference : Api::Core::V1::NodeSelectorTerm) #

[View source]
def weight : Int32 #

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

[View source]