class K8S::Api::Core::V1::PodSpec
- K8S::Api::Core::V1::PodSpec
- Reference
- Object
Overview
PodSpec is a description of a pod.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.15/api/core/v1/pod_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, containers : Array(Api::Core::V1::Container), active_deadline_seconds : Int32? = nil, affinity : Api::Core::V1::Affinity? = nil, automount_service_account_token : Bool? = nil, dns_config : Api::Core::V1::PodDNSConfig? = nil, dns_policy : String? = nil, enable_service_links : Bool? = nil, host_aliases : Array(Api::Core::V1::HostAlias)? = nil, host_ipc : Bool? = nil, host_network : Bool? = nil, host_pid : Bool? = nil, hostname : String? = nil, image_pull_secrets : Array(Api::Core::V1::LocalObjectReference)? = nil, init_containers : Array(Api::Core::V1::Container)? = nil, node_name : String? = nil, node_selector : Hash(String, String)? = nil, preemption_policy : String? = nil, priority : Int32? = nil, priority_class_name : String? = nil, readiness_gates : Array(Api::Core::V1::PodReadinessGate)? = 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(Api::Core::V1::Toleration)? = nil, volumes : Array(Api::Core::V1::Volume)? = nil)
Instance Method Summary
- #active_deadline_seconds : Int32?
- #active_deadline_seconds=(active_deadline_seconds : Int32?)
- #affinity : Api::Core::V1::Affinity?
- #affinity=(affinity : Api::Core::V1::Affinity?)
- #automount_service_account_token : Bool?
- #automount_service_account_token=(automount_service_account_token : Bool?)
- #containers : Array(Api::Core::V1::Container)
- #containers=(containers : Array(Api::Core::V1::Container))
- #dns_config : Api::Core::V1::PodDNSConfig?
- #dns_config=(dns_config : Api::Core::V1::PodDNSConfig?)
- #dns_policy : String?
- #dns_policy=(dns_policy : String?)
- #enable_service_links : Bool?
- #enable_service_links=(enable_service_links : Bool?)
- #host_aliases : Array(Api::Core::V1::HostAlias)?
- #host_aliases=(host_aliases : Array(Api::Core::V1::HostAlias)?)
- #host_ipc : Bool?
- #host_ipc=(host_ipc : Bool?)
- #host_network : Bool?
- #host_network=(host_network : Bool?)
- #host_pid : Bool?
- #host_pid=(host_pid : Bool?)
- #hostname : String?
- #hostname=(hostname : String?)
- #image_pull_secrets : Array(Api::Core::V1::LocalObjectReference)?
- #image_pull_secrets=(image_pull_secrets : Array(Api::Core::V1::LocalObjectReference)?)
- #init_containers : Array(Api::Core::V1::Container)?
- #init_containers=(init_containers : Array(Api::Core::V1::Container)?)
- #node_name : String?
- #node_name=(node_name : String?)
- #node_selector : Hash(String, String)?
- #node_selector=(node_selector : Hash(String, String)?)
- #preemption_policy : String?
- #preemption_policy=(preemption_policy : String?)
- #priority : Int32?
- #priority=(priority : Int32?)
- #priority_class_name : String?
- #priority_class_name=(priority_class_name : String?)
- #readiness_gates : Array(Api::Core::V1::PodReadinessGate)?
- #readiness_gates=(readiness_gates : Array(Api::Core::V1::PodReadinessGate)?)
- #restart_policy : String?
- #restart_policy=(restart_policy : String?)
- #runtime_class_name : String?
- #runtime_class_name=(runtime_class_name : String?)
- #scheduler_name : String?
- #scheduler_name=(scheduler_name : String?)
- #security_context : Api::Core::V1::PodSecurityContext?
- #security_context=(security_context : Api::Core::V1::PodSecurityContext?)
- #service_account : String?
- #service_account=(service_account : String?)
- #service_account_name : String?
- #service_account_name=(service_account_name : String?)
- #share_process_namespace : Bool?
- #share_process_namespace=(share_process_namespace : Bool?)
- #subdomain : String?
- #subdomain=(subdomain : String?)
- #termination_grace_period_seconds : Int32?
- #termination_grace_period_seconds=(termination_grace_period_seconds : Int32?)
- #tolerations : Array(Api::Core::V1::Toleration)?
- #tolerations=(tolerations : Array(Api::Core::V1::Toleration)?)
- #volumes : Array(Api::Core::V1::Volume)?
- #volumes=(volumes : Array(Api::Core::V1::Volume)?)
Constructor Detail
Instance Method Detail
def image_pull_secrets=(image_pull_secrets : Array(Api::Core::V1::LocalObjectReference)?)
#