UNPKG

@kubernetes-models/autoscaler

Version:
50 lines (49 loc) 2.17 kB
import { IIoK8sApimachineryPkgApiResourceQuantity } from "@kubernetes-models/apimachinery/api/resource/Quantity"; import { ModelData, Model } from "@kubernetes-models/base"; /** * RecommendedContainerResources is the recommendation of resources computed by * autoscaler for a specific container. Respects the container resource policy * if present in the spec. In particular the recommendation is not produced for * containers with `ContainerScalingMode` set to 'Off'. */ export interface IRecommendedContainerResources { /** * Name of the container. */ "containerName"?: string; "lowerBound"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "target": { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "uncappedTarget"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "upperBound"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; } /** * RecommendedContainerResources is the recommendation of resources computed by * autoscaler for a specific container. Respects the container resource policy * if present in the spec. In particular the recommendation is not produced for * containers with `ContainerScalingMode` set to 'Off'. */ export declare class RecommendedContainerResources extends Model<IRecommendedContainerResources> implements IRecommendedContainerResources { "containerName"?: string; "lowerBound"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "target": { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "uncappedTarget"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; "upperBound"?: { [key: string]: IIoK8sApimachineryPkgApiResourceQuantity; }; constructor(data?: ModelData<IRecommendedContainerResources>); } export type { IRecommendedContainerResources as IIoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1beta2RecommendedContainerResources, RecommendedContainerResources as IoK8sAutoscalerVerticalPodAutoscalerPkgApisAutoscalingK8sIoV1beta2RecommendedContainerResources };