Skip to content

Allow VPA recommender to be specified #8566

@hobti01

Description

@hobti01

Which component are you using?: cluster-autoscaler

/area cluster-autoscaler
/area helm-charts

Is your feature request designed to solve a problem? If so describe the problem this feature should solve.:

The cluster-autoscaler Helm Chart does not support setting the VPA recommender name

Describe the solution you'd like.: A property used to specify the recommenders in the VerticalPodAutoscaler resource

vpa:
  # vpa.recommenders -- VPA recommenders that will provide recommendations for vertical scaling
  # When the recommenders list is empty, the recommender 'default' is used
  recommenders: []
  #  - name: my-recommender

and a modification to the cluster-autoscaler Helm chart to use the property if it is set

apiVersion: autoscaling.k8s.io/v1
kind: VerticalPodAutoscaler
spec:
  {{- with .Values.vpa.recommenders }}
  recommenders: {{- toYaml . | nindent 4 }}
  {{- end }}

Describe any alternative solutions you've considered.:

Additional context.:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions