WorkerHealthReport
import type { WorkerHealthReport } from "https://googleapis.deno.dev/v1/dataflow:v1b3.ts";
WorkerHealthReport contains information about the health of a worker. The VM should be identified by the labels attached to the WorkerMessage that this health ping belongs to.
interface WorkerHealthReport {
msg?: string;
pods?: {}[];
[key: string]: any;
reportInterval?: number;
vmBrokenCode?: string;
vmIsBroken?: boolean;
vmIsHealthy?: boolean;
vmStartupTime?: Date;
}§Properties
§
pods?: {}[]
[src][key: string]: any;
The pods running on the worker. See: http://kubernetes.io/v1.1/docs/api-reference/v1/definitions.html#_v1_pod This field is used by the worker to send the status of the indvidual containers running on each worker.
§
reportInterval?: number
[src]The interval at which the worker is sending health reports. The default value of 0 should be interpreted as the field is not being explicitly set by the worker.
§
vmBrokenCode?: string
[src]Code to describe a specific reason, if known, that a VM has reported broken state.