From b0763b12862269fca2502aa0504ce243e4b21c36 Mon Sep 17 00:00:00 2001 From: Mario Valderrama Date: Mon, 29 Jul 2024 13:02:37 +0200 Subject: [PATCH 1/2] [stable/vpa] Update VPA CRD --- stable/vpa/crds/vpa-v1-crd.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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: From d2864c152845477551a54d50df20a6205a28775d Mon Sep 17 00:00:00 2001 From: Mario Valderrama Date: Mon, 29 Jul 2024 13:21:42 +0200 Subject: [PATCH 2/2] Update VPA chart version --- stable/vpa/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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