Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
| admissionController.podDisruptionBudget.maxUnavailable | int or string | `nil` | Maximum number/percentage of pods that can be unavailable after the eviction. IMPORTANT: You can specify either 'minAvailable' or 'maxUnavailable', but not both. |
| admissionController.podDisruptionBudget.minAvailable | int or string | `1` | Minimum number/percentage of pods that must be available after the eviction. IMPORTANT: You can specify either 'minAvailable' or 'maxUnavailable', but not both. |
| admissionController.podLabels | object | `{}` | |
| admissionController.priorityClassName | string | `nil` | |
| admissionController.replicas | int | `2` | |
| admissionController.resources.limits.cpu | string | `"200m"` | |
| admissionController.resources.limits.memory | string | `"500Mi"` | |
Expand Down Expand Up @@ -87,6 +88,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
| recommender.podDisruptionBudget.maxUnavailable | int or string | `nil` | Maximum number/percentage of pods that can be unavailable after the eviction. IMPORTANT: You can specify either 'minAvailable' or 'maxUnavailable', but not both. |
| recommender.podDisruptionBudget.minAvailable | int or string | `1` | Minimum number/percentage of pods that must be available after the eviction. IMPORTANT: You can specify either 'minAvailable' or 'maxUnavailable', but not both. |
| recommender.podLabels | object | `{}` | |
| recommender.priorityClassName | string | `nil` | |
| recommender.replicas | int | `2` | |
| recommender.resources.limits.cpu | string | `"200m"` | |
| recommender.resources.limits.memory | string | `"1000Mi"` | |
Expand All @@ -108,6 +110,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
| updater.leaderElection.retryPeriod | string | `"2s"` | |
| updater.podAnnotations | object | `{}` | |
| updater.podLabels | object | `{}` | |
| updater.priorityClassName | string | `nil` | |
| updater.replicas | int | `2` | |
| updater.serviceAccount.annotations | object | `{}` | |
| updater.serviceAccount.create | bool | `true` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.admissionController.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
containers:
- name: admission-controller
image: {{ include "vertical-pod-autoscaler.admissionController.image" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ spec:
securityContext:
{{ toYaml . | nindent 8 | trim }}
{{- end }}
{{- with .Values.recommender.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
containers:
- name: recommender
image: {{ include "vertical-pod-autoscaler.recommender.image" . }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
securityContext:
{{ toYaml . | nindent 8 | trim }}
{{- end }}
{{- with .Values.updater.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
containers:
- name: updater
image: {{ include "vertical-pod-autoscaler.updater.image" . }}
Expand Down
12 changes: 12 additions & 0 deletions vertical-pod-autoscaler/charts/vertical-pod-autoscaler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ admissionController:
maxUnavailable:
# maxUnavailable: 1

# name of priorityclass for scheduling
priorityClassName:
# priorityClassName : high-priority

recommender:
enabled: true
image:
Expand Down Expand Up @@ -186,6 +190,10 @@ recommender:
maxUnavailable:
# maxUnavailable: 1

# name of priorityclass for scheduling
priorityClassName:
# priorityClassName : high-priority

updater:
enabled: true
image:
Expand Down Expand Up @@ -227,3 +235,7 @@ updater:
renewDeadline: 10s
# Duration the clients should wait between attempting acquisition and renewal of a leadership.
retryPeriod: 2s

# name of priorityclass for scheduling
priorityClassName:
# priorityClassName : high-priority