class Kubernetes::Resources::Pod::Spec

Included Modules

Defined in:

kubernetes/resources/pod/spec.cr
kubernetes/resources/pod/spec/container.cr
kubernetes/resources/pod/spec/container/env_variable.cr
kubernetes/resources/pod/spec/container/volume_mount.cr
kubernetes/resources/pod/spec/toleration.cr
kubernetes/resources/pod/spec/volume.cr
kubernetes/resources/pod/spec/volume/host_path.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def add_toleration(key, value, effect) #

[View source]
def containers : Array(Kubernetes::Resources::Pod::Spec::Container) | Nil #

[View source]
def containers=(containers : Array(Kubernetes::Resources::Pod::Spec::Container) | Nil) #

[View source]
def tolerations : Array(Kubernetes::Resources::Pod::Spec::Toleration) | Nil #

[View source]
def tolerations=(tolerations : Array(Kubernetes::Resources::Pod::Spec::Toleration) | Nil) #

[View source]
def volumes : Array(Kubernetes::Resources::Pod::Spec::Volume) | Nil #

[View source]
def volumes=(volumes : Array(Kubernetes::Resources::Pod::Spec::Volume) | Nil) #

[View source]