Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/vpa/autoscaling.k8s.io@v1/mod.ts>VerticalPodAutoscaler

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface VerticalPodAutoscaler
import { type VerticalPodAutoscaler } from "https://deno.land/x/kubernetes_apis@v0.5.3/vpa/autoscaling.k8s.io@v1/mod.ts";

VerticalPodAutoscaler is the configuration for a vertical pod autoscaler, which automatically manages pod resources based on historical and real time resource utilization.

Properties

optional
apiVersion: "autoscaling.k8s.io/v1"
optional
kind: "VerticalPodAutoscaler"
optional
metadata: MetaV1.ObjectMeta | null
spec: { recommenders?: Array<{ name: string; }> | null; resourcePolicy?: { containerPolicies?: Array<{ containerName?: string | null; controlledResources?: Array<string> | null; controlledValues?:
| "RequestsAndLimits"
| "RequestsOnly"
| c.UnexpectedEnumValue
| null
; maxAllowed?: Record<string, c.IntOrString> | null; minAllowed?: Record<string, c.IntOrString> | null; mode?:
| "Auto"
| "Off"
| c.UnexpectedEnumValue
| null
; }> | null
; } | null
; targetRef: { apiVersion?: string | null; kind: string; name: string; }; updatePolicy?: { evictionRequirements?: Array<{ changeRequirement: "TargetHigherThanRequests" | "TargetLowerThanRequests" | c.UnexpectedEnumValue; resources: Array<string>; }> | null; minReplicas?: number | null; updateMode?:
| "Off"
| "Initial"
| "Recreate"
| "Auto"
| c.UnexpectedEnumValue
| null
; } | null
; }
optional
status: { conditions?: Array<{ lastTransitionTime?: c.Time | null; message?: string | null; reason?: string | null; status: string; type: string; }> | null; recommendation?: { containerRecommendations?: Array<{ containerName?: string | null; lowerBound?: Record<string, c.IntOrString> | null; target: Record<string, c.IntOrString>; uncappedTarget?: Record<string, c.IntOrString> | null; upperBound?: Record<string, c.IntOrString> | null; }> | null; } | null; } | null