Skip to main content

Interface: KubeJob

Defined in: lib/k8s/job.ts:23

This is the base interface for all Kubernetes resources, i.e. it contains fields that all Kubernetes resources have.

Extends​

Indexable​

[otherProps: string]: any

Properties​

actionType?​

optional actionType?: any;

Defined in: lib/k8s/KubeObject.ts:787

Inherited from​

KubeObjectInterface.actionType


apiVersion?​

optional apiVersion?: string;

Defined in: lib/k8s/KubeObject.ts:782

Inherited from​

KubeObjectInterface.apiVersion


items?​

optional items?: any[];

Defined in: lib/k8s/KubeObject.ts:786

Inherited from​

KubeObjectInterface.items


key?​

optional key?: any;

Defined in: lib/k8s/KubeObject.ts:789

Inherited from​

KubeObjectInterface.key


kind​

kind: string;

Defined in: lib/k8s/KubeObject.ts:781

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


lastTimestamp?​

optional lastTimestamp?: string;

Defined in: lib/k8s/KubeObject.ts:788

Inherited from​

KubeObjectInterface.lastTimestamp


metadata​

metadata: KubeMetadata;

Defined in: lib/k8s/KubeObject.ts:783

Inherited from​

KubeObjectInterface.metadata


spec​

spec: object;

Defined in: lib/k8s/job.ts:24

Index Signature​

[otherProps: string]: any

activeDeadlineSeconds?​

optional activeDeadlineSeconds?: number;

backoffLimit?​

optional backoffLimit?: number;

completionMode?​

optional completionMode?: string;

completions?​

optional completions?: number;

parallelism?​

optional parallelism?: number;

selector?​

optional selector?: LabelSelector;

suspend?​

optional suspend?: boolean;

template​

template: object;
template.metadata?​
optional metadata?: KubeMetadata;
template.spec​
spec: KubePodSpec;

ttlSecondsAfterFinished?​

optional ttlSecondsAfterFinished?: number;

Overrides​

KubeObjectInterface.spec


status​

status: object;

Defined in: lib/k8s/job.ts:39

Index Signature​

[otherProps: string]: any

active?​

optional active?: number;

completedIndexes?​

optional completedIndexes?: string;

completionTime?​

optional completionTime?: string;

failed?​

optional failed?: number;

ready?​

optional ready?: number;

startTime?​

optional startTime?: string;

succeeded?​

optional succeeded?: number;

Overrides​

KubeObjectInterface.status