struct Kubernetes::Pod::Spec

Included Modules

Defined in:

kubernetes.cr:354
kubernetes.cr:645

Constructors

Instance Method Summary

Macros inherited from module Kubernetes::Serializable

add_field(type, getter_type, key = nil, **args, &block) add_field, field(type, key = nil, **args, &block) field, field?(type, key = nil, **args, &block) field?

Constructor Detail

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

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

Instance Method Detail

def containers : Array(Container) #

def dns_policy : String #

def node_name : String #

def restart_policy : String | Nil #

def scheduler_name : String #

def security_context : JSON::Any #

def service_account : String | Nil #

def service_account_name : String | Nil #

def termination_grace_period_seconds : Int32 #

def tolerations : Array(Toleration) #

def volumes : Array(Volume) #