class Pyrite::Api::Core::V1::PodSpec

Overview

PodSpec is a description of a pod.

Defined in:

versions/v1.14/api/core/v1/pod_spec.cr

Constructors

Instance Method Summary

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) #

PodSpec is a description of a pod.


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

PodSpec is a description of a pod.


def self.new(*, active_deadline_seconds : Int32? = nil, affinity : Api::Core::V1::Affinity? = nil, automount_service_account_token : Bool? = nil, containers : Array, dns_config : Api::Core::V1::PodDNSConfig? = nil, dns_policy : String? = nil, enable_service_links : Bool? = nil, host_aliases : Array? = nil, host_ipc : Bool? = nil, host_network : Bool? = nil, host_pid : Bool? = nil, hostname : String? = nil, image_pull_secrets : Array? = nil, init_containers : Array? = nil, node_name : String? = nil, node_selector : Hash(String, String)? = nil, priority : Int32? = nil, priority_class_name : String? = nil, readiness_gates : Array? = nil, restart_policy : String? = nil, runtime_class_name : String? = nil, scheduler_name : String? = nil, security_context : Api::Core::V1::PodSecurityContext? = nil, service_account : String? = nil, service_account_name : String? = nil, share_process_namespace : Bool? = nil, subdomain : String? = nil, termination_grace_period_seconds : Int32? = nil, tolerations : Array? = nil, volumes : Array? = nil) #

Instance Method Detail

def active_deadline_seconds : Int32? #

def active_deadline_seconds=(active_deadline_seconds : Int32?) #

def affinity : Api::Core::V1::Affinity? #

def affinity=(affinity : Api::Core::V1::Affinity?) #

def automount_service_account_token : Bool? #

def automount_service_account_token=(automount_service_account_token : Bool?) #

def containers : Array(Api::Core::V1::Container) #

def containers=(containers : Array(Api::Core::V1::Container)) #

def dns_config : Api::Core::V1::PodDNSConfig? #

def dns_config=(dns_config : Api::Core::V1::PodDNSConfig?) #

def dns_policy : String? #

def dns_policy=(dns_policy : String?) #

def enable_service_links : Bool? #

def enable_service_links=(enable_service_links : Bool?) #

def host_aliases : Array(Api::Core::V1::HostAlias)? #

def host_aliases=(host_aliases : Array(Api::Core::V1::HostAlias)?) #

def host_ipc : Bool? #

def host_ipc=(host_ipc : Bool?) #

def host_network : Bool? #

def host_network=(host_network : Bool?) #

def host_pid : Bool? #

def host_pid=(host_pid : Bool?) #

def hostname : String? #

def hostname=(hostname : String?) #

def image_pull_secrets : Array(Api::Core::V1::LocalObjectReference)? #

def image_pull_secrets=(image_pull_secrets : Array(Api::Core::V1::LocalObjectReference)?) #

def init_containers : Array(Api::Core::V1::Container)? #

def init_containers=(init_containers : Array(Api::Core::V1::Container)?) #

def node_name : String? #

def node_name=(node_name : String?) #

def node_selector : Hash(String, String)? #

def node_selector=(node_selector : Hash(String, String)?) #

def priority : Int32? #

def priority=(priority : Int32?) #

def priority_class_name : String? #

def priority_class_name=(priority_class_name : String?) #

def readiness_gates : Array(Api::Core::V1::PodReadinessGate)? #

def readiness_gates=(readiness_gates : Array(Api::Core::V1::PodReadinessGate)?) #

def restart_policy : String? #

def restart_policy=(restart_policy : String?) #

def runtime_class_name : String? #

def runtime_class_name=(runtime_class_name : String?) #

def scheduler_name : String? #

def scheduler_name=(scheduler_name : String?) #

def security_context : Api::Core::V1::PodSecurityContext? #

def security_context=(security_context : Api::Core::V1::PodSecurityContext?) #

def service_account : String? #

def service_account=(service_account : String?) #

def service_account_name : String? #

def service_account_name=(service_account_name : String?) #

def share_process_namespace : Bool? #

def share_process_namespace=(share_process_namespace : Bool?) #

def subdomain : String? #

def subdomain=(subdomain : String?) #

def termination_grace_period_seconds : Int32? #

def termination_grace_period_seconds=(termination_grace_period_seconds : Int32?) #

def tolerations : Array(Api::Core::V1::Toleration)? #

def tolerations=(tolerations : Array(Api::Core::V1::Toleration)?) #

def volumes : Array(Api::Core::V1::Volume)? #

def volumes=(volumes : Array(Api::Core::V1::Volume)?) #