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

Inherited from​

KubeObjectInterface.actionType


apiVersion?​

optional apiVersion?: string;

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

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

Inherited from​

KubeObjectInterface.items


key?​

optional key?: any;

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

Inherited from​

KubeObjectInterface.key


kind​

kind: string;

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

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

Inherited from​

KubeObjectInterface.lastTimestamp


metadata​

metadata: KubeMetadata;

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

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

Inherited from​

KubeObjectInterface.spec


status?​

optional status?: any;

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

Inherited from​

KubeObjectInterface.status