JobTemplateSpec

data class JobTemplateSpec(val metadata: ObjectMeta? = null, val spec: JobSpec? = null)

JobTemplateSpec describes the data a Job should have when created from a template

Constructors

Link copied to clipboard
constructor(metadata: ObjectMeta? = null, spec: JobSpec? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val metadata: ObjectMeta? = null

Standard object's metadata of the jobs created from this template. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

Link copied to clipboard
val spec: JobSpec? = null

Specification of the desired behavior of the job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status