Skip to main content

Interface: KubeNode

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;

Index Signature

[otherProps: string]: any

podCIDR

podCIDR: string;

taints

taints: object[];

Defined in

src/lib/k8s/node.ts:45


status

status: object;

addresses

addresses: object[];

allocatable

allocatable: object;

allocatable.cpu

cpu: any;

allocatable.ephemeralStorage

ephemeralStorage: any;

allocatable.hugepages_1Gi

hugepages_1Gi: any;

allocatable.hugepages_2Mi

hugepages_2Mi: any;

allocatable.memory

memory: any;

allocatable.pods

pods: any;

capacity

capacity: object;

capacity.cpu

cpu: any;

capacity.ephemeralStorage

ephemeralStorage: any;

capacity.hugepages_1Gi

hugepages_1Gi: any;

capacity.hugepages_2Mi

hugepages_2Mi: any;

capacity.memory

memory: any;

capacity.pods

pods: any;

conditions

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

nodeInfo

nodeInfo: object;

nodeInfo.architecture

architecture: string;

nodeInfo.bootID

bootID: string;

nodeInfo.containerRuntimeVersion

containerRuntimeVersion: string;

nodeInfo.kernelVersion

kernelVersion: string;

nodeInfo.kubeProxyVersion

kubeProxyVersion: string;

nodeInfo.kubeletVersion

kubeletVersion: string;

nodeInfo.machineID

machineID: string;

nodeInfo.operatingSystem

operatingSystem: string;

nodeInfo.osImage

osImage: string;

nodeInfo.systemUUID

systemUUID: string;

Defined in

src/lib/k8s/node.ts:8