Skip to main content

Interface: KubeCronJob

CronJob structure returned by the k8s API.

See

Extends

Properties

apiVersion?

optional apiVersion: string;

Inherited from

KubeObjectInterface.apiVersion

Defined in

src/lib/k8s/cluster.ts:73


kind

kind: string;

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to.

In CamelCase.

Cannot be updated.

See

more info

Inherited from

KubeObjectInterface.kind

Defined in

src/lib/k8s/cluster.ts:72


metadata

metadata: KubeMetadata;

Inherited from

KubeObjectInterface.metadata

Defined in

src/lib/k8s/cluster.ts:74


spec

spec: object;

Index Signature

[otherProps: string]: any

concurrencyPolicy

concurrencyPolicy: string;

failedJobsHistoryLimit

failedJobsHistoryLimit: number;

jobTemplate

jobTemplate: object;

jobTemplate.spec

spec: object;

jobTemplate.spec.metadata?

optional metadata: Partial<KubeMetadata>;

jobTemplate.spec.template

template: object;

jobTemplate.spec.template.spec

spec: object;

jobTemplate.spec.template.spec.containers

containers: KubeContainer[];

jobTemplate.spec.template.spec.metadata?

optional metadata: Partial<KubeMetadata>;

schedule

schedule: string;

startingDeadlineSeconds?

optional startingDeadlineSeconds: number;

successfulJobsHistoryLimit

successfulJobsHistoryLimit: number;

suspend

suspend: boolean;

Defined in

src/lib/k8s/cronJob.ts:12


status

status: object;

Index Signature

[otherProps: string]: any

Defined in

src/lib/k8s/cronJob.ts:32