-
Notifications
You must be signed in to change notification settings - Fork 147
/
values.yaml
339 lines (330 loc) · 13.9 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
# Default values for vertical-pod-autoscaler.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# imagePullSecrets -- A list of image pull secrets to be used for all pods
imagePullSecrets: []
# priorityClassName -- To set the priorityclass for all pods
priorityClassName: ""
# nameOverride -- A template override for the name
nameOverride: ""
# fullnameOverride -- A template override for the fullname
fullnameOverride: ""
# podLabels -- Labels to add to all pods
podLabels: {}
rbac:
# rbac.create -- If true, then rbac resources (ClusterRoles and ClusterRoleBindings) will be created for the selected components.
# Temporary rbac resources will still be created, to ensure a functioning installation process
create: true
# rbac.extraRules -- Extra rbac rules for ClusterRoles
extraRules:
# rbac.extraRules.vpaActor -- Extra rbac rules for the vpa-actor ClusterRole
vpaActor: []
# -- Extra rbac rules for the vpa-status-actor ClusterRole
vpaStatusActor: []
# rbac.extraRules.vpaCheckpointActor -- Extra rbac rules for the vpa-checkpoint-actor ClusterRole
vpaCheckpointActor: []
# rbac.extraRules.vpaEvictioner -- Extra rbac rules for the vpa-evictioner ClusterRole
vpaEvictioner: []
# rbac.extraRules.vpaMetricsReader -- Extra rbac rules for the vpa-metrics-reader ClusterRole
vpaMetricsReader: []
# rbac.extraRules.vpaTargetReader -- Extra rbac rules for the vpa-target-reader ClusterRole
vpaTargetReader: []
# rbac.extraRules.vpaStatusReader -- Extra rbac rules for the vpa-status-reader ClusterRole
vpaStatusReader: []
serviceAccount:
# serviceAccount.create -- Specifies whether a service account should be created for each component
create: true
# serviceAccount.annotations -- Annotations to add to the service accounts for each component
annotations: {}
# serviceAccount.name -- The base name of the service account to use (appended with the component). If not set and create is true, a name is generated using the fullname template and appended for each component
name: ""
# serviceAccount.automountServiceAccountToken -- Automount API credentials for the Service Account
automountServiceAccountToken: true
recommender:
# recommender.enabled -- If true, the vpa recommender component will be installed.
enabled: true
# -- Specify a secret to get environment variables from
envFromSecret: ""
# recommender.annotations -- Annotations to add to the recommender deployment
annotations: {}
# recommender.extraArgs -- A set of key-value flags to be passed to the recommender
extraArgs:
v: "4"
pod-recommendation-min-cpu-millicores: 15
pod-recommendation-min-memory-mb: 100
replicaCount: 1
# recommender.revisionHistoryLimit -- The number of old replicasets to retain, default is 10, 0 will garbage-collect old replicasets
revisionHistoryLimit: 10
# recommender.podDisruptionBudget -- This is the setting for the pod disruption budget
podDisruptionBudget: {}
# maxUnavailable: 1
image:
# recommender.image.repository -- The location of the recommender image
repository: registry.k8s.io/autoscaling/vpa-recommender
# recommender.image.tag -- Overrides the image tag whose default is the chart appVersion
tag: ""
# recommender.image.pullPolicy -- The pull policy for the recommender image. Recommend not changing this
pullPolicy: Always
# recommender.podAnnotations -- Annotations to add to the recommender pod
podAnnotations: {}
# recommender.podLabels -- Labels to add to the recommender pod
podLabels: {}
# recommender.podSecurityContext -- The security context for the recommender pod
podSecurityContext:
runAsNonRoot: true
runAsUser: 65534
seccompProfile:
type: RuntimeDefault
# recommender.securityContext -- The security context for the containers inside the recommender pod
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
# recommender.livenessProbe -- The liveness probe definition inside the recommender pod
livenessProbe:
failureThreshold: 6
httpGet:
path: /health-check
port: metrics
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
# recommender.readinessProbe -- The readiness probe definition inside the recommender pod
readinessProbe:
failureThreshold: 120
httpGet:
path: /health-check
port: metrics
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
# recommender.resources -- The resources block for the recommender pod
resources:
limits: {}
# cpu: 200m
# memory: 1000Mi
requests:
cpu: 50m
memory: 500Mi
nodeSelector: {}
tolerations: []
affinity: {}
# -- Enables a prometheus operator podMonitor for the recommender
podMonitor:
enabled: false
annotations: {}
labels: {}
updater:
# updater.enabled -- If true, the updater component will be deployed
enabled: true
# updater.annotations -- Annotations to add to the updater deployment
annotations: {}
# updater.extraArgs -- A key-value map of flags to pass to the updater
extraArgs: {}
replicaCount: 1
# updater.revisionHistoryLimit -- The number of old replicasets to retain, default is 10, 0 will garbage-collect old replicasets
revisionHistoryLimit: 10
# updater.podDisruptionBudget -- This is the setting for the pod disruption budget
podDisruptionBudget: {}
# maxUnavailable: 1
image:
# updater.image.repository -- The location of the updater image
repository: registry.k8s.io/autoscaling/vpa-updater
# updater.image.tag -- Overrides the image tag whose default is the chart appVersion
tag: ""
# updater.image.pullPolicy -- The pull policy for the updater image. Recommend not changing this
pullPolicy: Always
# updater.podAnnotations -- Annotations to add to the updater pod
podAnnotations: {}
# updater.podLabels -- Labels to add to the updater pod
podLabels: {}
# updater.podSecurityContext -- The security context for the updater pod
podSecurityContext:
runAsNonRoot: true
runAsUser: 65534
seccompProfile:
type: RuntimeDefault
# updater.securityContext -- The security context for the containers inside the updater pod
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
# updater.livenessProbe -- The liveness probe definition inside the updater pod
livenessProbe:
failureThreshold: 6
httpGet:
path: /health-check
port: metrics
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
# updater.readinessProbe -- The readiness probe definition inside the updater pod
readinessProbe:
failureThreshold: 120
httpGet:
path: /health-check
port: metrics
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
# updater.resources -- The resources block for the updater pod
resources:
limits: {}
# cpu: 200m
# memory: 1000Mi
requests:
cpu: 50m
memory: 500Mi
nodeSelector: {}
tolerations: []
affinity: {}
# -- Enables a prometheus operator podMonitor for the updater
podMonitor:
enabled: false
annotations: {}
labels: {}
admissionController:
# admissionController.enabled -- If true, will install the admission-controller component of vpa
enabled: true
# admissionController.annotations -- Annotations to add to the admission controller deployment
annotations: {}
# admissionController.extraArgs -- A key-value map of flags to pass to the admissionController
extraArgs: {}
# admissionController.generateCertificate -- If true and admissionController is enabled, a pre-install hook will run to create the certificate for the webhook
generateCertificate: true
# admissionController.secretName -- Name for the TLS secret created for the webhook. Default {{ .Release.Name }}-tls-secret
secretName: "{{ include \"vpa.fullname\" . }}-tls-secret"
# admissionController.registerWebhook -- If true, will allow the vpa admission controller to register itself as a mutating webhook
registerWebhook: false
certGen:
image:
# admissionController.certGen.image.repository -- An image that contains certgen for creating certificates. Only used if admissionController.generateCertificate is true
repository: registry.k8s.io/ingress-nginx/kube-webhook-certgen
# admissionController.certGen.image.tag -- An image tag for the admissionController.certGen.image.repository image. Only used if admissionController.generateCertificate is true
tag: v20230312-helm-chart-4.5.2-28-g66a760794
# admissionController.certGen.image.pullPolicy -- The pull policy for the certgen image. Recommend not changing this
pullPolicy: Always
# admissionController.certGen.env -- Additional environment variables to be added to the certgen container. Format is KEY: Value format
env: {}
# admissionController.certGen.resources -- The resources block for the certgen pod
resources: {}
# admissionController.certGen.securityContext -- The securityContext block for the certgen pod
securityContext: {}
nodeSelector: {}
tolerations: []
affinity: {}
mutatingWebhookConfiguration:
# admissionController.mutatingWebhookConfiguration.annotations -- Additional annotations for the MutatingWebhookConfiguration. Can be used for integration with cert-manager
annotations: {}
# admissionController.mutatingWebhookConfiguration.failurePolicy -- The failurePolicy for the mutating webhook. Allowed values are: Ignore, Fail
failurePolicy: Ignore
# admissionController.mutatingWebhookConfiguration.namespaceSelector -- The namespaceSelector controls, which namespaces are affected by the webhook
namespaceSelector: {}
# admissionController.mutatingWebhookConfiguration.objectSelector -- The objectSelector can filter object on e.g. labels
objectSelector: {}
# admissionController.mutatingWebhookConfiguration.timeout -- Sets the amount of time the API server will wait on a response from the webhook service.
timeoutSeconds: 5
replicaCount: 1
# admissionController.revisionHistoryLimit -- The number of old replicasets to retain, default is 10, 0 will garbage-collect old replicasets
revisionHistoryLimit: 10
# admissionController.podDisruptionBudget -- This is the setting for the pod disruption budget
podDisruptionBudget: {}
# maxUnavailable: 1
image:
# admissionController.image.repository -- The location of the vpa admission controller image
repository: registry.k8s.io/autoscaling/vpa-admission-controller
# admissionController.image.tag -- Overrides the image tag whose default is the chart appVersion
tag: ""
# admissionController.image.pullPolicy -- The pull policy for the admission controller image. Recommend not changing this
pullPolicy: Always
# admissionController.podAnnotations -- Annotations to add to the admission controller pod
podAnnotations: {}
# admissionController.podLabels -- Labels to add to the admission controller pod
podLabels: {}
# admissionController.podSecurityContext -- The security context for the admission controller pod
podSecurityContext:
runAsNonRoot: true
runAsUser: 65534
seccompProfile:
type: RuntimeDefault
# admissionController.securityContext -- The security context for the containers inside the admission controller pod
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
# admissionController.livenessProbe -- The liveness probe definition inside the admission controller pod
livenessProbe:
failureThreshold: 6
httpGet:
path: /health-check
port: metrics
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
# admissionController.readinessProbe -- The readiness probe definition inside the admission controller pod
readinessProbe:
failureThreshold: 120
httpGet:
path: /health-check
port: metrics
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
# admissionController.resources -- The resources block for the admission controller pod
resources:
limits: {}
# cpu: 200m
# memory: 500Mi
requests:
cpu: 50m
memory: 200Mi
# admissionController.tlsSecretKeys -- The keys in the vpa-tls-certs secret to map in to the admission controller
tlsSecretKeys: []
# - key: ca.crt
# path: caCert.pem
# - key: tls.crt
# path: serverCert.pem
# - key: tls.key
# path: serverKey.pem
nodeSelector: {}
tolerations: []
affinity: {}
# admissionController.useHostNetwork -- Whether to use host network, this is required on EKS with custom CNI
useHostNetwork: false
# admissionController.httpPort -- Port of the admission controller for the mutating webhooks
httpPort: 8000
# admissionController.metricsPort -- Port of the admission controller where metrics can be received from
metricsPort: 8944
tests:
# tests.securityContext -- The security context for the containers run as helm hook tests
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
runAsNonRoot: true
runAsUser: 10324
capabilities:
drop:
- ALL
image:
# tests.image.repository -- An image used for testing containing bash, cat and kubectl
repository: bitnami/kubectl
# tests.image.tag -- An image tag for the tests image
tag: ""
# tests.image.pullPolicy -- The pull policy for the tests image.
pullPolicy: Always
# metrics-server -- configuration options for the [metrics server Helm chart](https://github.com/kubernetes-sigs/metrics-server/tree/master/charts/metrics-server). See the projects [README.md](https://github.com/kubernetes-sigs/metrics-server/tree/master/charts/metrics-server#configuration) for all available options
metrics-server:
# metrics-server.enabled -- Whether or not the metrics server Helm chart should be installed
enabled: false