Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CronJobProps

Hierarchy

Index

Properties

Optional Readonly cmd

cmd: string[]

Container commands.

default

[]

Optional Readonly containerPort

containerPort: number

Internal port.

default

port

Optional Readonly createServiceAccount

createServiceAccount: boolean

Creates a service account and attach it to any deployment pods. serviceAccountName: release name

Optional Readonly env

env: { name: string; value: string }[]

Extra env variables.

default

[]

Optional Readonly failureLimit

failureLimit: number

The number of failed jobs to retain.

default

1

Readonly image

image: string

The Docker image to use for this service.

Optional Readonly noContainerPorts

noContainerPorts: boolean

If set to true, no container ports will be specified.

Optional Readonly port

port: number

External port.

default

80

Optional Readonly pullPolicy

pullPolicy: "IfNotPresent" | "Always" | "Never"

Container pull policy.

default

"IfNotPresent"

Optional Readonly replicas

replicas: number

Number of replicas to start.

default

1

Optional Readonly restartPolicy

restartPolicy: "Always" | "Never" | "OnFailure"

Restart policy for all containers.

default

"Never"

Readonly schedule

schedule: string

The schedule in Cron format.

Optional Readonly secret

secret: string

Secrets for deployment.

default

undefined

Optional Readonly secretMounts

secretMounts: { mountPath: string; name: string; subPath: string }[]

Secret volume mounts for cronjob container.

default

undefined

Optional Readonly successLimit

successLimit: number

The number of successful finished jobs to retain.

default

1

Optional Readonly tag

tag: string

The tag for the docker image.

Optional Readonly volumeMounts

volumeMounts: VolumeMount[]

Volume mounts for deployment container.

default

[]

Generated using TypeDoc