Skip to main content

Interface: KubePDB

Defined in: lib/k8s/podDisruptionBudget.ts:20

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

Inherited from

KubeObjectInterface.actionType


apiVersion?

optional apiVersion?: string;

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

Inherited from

KubeObjectInterface.apiVersion


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


spec

spec: object;

Defined in: lib/k8s/podDisruptionBudget.ts:21

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


status

status: object;

Defined in: lib/k8s/podDisruptionBudget.ts:35

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