class Pyrite::Api::Node::V1beta1::RuntimeClass

Overview

RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md

Defined in:

versions/v1.14/api/node/v1beta1/runtime_class.cr

Constructors

Instance Method Summary

Instance methods inherited from class Pyrite::Kubernetes::Object

metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? metadata, metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?) metadata=

Constructor methods inherited from class Pyrite::Kubernetes::Object

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Instance methods inherited from class Pyrite::Kubernetes::Resource

api_version : String api_version, kind : String kind

Constructor methods inherited from class Pyrite::Kubernetes::Resource

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md


def self.new(pull : JSON::PullParser) #

RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md


def self.new(*, handler : String, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil) #

Instance Method Detail

def handler : String #

def handler=(handler : String) #