File tree Expand file tree Collapse file tree 3 files changed +20
-0
lines changed
vertical-pod-autoscaler/charts/vertical-pod-autoscaler Expand file tree Collapse file tree 3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
2222
2323| Key | Type | Default | Description |
2424| -----| ------| ---------| -------------|
25+ | admissionController.affinity | object | ` {} ` | |
2526| admissionController.enabled | bool | ` true ` | |
2627| admissionController.extraArgs | list | ` [] ` | |
2728| admissionController.extraEnv | list | ` [] ` | |
@@ -52,6 +53,7 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
5253| admissionController.tls.existingSecret | string | ` "" ` | |
5354| admissionController.tls.key | string | ` "" ` | |
5455| admissionController.tls.secretName | string | ` "vpa-tls-certs" ` | |
56+ | admissionController.tolerations | list | ` [] ` | |
5557| admissionController.volumeMounts[ 0] .mountPath | string | ` "/etc/tls-certs" ` | |
5658| admissionController.volumeMounts[ 0] .name | string | ` "tls-certs" ` | |
5759| admissionController.volumeMounts[ 0] .readOnly | bool | ` true ` | |
Original file line number Diff line number Diff line change 3535 securityContext :
3636 runAsNonRoot : true
3737 runAsUser : 65534
38+ {{- with .Values.admissionController.nodeSelector }}
39+ nodeSelector :
40+ {{- toYaml . | nindent 8 }}
41+ {{- end }}
42+ {{- with .Values.admissionController.affinity }}
43+ affinity :
44+ {{- toYaml . | nindent 8 }}
45+ {{- end }}
46+ {{- with .Values.admissionController.tolerations }}
47+ tolerations :
48+ {{- toYaml . | nindent 8 }}
49+ {{- end }}
3850 containers :
3951 - name : admission-controller
4052 image : {{ include "vertical-pod-autoscaler.admissionController.image" . }}
Original file line number Diff line number Diff line change @@ -68,6 +68,12 @@ admissionController:
6868 # Node selector labels for scheduling the Admission Controller.
6969 nodeSelector : {}
7070
71+ # Affinity for pod assignment.
72+ affinity : {}
73+
74+ # List of node taints to tolerate.
75+ tolerations : []
76+
7177 tls :
7278 secretName : vpa-tls-certs
7379 caCert : " "
You can’t perform that action at this time.
0 commit comments