class K8S::Api::Batch::V1::JobSpec
- K8S::Api::Batch::V1::JobSpec
- Reference
- Object
Overview
JobSpec describes how the job execution will look like.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.16/api/batch/v1/job_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, template : Api::Core::V1::PodTemplateSpec, active_deadline_seconds : Int32? = nil, backoff_limit : Int32? = nil, completions : Int32? = nil, manual_selector : Bool? = nil, parallelism : Int32? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, ttl_seconds_after_finished : Int32? = nil)
Instance Method Summary
- #active_deadline_seconds : Int32?
- #active_deadline_seconds=(active_deadline_seconds : Int32?)
- #backoff_limit : Int32?
- #backoff_limit=(backoff_limit : Int32?)
- #completions : Int32?
- #completions=(completions : Int32?)
- #manual_selector : Bool?
- #manual_selector=(manual_selector : Bool?)
- #parallelism : Int32?
- #parallelism=(parallelism : Int32?)
- #selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
- #template : Api::Core::V1::PodTemplateSpec
- #template=(template : Api::Core::V1::PodTemplateSpec)
- #ttl_seconds_after_finished : Int32?
- #ttl_seconds_after_finished=(ttl_seconds_after_finished : Int32?)
Constructor Detail
def self.new(*, template : Api::Core::V1::PodTemplateSpec, active_deadline_seconds : Int32? = nil, backoff_limit : Int32? = nil, completions : Int32? = nil, manual_selector : Bool? = nil, parallelism : Int32? = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil, ttl_seconds_after_finished : Int32? = nil)
#