Skip to main content

Interface: KubeNode

Defined in: lib/k8s/node.ts:27

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

Inherited from​

KubeObjectInterface.actionType


apiVersion?​

optional apiVersion?: string;

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

Inherited from​

KubeObjectInterface.apiVersion


items?​

optional items?: any[];

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

Inherited from​

KubeObjectInterface.items


key?​

optional key?: any;

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

Inherited from​

KubeObjectInterface.key


kind​

kind: string;

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

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

Inherited from​

KubeObjectInterface.lastTimestamp


metadata​

metadata: KubeMetadata;

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

Inherited from​

KubeObjectInterface.metadata


spec​

spec: object;

Defined in: lib/k8s/node.ts:55

Index Signature​

[otherProps: string]: any

podCIDR​

podCIDR: string;

taints​

taints: object[];

Overrides​

KubeObjectInterface.spec


status​

status: object;

Defined in: lib/k8s/node.ts:28

addresses?​

optional addresses?: object[];

allocatable?​

optional allocatable?: object;

Resource quantities keyed by their k8s name (e.g. cpu, memory, pods, ephemeral-storage). Note: keys are kebab-case as returned by the API, not camelCase.

Index Signature​
[key: string]: string

capacity?​

optional capacity?: object;
Index Signature​
[key: string]: string

conditions?​

optional conditions?: Omit<KubeCondition, "lastProbeTime" | "lastUpdateTime"> & object[];

nodeInfo?​

optional nodeInfo?: object;
nodeInfo.architecture​
architecture: string;
nodeInfo.bootID​
bootID: string;
nodeInfo.containerRuntimeVersion​
containerRuntimeVersion: string;
nodeInfo.kernelVersion​
kernelVersion: string;
nodeInfo.kubeletVersion​
kubeletVersion: string;
nodeInfo.kubeProxyVersion​
kubeProxyVersion: string;
nodeInfo.machineID​
machineID: string;
nodeInfo.operatingSystem​
operatingSystem: string;
nodeInfo.osImage​
osImage: string;
nodeInfo.systemUUID​
systemUUID: string;

Overrides​

KubeObjectInterface.status