PodTemplateSpec

data class PodTemplateSpec(val metadata: ObjectMeta? = null, val spec: PodSpec? = null)

PodTemplateSpec describes the data a pod should have when created from a template

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val metadata: ObjectMeta? = null

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

Link copied to clipboard
val spec: PodSpec? = null

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