Skip to main content

Interface: KubeControllerRevision

Defined in: lib/k8s/controllerRevision.ts:29

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state.

Used by DaemonSets and StatefulSets to store revision history for rollback.

See

https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/controller-revision-v1/

Extends

Indexable

[otherProps: string]: any

Properties

actionType?

optional actionType?: any;

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

Inherited from

KubeObjectInterface.actionType


apiVersion?

optional apiVersion?: string;

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

Inherited from

KubeObjectInterface.apiVersion


data?

optional data?: object;

Defined in: lib/k8s/controllerRevision.ts:34

Data is the serialized representation of the state. Contains the previous spec of the owning controller.

Index Signature

[key: string]: any

spec?

optional spec?: object;
Index Signature
[key: string]: any
spec.template?
optional template?: object;
Index Signature
[key: string]: any

items?

optional items?: any[];

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

Inherited from

KubeObjectInterface.items


key?

optional key?: any;

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

Inherited from

KubeObjectInterface.key


kind

kind: string;

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

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:731

Inherited from

KubeObjectInterface.lastTimestamp


metadata

metadata: KubeMetadata;

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

Inherited from

KubeObjectInterface.metadata


revision

revision: number;

Defined in: lib/k8s/controllerRevision.ts:46

Revision indicates the revision of the state represented by Data.


spec?

optional spec?: any;

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

Inherited from

KubeObjectInterface.spec


status?

optional status?: any;

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

Inherited from

KubeObjectInterface.status