From 8033729303d48b0da5b236c590493e64791bc891 Mon Sep 17 00:00:00 2001 From: Mario Valderrama <15158349+avorima@users.noreply.github.com> Date: Sat, 21 Sep 2024 00:00:14 +0200 Subject: [PATCH] [stable/vpa] Update VPA CRD (#1512) * [stable/vpa] Update VPA CRD * Update VPA chart version --------- Co-authored-by: Vitor Rodrigo Vezani Co-authored-by: Andy Suderman --- stable/vpa/Chart.yaml | 2 +- stable/vpa/crds/vpa-v1-crd.yaml | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/stable/vpa/Chart.yaml b/stable/vpa/Chart.yaml index ab033bcaf..d4d7d502f 100644 --- a/stable/vpa/Chart.yaml +++ b/stable/vpa/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: vpa description: A Helm chart for Kubernetes Vertical Pod Autoscaler type: application -version: 4.5.0 +version: 4.6.0 appVersion: 1.0.0 maintainers: - name: sudermanjr diff --git a/stable/vpa/crds/vpa-v1-crd.yaml b/stable/vpa/crds/vpa-v1-crd.yaml index 93092ee1e..3811ca72b 100644 --- a/stable/vpa/crds/vpa-v1-crd.yaml +++ b/stable/vpa/crds/vpa-v1-crd.yaml @@ -283,9 +283,11 @@ spec: resourcePolicy: description: Controls how the autoscaler computes recommended resources. The resource policy may be used to set constraints on the recommendations - for individual containers. If not specified, the autoscaler computes - recommended resources for all containers in the pod, without additional - constraints. + for individual containers. If any individual containers need to + be excluded from getting the VPA recommendations, then it must be + disabled explicitly by setting mode to "Off" under containerPolicies. + If not specified, the autoscaler computes recommended resources + for all containers in the pod, without additional constraints. properties: containerPolicies: description: Per-container resource policies. @@ -397,7 +399,7 @@ spec: - TargetHigherThanRequests - TargetLowerThanRequests type: string - resource: + resources: description: Resources is a list of one or more resources that the condition applies to. If more than one resource is given, the EvictionRequirement is fulfilled if at least @@ -409,7 +411,7 @@ spec: type: array required: - changeRequirement - - resource + - resources type: object type: array minReplicas: