Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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 charts/cluster-autoscaler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ name: cluster-autoscaler
sources:
- https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler
type: application
version: 9.50.1
version: 9.51.0
3 changes: 3 additions & 0 deletions charts/cluster-autoscaler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,8 @@ vpa:
minAllowed:
cpu: 20m
memory: 50Mi
recommenders:
- name: default
```

## Values
Expand Down Expand Up @@ -536,4 +538,5 @@ vpa:
| vpa | object | `{"containerPolicy":{},"enabled":false,"updateMode":"Auto"}` | Configure a VerticalPodAutoscaler for the cluster-autoscaler Deployment. |
| vpa.containerPolicy | object | `{}` | [ContainerResourcePolicy](https://github.com/kubernetes/autoscaler/blob/vertical-pod-autoscaler/v0.13.0/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L159). The containerName is always et to the deployment's container name. This value is required if VPA is enabled. |
| vpa.enabled | bool | `false` | If true, creates a VerticalPodAutoscaler. |
| vpa.recommenders | list | `[]` | List of recommender selectors that will apply to this VerticalPodAutoscaler. An empty list uses the `default` recommender. |
| vpa.updateMode | string | `"Auto"` | [UpdateMode](https://github.com/kubernetes/autoscaler/blob/vertical-pod-autoscaler/v0.13.0/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L124) |
3 changes: 3 additions & 0 deletions charts/cluster-autoscaler/templates/vpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ spec:
name: {{ template "cluster-autoscaler.fullname" . }}
updatePolicy:
updateMode: {{ .Values.vpa.updateMode | quote }}
{{- with .Values.vpa.recommenders }}
recommenders: {{- . | toYaml | nindent 4 }}
{{- end }}
resourcePolicy:
containerPolicies:
- containerName: {{ template "cluster-autoscaler.name" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/cluster-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,10 @@ vpa:
updateMode: "Auto"
# vpa.containerPolicy -- [ContainerResourcePolicy](https://github.com/kubernetes/autoscaler/blob/vertical-pod-autoscaler/v0.13.0/vertical-pod-autoscaler/pkg/apis/autoscaling.k8s.io/v1/types.go#L159). The containerName is always et to the deployment's container name. This value is required if VPA is enabled.
containerPolicy: {}
# 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

# secretKeyRefNameOverride -- Overrides the name of the Secret to use when loading the secretKeyRef for AWS, Azure and Civo env variables
secretKeyRefNameOverride: ""
Loading