class K8S::Api::Core::V1::NodeAffinity
- K8S::Api::Core::V1::NodeAffinity
- Reference
- Object
Overview
Node affinity is a group of node affinity scheduling rules.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.14/api/core/v1/node_affinity.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, preferred_during_scheduling_ignored_during_execution : Array? = nil, required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector? = nil)
Instance Method Summary
- #preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PreferredSchedulingTerm)?
- #preferred_during_scheduling_ignored_during_execution=(preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PreferredSchedulingTerm)?)
- #required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector?
- #required_during_scheduling_ignored_during_execution=(required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector?)
Constructor Detail
def self.new(*, preferred_during_scheduling_ignored_during_execution : Array? = nil, required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector? = nil)
#
Instance Method Detail
def preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PreferredSchedulingTerm)?
#
def preferred_during_scheduling_ignored_during_execution=(preferred_during_scheduling_ignored_during_execution : Array(Api::Core::V1::PreferredSchedulingTerm)?)
#
def required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector?
#
def required_during_scheduling_ignored_during_execution=(required_during_scheduling_ignored_during_execution : Api::Core::V1::NodeSelector?)
#