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
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.13/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)