kubernetes-models
Version:
65 lines (64 loc) • 2.96 kB
TypeScript
import { IIoK8sApiAppsV1beta2DaemonSetCondition } from "./DaemonSetCondition";
import { ModelData, Model } from "@kubernetes-models/base";
/**
* DaemonSetStatus represents the current status of a daemon set.
*/
export interface IDaemonSetStatus {
/**
* Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
*/
"collisionCount"?: number;
/**
* Represents the latest available observations of a DaemonSet's current state.
*/
"conditions"?: Array<IIoK8sApiAppsV1beta2DaemonSetCondition>;
/**
* The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
*/
"currentNumberScheduled": number;
/**
* The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
*/
"desiredNumberScheduled": number;
/**
* The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
*/
"numberAvailable"?: number;
/**
* The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
*/
"numberMisscheduled": number;
/**
* The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and ready.
*/
"numberReady": number;
/**
* The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
*/
"numberUnavailable"?: number;
/**
* The most recent generation observed by the daemon set controller.
*/
"observedGeneration"?: number;
/**
* The total number of nodes that are running updated daemon pod
*/
"updatedNumberScheduled"?: number;
}
/**
* DaemonSetStatus represents the current status of a daemon set.
*/
export declare class DaemonSetStatus extends Model<IDaemonSetStatus> implements IDaemonSetStatus {
"collisionCount"?: number;
"conditions"?: Array<IIoK8sApiAppsV1beta2DaemonSetCondition>;
"currentNumberScheduled": number;
"desiredNumberScheduled": number;
"numberAvailable"?: number;
"numberMisscheduled": number;
"numberReady": number;
"numberUnavailable"?: number;
"observedGeneration"?: number;
"updatedNumberScheduled"?: number;
constructor(data?: ModelData<IDaemonSetStatus>);
}
export { IDaemonSetStatus as IIoK8sApiAppsV1beta2DaemonSetStatus, DaemonSetStatus as IoK8sApiAppsV1beta2DaemonSetStatus };