Skip to main content

Interface: KubeControllerRevision

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

Properties

actionType?

optional actionType: any;

Inherited from

KubeObjectInterface.actionType

Defined in

src/lib/k8s/KubeObject.ts:728


apiVersion?

optional apiVersion: string;

Inherited from

KubeObjectInterface.apiVersion

Defined in

src/lib/k8s/KubeObject.ts:723


data?

optional data: object;

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

Defined in

src/lib/k8s/controllerRevision.ts:34


items?

optional items: any[];

Inherited from

KubeObjectInterface.items

Defined in

src/lib/k8s/KubeObject.ts:727


key?

optional key: any;

Inherited from

KubeObjectInterface.key

Defined in

src/lib/k8s/KubeObject.ts:730


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/KubeObject.ts:722


lastTimestamp?

optional lastTimestamp: string;

Inherited from

KubeObjectInterface.lastTimestamp

Defined in

src/lib/k8s/KubeObject.ts:729


metadata

metadata: KubeMetadata;

Inherited from

KubeObjectInterface.metadata

Defined in

src/lib/k8s/KubeObject.ts:724


revision

revision: number;

Revision indicates the revision of the state represented by Data.

Defined in

src/lib/k8s/controllerRevision.ts:46


spec?

optional spec: any;

Inherited from

KubeObjectInterface.spec

Defined in

src/lib/k8s/KubeObject.ts:725


status?

optional status: any;

Inherited from

KubeObjectInterface.status

Defined in

src/lib/k8s/KubeObject.ts:726