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

apiVersion?

optional apiVersion: string;

Inherited from

KubeObjectInterface.apiVersion

Defined in

src/lib/k8s/cluster.ts:73


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/cluster.ts:72


metadata

metadata: KubeMetadata;

Inherited from

KubeObjectInterface.metadata

Defined in

src/lib/k8s/cluster.ts:74


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

Defined in

src/lib/k8s/podDisruptionBudget.ts:5


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;

Defined in

src/lib/k8s/podDisruptionBudget.ts:19