class K8S::Api::Core::V1::PreferredSchedulingTerm
- K8S::Api::Core::V1::PreferredSchedulingTerm
- Reference
- Object
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
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.20/api/core/v1/preferred_scheduling_term.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, preference : Api::Core::V1::NodeSelectorTerm, weight : Int32)
Instance Method Summary
- #preference : Api::Core::V1::NodeSelectorTerm
- #preference=(preference : Api::Core::V1::NodeSelectorTerm)
- #weight : Int32
- #weight=(weight : Int32)