Skip to content

Commit 8260fce

Browse files
committed
feat(vpa/chart): allow configuration of priorityClassName
Signed-off-by: Jorik Jonker <[email protected]>
1 parent 762905c commit 8260fce

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

vertical-pod-autoscaler/charts/vertical-pod-autoscaler/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
3535
| 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. |
3636
| 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. |
3737
| admissionController.podLabels | object | `{}` | |
38+
| admissionController.priorityClassName | string | `nil` | |
3839
| admissionController.replicas | int | `2` | |
3940
| admissionController.resources.limits.cpu | string | `"200m"` | |
4041
| admissionController.resources.limits.memory | string | `"500Mi"` | |
@@ -87,6 +88,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
8788
| 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. |
8889
| 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. |
8990
| recommender.podLabels | object | `{}` | |
91+
| recommender.priorityClassName | string | `nil` | |
9092
| recommender.replicas | int | `2` | |
9193
| recommender.resources.limits.cpu | string | `"200m"` | |
9294
| recommender.resources.limits.memory | string | `"1000Mi"` | |
@@ -102,6 +104,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
102104
| updater.image.tag | string | `nil` | |
103105
| updater.podAnnotations | object | `{}` | |
104106
| updater.podLabels | object | `{}` | |
107+
| updater.priorityClassName | string | `nil` | |
105108
| updater.replicas | int | `1` | |
106109
| updater.serviceAccount.annotations | object | `{}` | |
107110
| updater.serviceAccount.create | bool | `true` | |

vertical-pod-autoscaler/charts/vertical-pod-autoscaler/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ admissionController:
107107
# IMPORTANT: You can specify either 'minAvailable' or 'maxUnavailable', but not both.
108108
maxUnavailable:
109109
# maxUnavailable: 1
110+
111+
# name of priorityclass for scheduling
112+
priorityClassName:
113+
# priorityClassName : high-priority
110114

111115
recommender:
112116
enabled: true
@@ -186,6 +190,10 @@ recommender:
186190
maxUnavailable:
187191
# maxUnavailable: 1
188192

193+
# name of priorityclass for scheduling
194+
priorityClassName:
195+
# priorityClassName : high-priority
196+
189197
updater:
190198
enabled: true
191199
image:
@@ -211,3 +219,7 @@ updater:
211219
labels: {}
212220
# Annotations to add to the Updater service account.
213221
annotations: {}
222+
223+
# name of priorityclass for scheduling
224+
priorityClassName:
225+
# priorityClassName : high-priority

0 commit comments

Comments
 (0)