class K8S::Api::Node::V1alpha1::RuntimeClassSpec

Overview

RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.

Included Modules

Defined in:

versions/v1.20/api/node/v1alpha1/runtime_class_spec.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(*, runtime_handler : String, overhead : Api::Node::V1alpha1::Overhead? = nil, scheduling : Api::Node::V1alpha1::Scheduling? = nil) #

[View source]

Instance Method Detail


[View source]
def overhead=(overhead : Api::Node::V1alpha1::Overhead?) #

[View source]
def runtime_handler : String #

[View source]
def runtime_handler=(runtime_handler : String) #

[View source]

[View source]
def scheduling=(scheduling : Api::Node::V1alpha1::Scheduling?) #

[View source]