Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vpa): Updated image to v1.0.0 #815

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
workflow:
name: Reusable Workflow
uses: action-stars/helm-workflows/.github/workflows/release.yaml@b59f38d3645603ef7c07dd3c7620f79e635fe320 # v0.1.8
uses: action-stars/helm-workflows/.github/workflows/release.yaml@884dcfc5fce24f906d9caae28183d5fd966b45ab # v0.1.9
permissions:
contents: write
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
workflow:
name: Reusable Workflow
uses: action-stars/helm-workflows/.github/workflows/validate.yaml@b59f38d3645603ef7c07dd3c7620f79e635fe320 # v0.1.8
uses: action-stars/helm-workflows/.github/workflows/validate.yaml@884dcfc5fce24f906d9caae28183d5fd966b45ab # v0.1.9
permissions:
contents: read
id-token: write
Expand Down
8 changes: 8 additions & 0 deletions charts/vertical-pod-autoscaler/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Security - In case of vulnerabilities.
-->

## [UNRELEASED]

## [v1.4.0] - 2023-10-31

### Changed

- Updated the _Vertical Pod Autoscaler_ OCI image version to [v1.0.0](https://github.com/kubernetes/autoscaler/releases/tag/vertical-pod-autoscaler-1.0.0).

## [v1.3.0] - 2023-06-29

### Added
Expand Down
8 changes: 3 additions & 5 deletions charts/vertical-pod-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: vertical-pod-autoscaler
description: Helm chart for the Vertical Pod Autoscaler.
type: application
version: 1.3.0
appVersion: 0.14.0
version: 1.4.0
appVersion: 1.0.0
keywords:
- kubernetes
- autoscale
Expand All @@ -29,7 +29,5 @@ annotations:
displayName: VerticalPodAutoscaler
description: Represents the configuration for a vertical pod autoscaler, which automatically manages pod resources based on historical and real time resource utilization.
artifacthub.io/changes: |
- kind: added
description: "Added a default `labelSelector` for the release pods to `topologySpreadConstraints`, `affinity.podAffinity` & `affinity.podAntiAffinity`."
- kind: changed
description: "Updated the _Vertical Pod Autoscaler_ OCI image version to [v0.14.0](https://github.com/kubernetes/autoscaler/releases/tag/vertical-pod-autoscaler-0.14.0)."
description: "Updated the _Vertical Pod Autoscaler_ OCI image version to [v1.0.0](https://github.com/kubernetes/autoscaler/releases/tag/vertical-pod-autoscaler-1.0.0)."
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ spec:
description: API version of the referent
type: string
kind:
description: 'Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"'
description: "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: string
name:
description: "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"
Expand All @@ -188,6 +188,44 @@ spec:
pods. If not specified, all fields in the `PodUpdatePolicy` are
set to their default values.
properties:
evictionRequirements:
description:
EvictionRequirements is a list of EvictionRequirements
that need to evaluate to true in order for a Pod to be evicted.
If more than one EvictionRequirement is specified, all of them
need to be fulfilled to allow eviction.
items:
description:
EvictionRequirement defines a single condition
which needs to be true in order to evict a Pod
properties:
changeRequirement:
description:
EvictionChangeRequirement refers to the relationship
between the new target recommendation for a Pod and its
current requests, what kind of change is necessary for
the Pod to be evicted
enum:
- TargetHigherThanRequests
- TargetLowerThanRequests
type: string
resource:
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
one resource meets `changeRequirement`.
items:
description:
ResourceName is the name identifying various
resources in a ResourceList.
type: string
type: array
required:
- changeRequirement
- resource
type: object
type: array
minReplicas:
description:
Minimal number of replicas which need to be alive
Expand Down Expand Up @@ -335,7 +373,8 @@ spec:
type: object
served: true
storage: true
subresources: {}
subresources:
status: {}
- deprecated: true
deprecationWarning: autoscaling.k8s.io/v1beta2 API is deprecated
name: v1beta2
Expand Down Expand Up @@ -439,7 +478,7 @@ spec:
description: API version of the referent
type: string
kind:
description: 'Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"'
description: "Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
type: string
name:
description: "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"
Expand Down Expand Up @@ -594,3 +633,5 @@ spec:
type: object
served: true
storage: false
subresources:
status: {}
31 changes: 30 additions & 1 deletion charts/vertical-pod-autoscaler/templates/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ rules:
- get
- list
- watch
- patch
- apiGroups:
- "autoscaling.k8s.io"
resources:
Expand All @@ -61,6 +60,21 @@ rules:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:vpa-status-actor
labels:
{{- include "vertical-pod-autoscaler.labels" . | nindent 4 }}
rules:
- apiGroups:
- "autoscaling.k8s.io"
resources:
- verticalpodautoscalers/status
verbs:
- get
- patch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:vpa-checkpoint-actor
labels:
Expand Down Expand Up @@ -265,6 +279,21 @@ subjects:
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system:vpa-status-actor
labels:
{{- include "vertical-pod-autoscaler.labels" . | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:vpa-status-actor
subjects:
- kind: ServiceAccount
name: {{ include "vertical-pod-autoscaler.recommender.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: system:vpa-checkpoint-actor
labels:
Expand Down