UNPKG

kubernetes-models

Version:
55 lines (54 loc) 2.34 kB
import { IIoK8sApiAppsV1beta2DeploymentCondition } from "./DeploymentCondition"; import { ModelData, Model } from "@kubernetes-models/base"; /** * DeploymentStatus is the most recently observed status of the Deployment. */ export interface IDeploymentStatus { /** * Total number of available pods (ready for at least minReadySeconds) targeted by this deployment. */ "availableReplicas"?: number; /** * Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet. */ "collisionCount"?: number; /** * Represents the latest available observations of a deployment's current state. */ "conditions"?: Array<IIoK8sApiAppsV1beta2DeploymentCondition>; /** * The generation observed by the deployment controller. */ "observedGeneration"?: number; /** * Total number of ready pods targeted by this deployment. */ "readyReplicas"?: number; /** * Total number of non-terminated pods targeted by this deployment (their labels match the selector). */ "replicas"?: number; /** * Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created. */ "unavailableReplicas"?: number; /** * Total number of non-terminated pods targeted by this deployment that have the desired template spec. */ "updatedReplicas"?: number; } /** * DeploymentStatus is the most recently observed status of the Deployment. */ export declare class DeploymentStatus extends Model<IDeploymentStatus> implements IDeploymentStatus { "availableReplicas"?: number; "collisionCount"?: number; "conditions"?: Array<IIoK8sApiAppsV1beta2DeploymentCondition>; "observedGeneration"?: number; "readyReplicas"?: number; "replicas"?: number; "unavailableReplicas"?: number; "updatedReplicas"?: number; constructor(data?: ModelData<IDeploymentStatus>); } export { IDeploymentStatus as IIoK8sApiAppsV1beta2DeploymentStatus, DeploymentStatus as IoK8sApiAppsV1beta2DeploymentStatus };