Skip to main content

Interface: ResourceHealth

Defined in: lib/k8s/cluster.ts:581

The health of one device or resource allocated to a container.

Properties​

health?​

optional health?: "Unknown" | "Healthy" | "Unhealthy";

Defined in: lib/k8s/cluster.ts:588

Unknown when the kubelet cannot tell, for example after the driver stopped.


message?​

optional message?: string;

Defined in: lib/k8s/cluster.ts:590

The reason the driver gave, such as an ECC error count.


resourceID​

resourceID: string;

Defined in: lib/k8s/cluster.ts:586

For DRA devices: the device's first CDI device ID, or <driver>/<pool>/<device> when the driver gives none.