Skip to main content

Interface: KubePDB

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

Extends​

Properties​

actionType?​

optional actionType: any;

Inherited from​

KubeObjectInterface.actionType

Defined in​

src/lib/k8s/KubeObject.ts:644


apiVersion?​

optional apiVersion: string;

Inherited from​

KubeObjectInterface.apiVersion

Defined in​

src/lib/k8s/KubeObject.ts:639


items?​

optional items: any[];

Inherited from​

KubeObjectInterface.items

Defined in​

src/lib/k8s/KubeObject.ts:643


key?​

optional key: any;

Inherited from​

KubeObjectInterface.key

Defined in​

src/lib/k8s/KubeObject.ts:646


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


lastTimestamp?​

optional lastTimestamp: string;

Inherited from​

KubeObjectInterface.lastTimestamp

Defined in​

src/lib/k8s/KubeObject.ts:645


metadata​

metadata: KubeMetadata;

Inherited from​

KubeObjectInterface.metadata

Defined in​

src/lib/k8s/KubeObject.ts:640


spec​

spec: object;

maxUnavailable?​

optional maxUnavailable: number;

minAvailable?​

optional minAvailable: number;

selector​

selector: object;

selector.matchExpressions?​

optional matchExpressions: object;

selector.matchExpressions.key​

key: string;

selector.matchExpressions.operator​

operator: string;

selector.matchExpressions.values​

values: string[];

selector.matchLabels​

matchLabels: object;
Index Signature​

[key: string]: string

Overrides​

KubeObjectInterface.spec

Defined in​

src/lib/k8s/podDisruptionBudget.ts:4


status​

status: object;

conditions​

conditions: object[];

currentHealthy​

currentHealthy: number;

desiredHealthy​

desiredHealthy: number;

disruptedPods?​

optional disruptedPods: object;
Index Signature​

[key: string]: string

disruptionsAllowed​

disruptionsAllowed: number;

expectedPods​

expectedPods: number;

observedGeneration​

observedGeneration: number;

Overrides​

KubeObjectInterface.status

Defined in​

src/lib/k8s/podDisruptionBudget.ts:18