class K8S::Api::Node::V1alpha1::Scheduling
- K8S::Api::Node::V1alpha1::Scheduling
- Reference
- Object
Overview
Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.18/api/node/v1alpha1/scheduling.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, node_selector : Hash(String, String)? = nil, tolerations : Array(Api::Core::V1::Toleration)? = nil)
Instance Method Summary
- #node_selector : Hash(String, String)?
- #node_selector=(node_selector : Hash(String, String)?)
- #tolerations : Array(Api::Core::V1::Toleration)?
- #tolerations=(tolerations : Array(Api::Core::V1::Toleration)?)
Constructor Detail
def self.new(*, node_selector : Hash(String, String)? = nil, tolerations : Array(Api::Core::V1::Toleration)? = nil)
#