DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
mlflow logoHELM

mlflow

Helm chart
iamguarded
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# This file has been modified by Chainguard, Inc.
2
#
3
# Copyright Chainguard, Inc. All Rights Reserved.
4
# Chainguard, Inc. modifications are subject to the license
5
# available at: https://www.chainguard.dev/legal/software-license-agreement
6
#
7
# Copyright Broadcom, Inc. All Rights Reserved.
8
# SPDX-License-Identifier: APACHE-2.0
9
10
## @section Global parameters
11
## Global Docker image parameters
12
## Please, note that this will override the image parameters, including dependencies, configured to use the global value
13
## Current available global Docker image parameters: imageRegistry, imagePullSecrets and storageClass
14
##
15
16
## @param global.imageRegistry Global Docker image registry
17
## @param global.useImageTags Pull every image by tag and ignore all image digests, including digests set in values. Use this when your registry mirror does not have the chart's default image digests.
18
## @param global.imagePullSecrets Global Docker registry secret names as an array
19
## @param global.defaultStorageClass Global default StorageClass for Persistent Volume(s)
20
##
21
global:
22
imageRegistry: ""
23
useImageTags: false
24
## E.g.
25
## imagePullSecrets:
26
## - myRegistryKeySecretName
27
##
28
imagePullSecrets: []
29
defaultStorageClass: ""
30
## Security parameters
31
##
32
security:
33
## @param global.security.allowInsecureImages Allows skipping image verification
34
allowInsecureImages: false
35
## Compatibility adaptations for Kubernetes platforms
36
##
37
compatibility:
38
## Compatibility adaptations for Openshift
39
##
40
openshift:
41
## @param global.compatibility.openshift.adaptSecurityContext Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation)
42
##
43
adaptSecurityContext: auto
44
org: ""
45
## @section Common parameters
46
##
47
48
## @param kubeVersion Override Kubernetes version
49
##
50
kubeVersion: ""
51
## @param apiVersions Override Kubernetes API versions reported by .Capabilities
52
##
53
apiVersions: []
54
## @param nameOverride String to partially override common.names.name
55
##
56
nameOverride: ""
57
## @param fullnameOverride String to fully override common.names.fullname
58
##
59
fullnameOverride: ""
60
## @param namespaceOverride String to fully override common.names.namespace
61
##
62
namespaceOverride: ""
63
## @param commonLabels Labels to add to all deployed objects
64
##
65
commonLabels: {}
66
## @param commonAnnotations Annotations to add to all deployed objects
67
##
68
commonAnnotations: {}
69
## @param clusterDomain Kubernetes cluster domain name
70
##
71
clusterDomain: cluster.local
72
## @param extraDeploy Array of extra objects to deploy with the release
73
##
74
extraDeploy: []
75
## Enable diagnostic mode in the deployment
76
##
77
diagnosticMode:
78
## @param diagnosticMode.enabled Enable diagnostic mode (all probes will be disabled and the command will be overridden)
79
##
80
enabled: false
81
## @param diagnosticMode.command Command to override all containers in the deployment
82
##
83
command:
84
- sleep
85
## @param diagnosticMode.args Args to override all containers in the deployment
86
##
87
args:
88
- infinity
89
## @section MLflow common Parameters
90
##
91
92
## Iamguarded mlflow image
93
## @param image.registry [default: REGISTRY_NAME] mlflow image registry
94
## @param image.repository [default: REPOSITORY_NAME/mlflow] mlflow image repository
95
## @skip image.tag mlflow image tag (immutable tags are recommended)
96
## @param image.digest mlflow image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag image tag (immutable tags are recommended)
97
## @param image.pullPolicy mlflow image pull policy
98
## @param image.pullSecrets mlflow image pull secrets
99
## @param image.debug Enable mlflow image debug mode
100
##
101
image:
102
registry: cgr.dev
103
repository: chainguard-private/mlflow-iamguarded
104
tag: 3.18.0
105
digest: ""
106
## Specify a imagePullPolicy
107
## ref: https://kubernetes.io/docs/concepts/containers/images/#pre-pulled-images
108
##
109
pullPolicy: IfNotPresent
110
## Optionally specify an array of imagePullSecrets.
111
## Secrets must be manually created in the namespace.
112
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
113
## e.g:
114
## pullSecrets:
115
## - myRegistryKeySecretName
116
##
117
pullSecrets: []
118
## Enable debug mode
119
##
120
debug: false
121
## Iamguarded git image version
122
## @param gitImage.registry [default: REGISTRY_NAME] Git image registry
123
## @param gitImage.repository [default: REPOSITORY_NAME/git] Git image repository
124
## @skip gitImage.tag Git image tag (immutable tags are recommended)
125
## @param gitImage.digest Git image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
126
## @param gitImage.pullPolicy Git image pull policy
127
## @param gitImage.pullSecrets Specify docker-registry secret names as an array
128
##
129
gitImage:
130
registry: cgr.dev
131
repository: chainguard-private/git-iamguarded
132
tag: 2.56.1
133
digest: ""
134
pullPolicy: IfNotPresent
135
## Optionally specify an array of imagePullSecrets.
136
## Secrets must be manually created in the namespace.
137
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
138
## Example:
139
## pullSecrets:
140
## - myRegistryKeySecretName
141
##
142
pullSecrets: []
143
## @section MLflow Tracking parameters
144
##
145
tracking:
146
## @param tracking.enabled Enable Tracking server
147
##
148
enabled: true
149
## @param tracking.replicaCount Number of mlflow replicas to deploy
150
##
151
replicaCount: 1
152
## @param tracking.host mlflow tracking listening host. Set to "[::]" to use ipv6.
153
##
154
host: "0.0.0.0"
155
## @param tracking.containerPorts.http mlflow HTTP container port
156
##
157
containerPorts:
158
http: 5000
159
## Configure extra options for mlflow containers' liveness and readiness probes
160
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
161
## @param tracking.livenessProbe.enabled Enable livenessProbe on mlflow containers
162
## @param tracking.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
163
## @param tracking.livenessProbe.periodSeconds Period seconds for livenessProbe
164
## @param tracking.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
165
## @param tracking.livenessProbe.failureThreshold Failure threshold for livenessProbe
166
## @param tracking.livenessProbe.successThreshold Success threshold for livenessProbe
167
##
168
livenessProbe:
169
enabled: true
170
initialDelaySeconds: 5
171
periodSeconds: 10
172
timeoutSeconds: 5
173
failureThreshold: 5
174
successThreshold: 1
175
## @param tracking.readinessProbe.enabled Enable readinessProbe on mlflow containers
176
## @param tracking.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
177
## @param tracking.readinessProbe.periodSeconds Period seconds for readinessProbe
178
## @param tracking.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
179
## @param tracking.readinessProbe.failureThreshold Failure threshold for readinessProbe
180
## @param tracking.readinessProbe.successThreshold Success threshold for readinessProbe
181
##
182
readinessProbe:
183
enabled: true
184
initialDelaySeconds: 5
185
periodSeconds: 10
186
timeoutSeconds: 5
187
failureThreshold: 5
188
successThreshold: 1
189
## @param tracking.startupProbe.enabled Enable startupProbe on mlflow containers
190
## @param tracking.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
191
## @param tracking.startupProbe.periodSeconds Period seconds for startupProbe
192
## @param tracking.startupProbe.timeoutSeconds Timeout seconds for startupProbe
193
## @param tracking.startupProbe.failureThreshold Failure threshold for startupProbe
194
## @param tracking.startupProbe.successThreshold Success threshold for startupProbe
195
##
196
startupProbe:
197
enabled: false
198
initialDelaySeconds: 5
199
periodSeconds: 10
200
timeoutSeconds: 5
201
failureThreshold: 5
202
successThreshold: 1
203
## @param tracking.customLivenessProbe Custom livenessProbe that overrides the default one
204
##
205
customLivenessProbe: {}
206
## @param tracking.customReadinessProbe Custom readinessProbe that overrides the default one
207
##
208
customReadinessProbe: {}
209
## @param tracking.customStartupProbe Custom startupProbe that overrides the default one
210
##
211
customStartupProbe: {}
212
## mlflow resource requests and limits
213
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
214
## @param tracking.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if tracking.resources is set (tracking.resources is recommended for production).
215
##
216
resourcesPreset: "medium"
217
## @param tracking.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
218
## Example:
219
## resources:
220
## requests:
221
## cpu: 2
222
## memory: 512Mi
223
## limits:
224
## cpu: 3
225
## memory: 1024Mi
226
##
227
resources: {}
228
## Configure Pods Security Context
229
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
230
## @param tracking.podSecurityContext.enabled Enabled mlflow pods' Security Context
231
## @param tracking.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
232
## @param tracking.podSecurityContext.sysctls Set kernel settings using the sysctl interface
233
## @param tracking.podSecurityContext.supplementalGroups Set filesystem extra groups
234
## @param tracking.podSecurityContext.fsGroup Set mlflow pod's Security Context fsGroup
235
##
236
podSecurityContext:
237
enabled: true
238
fsGroupChangePolicy: Always
239
sysctls: []
240
supplementalGroups: []
241
fsGroup: 1001
242
## Configure Container Security Context
243
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
244
## @param tracking.containerSecurityContext.enabled Enabled containers' Security Context
245
## @param tracking.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
246
## @param tracking.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
247
## @param tracking.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
248
## @param tracking.containerSecurityContext.privileged Set containers' Security Context privileged
249
## @param tracking.containerSecurityContext.runAsNonRoot Set containers' Security Context runAsNonRoot
250
## @param tracking.containerSecurityContext.readOnlyRootFilesystem Set containers' Security Context readOnlyRootFilesystem
251
## @param tracking.containerSecurityContext.allowPrivilegeEscalation Set container's privilege escalation
252
## @param tracking.containerSecurityContext.capabilities.drop Set container's Security Context runAsNonRoot
253
## @param tracking.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
254
##
255
containerSecurityContext:
256
enabled: true
257
seLinuxOptions: {}
258
runAsUser: 1001
259
runAsGroup: 1001
260
runAsNonRoot: true
261
privileged: false
262
readOnlyRootFilesystem: true
263
allowPrivilegeEscalation: false
264
capabilities:
265
drop: ["ALL"]
266
seccompProfile:
267
type: "RuntimeDefault"
268
## Basic authentication
269
## @param tracking.auth.enabled Enable basic authentication
270
## @param tracking.auth.username Admin username
271
## @param tracking.auth.password Admin password
272
## @param tracking.auth.flaskServerSecretKey Flask server secret key (required for enabling CSRF protection)
273
## @param tracking.auth.existingSecret Name of a secret containing the admin password
274
## @param tracking.auth.existingSecretUserKey Key inside the secret containing the admin password
275
## @param tracking.auth.existingSecretPasswordKey Key inside the secret containing the admin password
276
## @param tracking.auth.existingSecretFlaskServerSecretKey Key inside the secret containing the flask server secret key
277
## @param tracking.auth.extraOverrides Add extra settings to the basic_auth.ini file
278
## @param tracking.auth.overridesConfigMap Name of a ConfigMap containing overrides to the basic_auth.ini file
279
auth:
280
enabled: true
281
username: user
282
password: ""
283
flaskServerSecretKey: ""
284
existingSecret: ""
285
existingSecretUserKey: ""
286
existingSecretPasswordKey: ""
287
existingSecretFlaskServerSecretKey: ""
288
extraOverrides: {}
289
overridesConfigMap: ""
290
## TLS configuration
291
##
292
tls:
293
## @param tracking.tls.enabled Enable TLS traffic support
294
##
295
enabled: false
296
## @param tracking.tls.autoGenerated Generate automatically self-signed TLS certificates
297
##
298
autoGenerated: false
299
## @param tracking.tls.certificatesSecret Name of an existing secret that contains the certificates
300
##
301
certificatesSecret: ""
302
## @param tracking.tls.certFilename Certificate filename
303
##
304
certFilename: ""
305
## @param tracking.tls.certKeyFilename Certificate key filename
306
##
307
certKeyFilename: ""
308
## @param tracking.tls.certCAFilename CA Certificate filename
309
## If provided, PostgreSQL will authenticate TLS/SSL clients by requesting them a certificate
310
## ref: https://www.postgresql.org/docs/9.6/auth-methods.html
311
##
312
certCAFilename: ""
313
## @param tracking.command Override default container command (useful when using custom images)
314
##
315
command: []
316
## @param tracking.args Override default container args (useful when using custom images)
317
##
318
args: []
319
## @param tracking.extraArgs Add extra arguments together with the default ones
320
##
321
extraArgs: []
322
## @param tracking.runUpgradeDB Add an init container to run mlflow db upgrade
323
##
324
runUpgradeDB: false
325
## @param tracking.automountServiceAccountToken Mount Service Account token in pod
326
##
327
automountServiceAccountToken: false
328
## @param tracking.hostAliases mlflow pods host aliases
329
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
330
##
331
hostAliases: []
332
## @param tracking.podLabels Extra labels for mlflow pods
333
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
334
##
335
podLabels: {}
336
## @param tracking.podAnnotations Annotations for mlflow pods
337
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
338
##
339
podAnnotations: {}
340
## @param tracking.podAffinityPreset Pod affinity preset. Ignored if `.affinity` is set. Allowed values: `soft` or `hard`
341
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
342
##
343
podAffinityPreset: ""
344
## @param tracking.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `.affinity` is set. Allowed values: `soft` or `hard`
345
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
346
##
347
podAntiAffinityPreset: soft
348
## Pod Disruption Budget configuration
349
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb
350
## @param tracking.pdb.create Enable/disable a Pod Disruption Budget creation
351
## @param tracking.pdb.minAvailable Minimum number/percentage of pods that should remain scheduled
352
## @param tracking.pdb.maxUnavailable Maximum number/percentage of pods that may be made unavailable
353
##
354
pdb:
355
create: true
356
minAvailable: ""
357
maxUnavailable: ""
358
## Autoscaling configuration
359
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
360
##
361
autoscaling:
362
hpa:
363
## @param tracking.autoscaling.hpa.enabled Enable HPA
364
##
365
enabled: false
366
## @param tracking.autoscaling.hpa.minReplicas Minimum number of replicas
367
##
368
minReplicas: ""
369
## @param tracking.autoscaling.hpa.maxReplicas Maximum number of replicas
370
##
371
maxReplicas: ""
372
## @param tracking.autoscaling.hpa.targetCPU Target CPU utilization percentage
373
##
374
targetCPU: ""
375
## @param tracking.autoscaling.hpa.targetMemory Target Memory utilization percentage
376
##
377
targetMemory: ""
378
vpa:
379
## @param tracking.autoscaling.vpa.enabled Enable VPA
380
##
381
enabled: false
382
## @param tracking.autoscaling.vpa.annotations Annotations for VPA resource
383
##
384
annotations: {}
385
## @param tracking.autoscaling.vpa.controlledResources VPA List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
386
##
387
controlledResources: []
388
## @param tracking.autoscaling.vpa.maxAllowed VPA Max allowed resources for the pod
389
## cpu: 200m
390
## memory: 100Mi
391
maxAllowed: {}
392
## @param tracking.autoscaling.vpa.minAllowed VPA Min allowed resources for the pod
393
## cpu: 200m
394
## memory: 100Mi
395
minAllowed: {}
396
updatePolicy:
397
## @param tracking.autoscaling.vpa.updatePolicy.updateMode Autoscaling update policy Specifies whether recommended updates are applied when a Pod is started and whether recommended updates are applied during the life of a Pod
398
## Possible values are "Off", "Initial", "Recreate", and "Auto".
399
##
400
updateMode: Auto
401
## Node .affinity preset
402
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
403
##
404
nodeAffinityPreset:
405
## @param tracking.nodeAffinityPreset.type Node affinity preset type. Ignored if `.affinity` is set. Allowed values: `soft` or `hard`
406
##
407
type: ""
408
## @param tracking.nodeAffinityPreset.key Node label key to match. Ignored if `.affinity` is set
409
##
410
key: ""
411
## @param tracking.nodeAffinityPreset.values Node label values to match. Ignored if `.affinity` is set
412
## E.g.
413
## values:
414
## - e2e-az1
415
## - e2e-az2
416
##
417
values: []
418
## @param tracking.affinity Affinity for mlflow pods assignment
419
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
420
## NOTE: `.podAffinityPreset`, `.podAntiAffinityPreset`, and `.nodeAffinityPreset` will be ignored when it's set
421
##
422
affinity: {}
423
## @param tracking.nodeSelector Node labels for mlflow pods assignment
424
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/
425
##
426
nodeSelector: {}
427
## @param tracking.tolerations Tolerations for mlflow pods assignment
428
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
429
##
430
tolerations: []
431
## @param tracking.updateStrategy.type mlflow statefulset strategy type
432
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
433
##
434
updateStrategy:
435
## StrategyType
436
## Can be set to RollingUpdate or OnDelete
437
##
438
type: RollingUpdate
439
## @param tracking.priorityClassName mlflow pods' priorityClassName
440
##
441
priorityClassName: ""
442
## @param tracking.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template
443
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
444
##
445
topologySpreadConstraints: []
446
## @param tracking.schedulerName Name of the k8s scheduler (other than default) for mlflow pods
447
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
448
##
449
schedulerName: ""
450
## @param tracking.terminationGracePeriodSeconds Seconds Redmine pod needs to terminate gracefully
451
## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod/#termination-of-pods
452
##
453
terminationGracePeriodSeconds: ""
454
## @param tracking.lifecycleHooks for the mlflow container(s) to automate configuration before or after startup
455
##
456
lifecycleHooks: {}
457
## @param tracking.extraEnvVars Array with extra environment variables to add to mlflow nodes
458
## e.g:
459
## extraEnvVars:
460
## - name: FOO
461
## value: "bar"
462
##
463
extraEnvVars: []
464
## @param tracking.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for mlflow nodes
465
##
466
extraEnvVarsCM: ""
467
## @param tracking.extraEnvVarsSecret Name of existing Secret containing extra env vars for mlflow nodes
468
##
469
extraEnvVarsSecret: ""
470
## @param tracking.extraVolumes Optionally specify extra list of additional volumes for the mlflow pod(s)
471
##
472
extraVolumes: []
473
## @param tracking.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the mlflow container(s)
474
##
475
extraVolumeMounts: []
476
## @param tracking.sidecars Add additional sidecar containers to the mlflow pod(s)
477
## e.g:
478
## sidecars:
479
## - name: your-image-name
480
## image: your-image
481
## imagePullPolicy: Always
482
## ports:
483
## - name: portname
484
## containerPort: 1234
485
##
486
sidecars: []
487
## @param tracking.enableDefaultInitContainers Add default init containers to the deployment
488
##
489
enableDefaultInitContainers: true
490
## @param tracking.initContainers Add additional init containers to the mlflow pod(s)
491
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
492
## e.g:
493
## initContainers:
494
## - name: your-image-name
495
## image: your-image
496
## imagePullPolicy: Always
497
## command: ['sh', '-c', 'echo "hello world"']
498
##
499
initContainers: []
500
## @section MLflow Tracking Traffic Exposure Parameters
501
##
502
503
## mlflow service parameters
504
##
505
service:
506
## @param tracking.service.type mlflow service type
507
##
508
type: LoadBalancer
509
## @param tracking.service.ports.http mlflow service HTTP port
510
## @param tracking.service.ports.https mlflow service HTTPS port
511
##
512
ports:
513
http: 80
514
https: 443
515
## Node ports to expose
516
## @param tracking.service.nodePorts.http Node port for HTTP
517
## @param tracking.service.nodePorts.https Node port for HTTPS
518
## NOTE: choose port between <30000-32767>
519
##
520
nodePorts:
521
http: ""
522
https: ""
523
## @param tracking.service.clusterIP mlflow service Cluster IP
524
## e.g.:
525
## clusterIP: None
526
##
527
clusterIP: ""
528
## @param tracking.service.loadBalancerIP mlflow service Load Balancer IP
529
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-loadbalancer
530
##
531
loadBalancerIP: ""
532
## @param tracking.service.loadBalancerSourceRanges mlflow service Load Balancer sources
533
## ref: https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
534
## e.g:
535
## loadBalancerSourceRanges:
536
## - 10.10.10.0/24
537
##
538
loadBalancerSourceRanges: []
539
## @param tracking.service.labels Add labels to the service object
540
##
541
labels: {}
542
## @param tracking.service.externalTrafficPolicy mlflow service external traffic policy
543
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
544
##
545
externalTrafficPolicy: Cluster
546
## @param tracking.service.annotations Additional custom annotations for mlflow service
547
##
548
annotations: {}
549
## @param tracking.service.extraPorts Extra ports to expose in mlflow service (normally used with the `sidecars` value)
550
##
551
extraPorts: []
552
## @param tracking.service.sessionAffinity Control where client requests go, to the same pod or round-robin
553
## Values: ClientIP or None
554
## ref: https://kubernetes.io/docs/concepts/services-networking/service/
555
##
556
sessionAffinity: None
557
## @param tracking.service.sessionAffinityConfig Additional settings for the sessionAffinity
558
## sessionAffinityConfig:
559
## clientIP:
560
## timeoutSeconds: 300
561
##
562
sessionAffinityConfig: {}
563
## mlflow ingress parameters
564
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/
565
##
566
ingress:
567
## @param tracking.ingress.enabled Enable ingress record generation for mlflow
568
##
569
enabled: false
570
## @param tracking.ingress.pathType Ingress path type
571
##
572
pathType: ImplementationSpecific
573
## @param tracking.ingress.hostname Default host for the ingress record
574
##
575
hostname: mlflow.local
576
## @param tracking.ingress.ingressClassName IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+)
577
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
578
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
579
##
580
ingressClassName: ""
581
## @param tracking.ingress.path Default path for the ingress record
582
## NOTE: You may need to set this to '/*' in order to use this with ALB ingress controllers
583
##
584
path: /
585
## @param tracking.ingress.annotations Additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
586
## Use this parameter to set the required annotations for cert-manager, see
587
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
588
## e.g:
589
## annotations:
590
## kubernetes.io/ingress.class: nginx
591
## cert-manager.io/cluster-issuer: cluster-issuer-name
592
##
593
annotations: {}
594
## @param tracking.ingress.tls Enable TLS configuration for the host defined at `ingress.hostname` parameter
595
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.hostname }}`
596
## You can:
597
## - Use the `ingress.secrets` parameter to create this TLS secret
598
## - Rely on cert-manager to create it by setting the corresponding annotations
599
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
600
##
601
tls: false
602
## @param tracking.ingress.selfSigned Create a TLS secret for this ingress record using self-signed certificates generated by Helm
603
##
604
selfSigned: false
605
## @param tracking.ingress.extraHosts An array with additional hostname(s) to be covered with the ingress record
606
## e.g:
607
## extraHosts:
608
## - name: mlflow.local
609
## path: /
610
##
611
extraHosts: []
612
## @param tracking.ingress.extraPaths An array with additional arbitrary paths that may need to be added to the ingress under the main host
613
## e.g:
614
## extraPaths:
615
## - path: /*
616
## backend:
617
## serviceName: ssl-redirect
618
## servicePort: use-annotation
619
##
620
extraPaths: []
621
## @param tracking.ingress.extraTls TLS configuration for additional hostname(s) to be covered with this ingress record
622
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
623
## e.g:
624
## extraTls:
625
## - hosts:
626
## - mlflow.local
627
## secretName: mlflow.local-tls
628
##
629
extraTls: []
630
## @param tracking.ingress.secrets Custom TLS certificates as secrets
631
## NOTE: 'key' and 'certificate' are expected in PEM format
632
## NOTE: 'name' should line up with a 'secretName' set further up
633
## If it is not set and you're using cert-manager, this is unneeded, as it will create a secret for you with valid certificates
634
## If it is not set and you're NOT using cert-manager either, self-signed certificates will be created valid for 365 days
635
## It is also possible to create and manage the certificates outside of this helm chart
636
## Please see README.md for more information
637
## e.g:
638
## secrets:
639
## - name: mlflow.local-tls
640
## key: |-
641
## -----BEGIN RSA PRIVATE KEY-----
642
## ...
643
## -----END RSA PRIVATE KEY-----
644
## certificate: |-
645
## -----BEGIN CERTIFICATE-----
646
## ...
647
## -----END CERTIFICATE-----
648
##
649
secrets: []
650
## @param tracking.ingress.extraRules Additional rules to be covered with this ingress record
651
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
652
## e.g:
653
## extraRules:
654
## - host: example.local
655
## http:
656
## path: /
657
## backend:
658
## service:
659
## name: example-svc
660
## port:
661
## name: http
662
##
663
extraRules: []
664
## Network Policy configuration
665
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
666
##
667
networkPolicy:
668
## @param tracking.networkPolicy.enabled Enable creation of NetworkPolicy resources
669
##
670
enabled: true
671
## @param tracking.networkPolicy.allowExternal The Policy model to apply
672
## When set to false, only pods with the correct client label will have network access to the ports MLFlow is
673
## listening on. When true, MLFlow will accept connections from any source (with the correct destination port).
674
##
675
allowExternal: true
676
## @param tracking.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
677
##
678
allowExternalEgress: true
679
## @param tracking.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
680
## e.g:
681
## extraIngress:
682
## - ports:
683
## - port: 1234
684
## from:
685
## - podSelector:
686
## - matchLabels:
687
## - role: frontend
688
## - podSelector:
689
## - matchExpressions:
690
## - key: role
691
## operator: In
692
## values:
693
## - frontend
694
##
695
extraIngress: []
696
## @param tracking.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
697
## e.g:
698
## extraEgress:
699
## - ports:
700
## - port: 1234
701
## to:
702
## - podSelector:
703
## - matchLabels:
704
## - role: frontend
705
## - podSelector:
706
## - matchExpressions:
707
## - key: role
708
## operator: In
709
## values:
710
## - frontend
711
##
712
extraEgress: []
713
## @param tracking.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
714
## @param tracking.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
715
##
716
ingressNSMatchLabels: {}
717
ingressNSPodMatchLabels: {}
718
## @section MLflow Tracking Persistence Parameters
719
##
720
721
## Enable persistence using Persistent Volume Claims
722
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
723
##
724
persistence:
725
## @param tracking.persistence.enabled Enable persistence using Persistent Volume Claims
726
##
727
enabled: true
728
## @param tracking.persistence.mountPath Path to mount the volume at.
729
##
730
mountPath: /iamguarded/mlflow
731
## @param tracking.persistence.subPath The subdirectory of the volume to mount to, useful in dev environments and one PV for multiple services
732
##
733
subPath: ""
734
## @param tracking.persistence.storageClass Storage class of backing PVC
735
## If defined, storageClassName: <storageClass>
736
## If set to "-", storageClassName: "", which disables dynamic provisioning
737
## If undefined (the default) or set to null, no storageClassName spec is
738
## set, choosing the default provisioner. (gp2 on AWS, standard on
739
## GKE, AWS & OpenStack)
740
##
741
storageClass: ""
742
## @param tracking.persistence.labels Persistent Volume labels
743
##
744
labels: {}
745
## @param tracking.persistence.annotations Persistent Volume Claim annotations
746
##
747
annotations: {}
748
## @param tracking.persistence.accessModes Persistent Volume Access Modes
749
##
750
accessModes:
751
- ReadWriteOnce
752
## @param tracking.persistence.size Size of data volume
753
##
754
size: 8Gi
755
## @param tracking.persistence.existingClaim The name of an existing PVC to use for persistence
756
##
757
existingClaim: ""
758
## @param tracking.persistence.selector Selector to match an existing Persistent Volume for MLflow data PVC
759
## If set, the PVC can't have a PV dynamically provisioned for it
760
## E.g.
761
## selector:
762
## matchLabels:
763
## app: my-app
764
##
765
selector: {}
766
## @param tracking.persistence.dataSource Custom PVC data source
767
##
768
dataSource: {}
769
## MLflow Tracking Generic Ephemeral Volume Parameters
770
## ref: https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes
771
##
772
tmpVolume:
773
ephemeral:
774
## @param tracking.tmpVolume.ephemeral.enabled Use a generic ephemeral volume for `/tmp` instead of `emptyDir`
775
enabled: false
776
## @param tracking.tmpVolume.ephemeral.volumeClaimTemplate Custom `volumeClaimTemplate` for the ephemeral volume (YAML map)
777
volumeClaimTemplate: {}
778
## @section MLflow Tracking Other Parameters
779
##
780
serviceAccount:
781
## @param tracking.serviceAccount.create Specifies whether a ServiceAccount should be created
782
##
783
create: true
784
## @param tracking.serviceAccount.name The name of the ServiceAccount to use.
785
## If not set and create is true, a name is generated using the common.names.fullname template
786
##
787
name: ""
788
## @param tracking.serviceAccount.annotations Additional Service Account annotations (evaluated as a template)
789
##
790
annotations: {}
791
## @param tracking.serviceAccount.automountServiceAccountToken Automount service account token for the server service account
792
##
793
automountServiceAccountToken: false
794
## @section MLflow Tracking Metrics Parameters
795
##
796
metrics:
797
## @param tracking.metrics.enabled Enable the export of Prometheus metrics
798
##
799
enabled: false
800
## @param tracking.metrics.annotations [object] Annotations for the tracking service in order to scrape metrics
801
annotations:
802
prometheus.io/scrape: "true"
803
prometheus.io/port: "{{ .Values.tracking.service.ports.http }}"
804
## Prometheus Operator ServiceMonitor configuration
805
##
806
serviceMonitor:
807
## @param tracking.metrics.serviceMonitor.enabled if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`)
808
##
809
enabled: false
810
## @param tracking.metrics.serviceMonitor.namespace Namespace in which Prometheus is running
811
##
812
namespace: ""
813
## @param tracking.metrics.serviceMonitor.annotations Additional custom annotations for the ServiceMonitor
814
##
815
annotations: {}
816
## @param tracking.metrics.serviceMonitor.labels Extra labels for the ServiceMonitor
817
##
818
labels: {}
819
## @param tracking.metrics.serviceMonitor.jobLabel The name of the label on the target service to use as the job name in Prometheus
820
##
821
jobLabel: ""
822
## @param tracking.metrics.serviceMonitor.honorLabels honorLabels chooses the metric's labels on collisions with target labels
823
##
824
honorLabels: false
825
## @param tracking.metrics.serviceMonitor.interval Interval at which metrics should be scraped.
826
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
827
## e.g:
828
## interval: 10s
829
##
830
interval: ""
831
## @param tracking.metrics.serviceMonitor.scrapeTimeout Timeout after which the scrape is ended
832
## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint
833
## e.g:
834
## scrapeTimeout: 10s
835
##
836
scrapeTimeout: ""
837
## @param tracking.metrics.serviceMonitor.metricRelabelings Specify additional relabeling of metrics
838
##
839
metricRelabelings: []
840
## @param tracking.metrics.serviceMonitor.relabelings Specify general relabeling
841
##
842
relabelings: []
843
## @param tracking.metrics.serviceMonitor.selector Prometheus instance selector labels
844
## selector:
845
## prometheus: my-prometheus
846
##
847
selector: {}
848
## @section MLflow Run Parameters
849
##
850
run:
851
## @param run.enabled Enable Run deployment
852
##
853
enabled: true
854
## @param run.useJob Deploy as job
855
##
856
useJob: false
857
## @param run.backoffLimit set backoff limit of the job
858
##
859
backoffLimit: 10
860
## @param run.restartPolicy set restart policy of the job
861
##
862
restartPolicy: OnFailure
863
## @param run.extraEnvVars Array with extra environment variables to add to run nodes
864
## e.g:
865
## extraEnvVars:
866
## - name: FOO
867
## value: "bar"
868
##
869
extraEnvVars: []
870
## @param run.extraEnvVarsCM Name of existing ConfigMap containing extra env vars for run nodes
871
##
872
extraEnvVarsCM: ""
873
## @param run.extraEnvVarsSecret Name of existing Secret containing extra env vars for run nodes
874
##
875
extraEnvVarsSecret: ""
876
## @param run.annotations Annotations for the run deployment
877
##
878
annotations: {}
879
## @param run.command Override default container command (useful when using custom images)
880
##
881
command: []
882
## @param run.args Override default container args (useful when using custom images)
883
##
884
args: []
885
## @param run.terminationGracePeriodSeconds Run termination grace period (in seconds)
886
##
887
terminationGracePeriodSeconds: ""
888
## @param run.customLivenessProbe Custom livenessProbe that overrides the default one
889
##
890
customLivenessProbe: {}
891
## @param run.customReadinessProbe Custom readinessProbe that overrides the default one
892
##
893
customReadinessProbe: {}
894
## @param run.customStartupProbe Custom startupProbe that overrides the default one
895
##
896
customStartupProbe: {}
897
## run resource requests and limits
898
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
899
## @param run.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if run.resources is set (run.resources is recommended for production).
900
##
901
resourcesPreset: "small"
902
## @param run.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
903
## Example:
904
## resources:
905
## requests:
906
## cpu: 2
907
## memory: 512Mi
908
## limits:
909
## cpu: 3
910
## memory: 1024Mi
911
##
912
resources: {}
913
## Configure Pods Security Context
914
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
915
## @param run.podSecurityContext.enabled Enabled Run pods' Security Context
916
## @param run.podSecurityContext.fsGroupChangePolicy Set filesystem group change policy
917
## @param run.podSecurityContext.sysctls Set kernel settings using the sysctl interface
918
## @param run.podSecurityContext.supplementalGroups Set filesystem extra groups
919
## @param run.podSecurityContext.fsGroup Set Run pod's Security Context fsGroup
920
##
921
podSecurityContext:
922
enabled: true
923
fsGroupChangePolicy: Always
924
sysctls: []
925
supplementalGroups: []
926
fsGroup: 1001
927
## Configure Container Security Context
928
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
929
## @param run.containerSecurityContext.enabled Enabled Run containers' Security Context
930
## @param run.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
931
## @param run.containerSecurityContext.runAsUser Set Run containers' Security Context runAsUser
932
## @param run.containerSecurityContext.runAsGroup Set Run containers' Security Context runAsGroup
933
## @param run.containerSecurityContext.runAsNonRoot Set Run containers' Security Context runAsNonRoot
934
## @param run.containerSecurityContext.privileged Set Run containers' Security Context privileged
935
## @param run.containerSecurityContext.readOnlyRootFilesystem Set Run containers' Security Context runAsNonRoot
936
## @param run.containerSecurityContext.allowPrivilegeEscalation Set Run container's privilege escalation
937
## @param run.containerSecurityContext.capabilities.drop Set Run container's Security Context runAsNonRoot
938
## @param run.containerSecurityContext.seccompProfile.type Set Run container's Security Context seccomp profile
939
##
940
containerSecurityContext:
941
enabled: true
942
seLinuxOptions: {}
943
runAsUser: 1001
944
runAsGroup: 1001
945
runAsNonRoot: true
946
privileged: false
947
readOnlyRootFilesystem: true
948
allowPrivilegeEscalation: false
949
capabilities:
950
drop: ["ALL"]
951
seccompProfile:
952
type: "RuntimeDefault"
953
## @param run.lifecycleHooks for the run container(s) to automate configuration before or after startup
954
##
955
lifecycleHooks: {}
956
## @param run.runtimeClassName Name of the runtime class to be used by pod(s)
957
## ref: https://kubernetes.io/docs/concepts/containers/runtime-class/
958
##https://github.com/microsoft/MlflowExamples
959
runtimeClassName: ""
960
## @param run.automountServiceAccountToken Mount Service Account token in pod
961
##
962
automountServiceAccountToken: false
963
## @param run.hostAliases run pods host aliases
964
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
965
##
966
hostAliases: []
967
## @param run.labels Extra labels for the run deployment
968
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
969
##
970
labels: {}
971
## @param run.podLabels Extra labels for run pods
972
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
973
##
974
podLabels: {}
975
## @param run.podAnnotations Annotations for run pods
976
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
977
##
978
podAnnotations: {}
979
## @param run.podAffinityPreset Pod affinity preset. Ignored if `run.affinity` is set. Allowed values: `soft` or `hard`
980
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
981
##
982
podAffinityPreset: ""
983
## @param run.podAntiAffinityPreset Pod anti-affinity preset. Ignored if `run.affinity` is set. Allowed values: `soft` or `hard`
984
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#inter-pod-affinity-and-anti-affinity
985
##
986
podAntiAffinityPreset: soft
987
## Node run.affinity preset
988
## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#node-affinity
989
##
990
nodeAffinityPreset:
991
## @param run.nodeAffinityPreset.type Node affinity preset type. Ignored if `run.affinity` is set. Allowed values: `soft` or `hard`
992
##
993
type: ""
994
## @param run.nodeAffinityPreset.key Node label key to match. Ignored if `run.affinity` is set
995
##
996
key: ""
997
## @param run.nodeAffinityPreset.values Node label values to match. Ignored if `run.affinity` is set
998
## E.g.
999
## values:
1000
## - e2e-az1
1001
## - e2e-az2
1002
##
1003
values: []
1004
## @param run.affinity Affinity for Run pods assignment
1005
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
1006
## NOTE: `run.podAffinityPreset`, `run.podAntiAffinityPreset`, and `run.nodeAffinityPreset` will be ignored when it's set
1007
##
1008
affinity: {}
1009
## @param run.nodeSelector Node labels for Run pods assignment
1010
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes/
1011
##
1012
nodeSelector: {}
1013
## @param run.tolerations Tolerations for Run pods assignment
1014
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1015
##
1016
tolerations: []
1017
## @param run.topologySpreadConstraints Topology Spread Constraints for pod assignment spread across your cluster among failure-domains
1018
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods
1019
##
1020
topologySpreadConstraints: []
1021
## @param run.priorityClassName Run pods' priorityClassName
1022
##
1023
priorityClassName: ""
1024
## @param run.schedulerName Kubernetes pod scheduler registry
1025
## https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
1026
##
1027
schedulerName: ""
1028
## @param run.updateStrategy.type Run statefulset strategy type
1029
## @param run.updateStrategy.rollingUpdate Run statefulset rolling update configuration parameters
1030
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
1031
##
1032
updateStrategy:
1033
type: RollingUpdate
1034
rollingUpdate: {}
1035
## @param run.extraVolumes Optionally specify extra list of additional volumes for the Run pod(s)
1036
##
1037
extraVolumes: []
1038
## @param run.extraVolumeMounts Optionally specify extra list of additional volumeMounts for the Run container(s)
1039
##
1040
extraVolumeMounts: []
1041
## @param run.sidecars Add additional sidecar containers to the Run pod(s)
1042
## e.g:
1043
## sidecars:
1044
## - name: your-image-name
1045
## image: your-image
1046
## imagePullPolicy: Always
1047
## ports:
1048
## - name: portname
1049
## containerPort: 1234
1050
##
1051
sidecars: []
1052
## @param run.enableDefaultInitContainers Deploy default init containers
1053
##
1054
enableDefaultInitContainers: true
1055
## @param run.initContainers Add additional init containers to the Run pod(s)
1056
## ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
1057
## e.g:
1058
## initContainers:
1059
## - name: your-image-name
1060
## image: your-image
1061
## imagePullPolicy: Always
1062
## command: ['sh', '-c', 'echo "hello world"']
1063
##
1064
initContainers: []
1065
## Network Policy configuration
1066
## ref: https://kubernetes.io/docs/concepts/services-networking/network-policies/
1067
##
1068
networkPolicy:
1069
## @param run.networkPolicy.enabled Enable creation of NetworkPolicy resources
1070
##
1071
enabled: true
1072
## @param run.networkPolicy.allowExternal The Policy model to apply
1073
## When set to false, only pods with the correct client label will have network access to the ports MLFlow is
1074
## listening on. When true, MLFlow will accept connections from any source (with the correct destination port).
1075
##
1076
allowExternal: true
1077
## @param run.networkPolicy.allowExternalEgress Allow the pod to access any range of port and all destinations.
1078
##
1079
allowExternalEgress: true
1080
## @param run.networkPolicy.extraIngress [array] Add extra ingress rules to the NetworkPolicy
1081
## e.g:
1082
## extraIngress:
1083
## - ports:
1084
## - port: 1234
1085
## from:
1086
## - podSelector:
1087
## - matchLabels:
1088
## - role: frontend
1089
## - podSelector:
1090
## - matchExpressions:
1091
## - key: role
1092
## operator: In
1093
## values:
1094
## - frontend
1095
##
1096
extraIngress: []
1097
## @param run.networkPolicy.extraEgress [array] Add extra ingress rules to the NetworkPolicy
1098
## e.g:
1099
## extraEgress:
1100
## - ports:
1101
## - port: 1234
1102
## to:
1103
## - podSelector:
1104
## - matchLabels:
1105
## - role: frontend
1106
## - podSelector:
1107
## - matchExpressions:
1108
## - key: role
1109
## operator: In
1110
## values:
1111
## - frontend
1112
##
1113
extraEgress: []
1114
## @param run.networkPolicy.ingressNSMatchLabels [object] Labels to match to allow traffic from other namespaces
1115
## @param run.networkPolicy.ingressNSPodMatchLabels [object] Pod labels to match to allow traffic from other namespaces
1116
##
1117
ingressNSMatchLabels: {}
1118
ingressNSPodMatchLabels: {}
1119
## Source code parameters
1120
##
1121
source:
1122
## @param run.source.type Where the source comes from: Possible values: configmap, git, custom
1123
##
1124
type: "configmap"
1125
## @param run.source.launchCommand deepspeed command to run over the project
1126
##
1127
launchCommand: ""
1128
## @param run.source.configMap List of files of the project
1129
##
1130
configMap: {}
1131
## @param run.source.existingConfigMap Name of a configmap containing the files of the project
1132
##
1133
existingConfigMap: ""
1134
git:
1135
## @param run.source.git.repository Repository that holds the files
1136
##
1137
repository: ""
1138
## @param run.source.git.revision Revision from the repository to checkout
1139
##
1140
revision: ""
1141
## @param run.source.git.extraVolumeMounts Add extra volume mounts for the Git container
1142
## Useful to mount keys to connect through ssh. (normally used with extraVolumes)
1143
## E.g:
1144
## extraVolumeMounts:
1145
## - name: ssh-dir
1146
## mountPath: /.ssh/
1147
##
1148
extraVolumeMounts: []
1149
## Service account for Run to use
1150
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
1151
##
1152
serviceAccount:
1153
## @param run.serviceAccount.create Enable creation of ServiceAccount for Run pods
1154
##
1155
create: true
1156
## @param run.serviceAccount.name The name of the ServiceAccount to use
1157
## If not set and create is true, a name is generated using the common.names.fullname template
1158
##
1159
name: ""
1160
## @param run.serviceAccount.automountServiceAccountToken Allows auto mount of ServiceAccountToken on the serviceAccount created
1161
## Can be set to false if pods using this serviceAccount do not need to use K8s API
1162
##
1163
automountServiceAccountToken: false
1164
## @param run.serviceAccount.annotations Additional custom annotations for the ServiceAccount
1165
##
1166
annotations: {}
1167
## @section Mlflow Run persistence paramaters
1168
## Enable persistence using Persistent Volume Claims
1169
## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
1170
##
1171
persistence:
1172
## @param run.persistence.enabled Use a PVC to persist data
1173
##
1174
enabled: false
1175
## @param run.persistence.storageClass discourse & sidekiq data Persistent Volume Storage Class
1176
## If defined, storageClassName: <storageClass>
1177
## If set to "-", storageClassName: "", which disables dynamic provisioning
1178
## If undefined (the default) or set to null, no storageClassName spec is
1179
## set, choosing the default provisioner. (gp2 on AWS, standard on
1180
## GKE, AWS & OpenStack)
1181
##
1182
storageClass: ""
1183
## @param run.persistence.existingClaim Use a existing PVC which must be created manually before bound
1184
##
1185
existingClaim: ""
1186
## @param run.persistence.mountPath Path to mount the volume at
1187
##
1188
mountPath: /iamguarded/mlflow/data
1189
## @param run.persistence.subPath subPath to use for mounting the volume
1190
##
1191
subPath: ""
1192
## @param run.persistence.accessModes Persistent Volume Access Mode
1193
##
1194
accessModes:
1195
- ReadWriteOnce
1196
## @param run.persistence.dataSource Custom PVC data source
1197
##
1198
dataSource: {}
1199
## @param run.persistence.selector Selector to match an existing Persistent Volume for the run data PVC
1200
## If set, the PVC can't have a PV dynamically provisioned for it
1201
## E.g.
1202
## selector:
1203
## matchLabels:
1204
## app: my-app
1205
##
1206
selector: {}
1207
## @param run.persistence.size Size of data volume
1208
##
1209
size: 8Gi
1210
## @param run.persistence.labels Persistent Volume labels
1211
##
1212
labels: {}
1213
## @param run.persistence.annotations Persistent Volume annotations
1214
##
1215
annotations: {}
1216
## @section Init Container Parameters
1217
##
1218
1219
## 'volumePermissions' init container parameters
1220
## Changes the owner and group of the persistent volume mount point to runAsUser:fsGroup values
1221
## based on the *podSecurityContext/*containerSecurityContext parameters
1222
##
1223
volumePermissions:
1224
## @param volumePermissions.enabled Enable init container that changes the owner/group of the PV mount point to `runAsUser:fsGroup`
1225
##
1226
enabled: false
1227
## OS Shell + Utility image
1228
## @param volumePermissions.image.registry [default: REGISTRY_NAME] OS Shell + Utility image registry
1229
## @param volumePermissions.image.repository [default: REPOSITORY_NAME/os-shell] OS Shell + Utility image repository
1230
## @skip volumePermissions.image.tag OS Shell + Utility image tag (immutable tags are recommended)
1231
## @param volumePermissions.image.pullPolicy OS Shell + Utility image pull policy
1232
## @param volumePermissions.image.pullSecrets OS Shell + Utility image pull secrets
1233
##
1234
image:
1235
registry: cgr.dev
1236
repository: chainguard-private/iamguarded-charts/os-shell-iamguarded
1237
tag: 1.0.0
1238
pullPolicy: IfNotPresent
1239
## Optionally specify an array of imagePullSecrets.
1240
## Secrets must be manually created in the namespace.
1241
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1242
## e.g:
1243
## pullSecrets:
1244
## - myRegistryKeySecretName
1245
##
1246
pullSecrets: []
1247
digest: ""
1248
## Init container's resource requests and limits
1249
## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
1250
## @param volumePermissions.resourcesPreset Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if volumePermissions.resources is set (volumePermissions.resources is recommended for production).
1251
##
1252
resourcesPreset: "nano"
1253
## @param volumePermissions.resources Set container requests and limits for different resources like CPU or memory (essential for production workloads)
1254
## Example:
1255
## resources:
1256
## requests:
1257
## cpu: 2
1258
## memory: 512Mi
1259
## limits:
1260
## cpu: 3
1261
## memory: 1024Mi
1262
##
1263
resources: {}
1264
## Init container Container Security Context
1265
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1266
## @param volumePermissions.containerSecurityContext.enabled Set container security context settings
1267
## @param volumePermissions.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1268
## @param volumePermissions.containerSecurityContext.runAsUser Set init container's Security Context runAsUser
1269
## NOTE: when runAsUser is set to special value "auto", init container will try to chown the
1270
## data folder to auto-determined user&group, using commands: `id -u`:`id -G | cut -d" " -f2`
1271
## "auto" is especially useful for OpenShift which has scc with dynamic user ids (and 0 is not allowed)
1272
##
1273
containerSecurityContext:
1274
enabled: true
1275
seLinuxOptions: {}
1276
runAsUser: 0
1277
waitContainer:
1278
## @param waitContainer.image.registry [default: REGISTRY_NAME] Init container wait-container image registry
1279
## @param waitContainer.image.repository [default: REPOSITORY_NAME/os-shell] Init container wait-container image name
1280
## @skip waitContainer.image.tag Init container wait-container image tag
1281
## @param waitContainer.image.digest Init container wait-container image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
1282
##
1283
image:
1284
registry: cgr.dev
1285
repository: chainguard-private/os-shell-iamguarded
1286
tag: 1.0.0
1287
digest: ""
1288
## @param waitContainer.image.pullPolicy Init container wait-container image pull policy
1289
##
1290
pullPolicy: IfNotPresent
1291
## @param waitContainer.image.pullSecrets [array] Specify docker-registry secret names as an array
1292
## Optionally specify an array of imagePullSecrets.
1293
## Secrets must be manually created in the namespace.
1294
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
1295
## e.g:
1296
## pullSecrets:
1297
## - myRegistryKeySecretName
1298
##
1299
pullSecrets: []
1300
## Configure Container Security Context
1301
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
1302
## @param waitContainer.containerSecurityContext.enabled Enabled containers' Security Context
1303
## @param waitContainer.containerSecurityContext.seLinuxOptions [object,nullable] Set SELinux options in container
1304
## @param waitContainer.containerSecurityContext.runAsUser Set containers' Security Context runAsUser
1305
## @param waitContainer.containerSecurityContext.runAsGroup Set containers' Security Context runAsGroup
1306
## @param waitContainer.containerSecurityContext.runAsNonRoot Set containers' Security Context runAsNonRoot
1307
## @param waitContainer.containerSecurityContext.privileged Set containers' Security Context privileged
1308
## @param waitContainer.containerSecurityContext.readOnlyRootFilesystem Set containers' Security Context runAsNonRoot
1309
## @param waitContainer.containerSecurityContext.allowPrivilegeEscalation Set container's privilege escalation
1310
## @param waitContainer.containerSecurityContext.capabilities.drop Set container's Security Context runAsNonRoot
1311
## @param waitContainer.containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
1312
##
1313
containerSecurityContext:
1314
enabled: true
1315
seLinuxOptions: {}
1316
runAsUser: 1001
1317
runAsGroup: 1001
1318
runAsNonRoot: true
1319
privileged: false
1320
readOnlyRootFilesystem: true
1321
allowPrivilegeEscalation: false
1322
capabilities:
1323
drop: ["ALL"]
1324
seccompProfile:
1325
type: "RuntimeDefault"
1326
## @section PostgreSQL chart configuration
1327
## @param postgresql.enabled Switch to enable or disable the PostgreSQL helm chart
1328
## @param postgresql.auth.username Name for a custom user to create
1329
## @param postgresql.auth.password Password for the custom user to create
1330
## @param postgresql.auth.database Name for a custom database to create
1331
## @param postgresql.auth.existingSecret Name of existing secret to use for PostgreSQL credentials
1332
## @param postgresql.architecture PostgreSQL architecture (`standalone` or `replication`)
1333
## @param postgresql.primary.service.ports.postgresql PostgreSQL service port
1334
##
1335
postgresql:
1336
enabled: true
1337
auth:
1338
username: bn_mlflow
1339
password: ""
1340
database: iamguarded_mlflow
1341
existingSecret: ""
1342
architecture: standalone
1343
primary:
1344
service:
1345
ports:
1346
postgresql: 5432
1347
## @param postgresql.primary.initdb.scripts [object] Map with init scripts for the PostgreSQL database
1348
initdb:
1349
scripts:
1350
# For authentication, Mlflow requires a different database in order to work
1351
create_auth_db.sh: |
1352
#!/bin/bash
1353
PGPASSWORD=$POSTGRES_POSTGRES_PASSWORD psql -U postgres <<< "CREATE DATABASE {{ include "mlflow.v0.database-auth.name" . }}"
1354
PGPASSWORD=$POSTGRES_POSTGRES_PASSWORD psql -U postgres <<< "GRANT ALL PRIVILEGES ON DATABASE {{ include "mlflow.v0.database-auth.name" . }} to {{ .Values.auth.username }}"
1355
PGPASSWORD=$POSTGRES_POSTGRES_PASSWORD psql -U postgres <<< "ALTER DATABASE {{ include "mlflow.v0.database-auth.name" . }} OWNER TO {{ .Values.auth.username }}"
1356
image:
1357
registry: cgr.dev
1358
repository: chainguard-private/postgres-iamguarded
1359
digest: ""
1360
tag: 19.0-r0
1361
volumePermissions:
1362
image:
1363
registry: cgr.dev
1364
repository: chainguard-private/os-shell-iamguarded
1365
digest: ""
1366
tag: 1.0.0
1367
metrics:
1368
image:
1369
registry: cgr.dev
1370
repository: chainguard-private/prometheus-postgres-exporter-iamguarded
1371
digest: ""
1372
tag: 0.21.1
1373
## @section External PostgreSQL configuration
1374
## All of these values are only used when postgresql.enabled is set to false
1375
## @param externalDatabase.dialectDriver Database Dialect(+Driver)
1376
## @param externalDatabase.host Database host
1377
## @param externalDatabase.port Database port number
1378
## @param externalDatabase.user Non-root username
1379
## @param externalDatabase.password Password for the non-root username
1380
## @param externalDatabase.database Database name
1381
## @param externalDatabase.authDatabase Database name for the auth module (only if tracking.auth.enabled=true)
1382
## @param externalDatabase.existingSecret Name of an existing secret resource containing the database credentials
1383
## @param externalDatabase.existingSecretPasswordKey Name of an existing secret key containing the database credentials
1384
##
1385
externalDatabase:
1386
dialectDriver: "postgresql"
1387
host: ""
1388
port: 5432
1389
user: postgres
1390
database: mlflow
1391
authDatabase: mlflow_auth
1392
password: ""
1393
existingSecret: ""
1394
existingSecretPasswordKey: "db-password"
1395
## @section MinIO&reg; chart parameters
1396
##
1397
minio:
1398
## @param minio.enabled Enable/disable MinIO&reg; chart installation
1399
## to be used as an objstore for Mlflow
1400
##
1401
enabled: true
1402
## MinIO&reg; authentication parameters
1403
##
1404
auth:
1405
## @param minio.auth.rootUser MinIO&reg; root username
1406
##
1407
rootUser: admin
1408
## @param minio.auth.rootPassword Password for MinIO&reg; root user
1409
##
1410
rootPassword: ""
1411
## @param minio.auth.existingSecret Name of an existing secret containing the MinIO&reg; credentials
1412
##
1413
existingSecret: ""
1414
## @param minio.defaultBuckets Comma, semi-colon or space separated list of MinIO&reg; buckets to create
1415
##
1416
defaultBuckets: "mlflow"
1417
## @param minio.provisioning.enabled Enable/disable MinIO&reg; provisioning job
1418
## @param minio.provisioning.extraCommands Extra commands to run on MinIO&reg; provisioning job
1419
##
1420
provisioning:
1421
enabled: true
1422
# We need to allow downloads in order for the UI to work
1423
extraCommands: ["mc anonymous set download provisioning/mlflow"]
1424
## @param minio.tls.enabled Enable/disable MinIO&reg; TLS support
1425
##
1426
tls:
1427
enabled: false
1428
## @param minio.service.type MinIO&reg; service type
1429
## @param minio.service.loadBalancerIP MinIO&reg; service LoadBalancer IP
1430
## @param minio.service.ports.api MinIO&reg; service port
1431
##
1432
service:
1433
type: ClusterIP
1434
loadBalancerIP: ""
1435
ports:
1436
api: 80
1437
## @param minio.console.enabled Enable MinIO&reg; Console
1438
##
1439
console:
1440
enabled: false
1441
image:
1442
registry: cgr.dev
1443
repository: chainguard-private/minio-iamguarded
1444
digest: ""
1445
tag: 0.20261123.001037
1446
clientImage:
1447
registry: cgr.dev
1448
repository: chainguard-private/minio-client-iamguarded
1449
digest: ""
1450
tag: 0.20250813.083541
1451
defaultInitContainers:
1452
volumePermissions:
1453
image:
1454
registry: cgr.dev
1455
repository: chainguard-private/os-shell-iamguarded
1456
digest: ""
1457
tag: 1.0.0
1458
## @section External S3 parameters
1459
## All of these values are only used when minio.enabled is set to false
1460
## @param externalS3.host External S3 host. When using AWS S3, include appropriate [regional code](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region), e.g. "eu-central-1.amazonaws.com
1461
## @param externalS3.port External S3 port number
1462
## @param externalS3.useCredentialsInSecret Whether to use a secret to store the S3 credentials
1463
## @param externalS3.accessKeyID External S3 access key ID
1464
## @param externalS3.accessKeySecret External S3 access key secret
1465
## @param externalS3.existingSecret Name of an existing secret resource containing the S3 credentials
1466
## @param externalS3.existingSecretAccessKeyIDKey Name of an existing secret key containing the S3 access key ID
1467
## @param externalS3.existingSecretKeySecretKey Name of an existing secret key containing the S3 access key secret
1468
## @param externalS3.protocol External S3 protocol
1469
## @param externalS3.bucket External S3 bucket
1470
## @param externalS3.serveArtifacts Whether artifact serving is enabled
1471
##
1472
externalS3:
1473
host: ""
1474
port: 443
1475
useCredentialsInSecret: true
1476
accessKeyID: ""
1477
accessKeySecret: ""
1478
existingSecret: ""
1479
existingSecretAccessKeyIDKey: "root-user"
1480
existingSecretKeySecretKey: "root-password"
1481
protocol: "https"
1482
bucket: "mlflow"
1483
serveArtifacts: true
1484
## @section External Google Cloud Storage parameters
1485
## All of these values are only used when minio.enabled is set to false and externalS3 is not configured (host is empty)
1486
## @param externalGCS.bucket GCS bucket name. Activate gcs artifact storage if set
1487
## @param externalGCS.googleCloudProject Google Cloud Project to use (optional, needed when using "default application credentials")
1488
## @param externalGCS.useCredentialsInSecret Whether to read the GCS application credentials from a secret
1489
## @param externalGCS.existingSecret Name of an existing secret key containing the application credentials file (required when useCredentialsInSecret is true)
1490
## @param externalGCS.existingSecretKey Key in the existing secret containing the application credentials (required when useCredentialsInSecret is true)
1491
## @param externalGCS.serveArtifacts Whether artifact serving is enabled
1492
##
1493
externalGCS:
1494
bucket: ""
1495
googleCloudProject: ""
1496
useCredentialsInSecret: false
1497
existingSecret: ""
1498
existingSecretKey: ""
1499
serveArtifacts: true
1500
## @section External Azure Blob Storage parameters
1501
## All of these values are only used when minio.enabled is set to false and externalS3 is not configured (host is empty)
1502
## and externalGCS is not configured (bucket is empty).
1503
## @param externalAzureBlob.storageAccount Azure Blob Storage account name. Activate azure artifact storage if set,
1504
## @param externalAzureBlob.accessKey Azure Blob Storage access key. Optional if connectionString is set
1505
## @param externalAzureBlob.connectionString Azure Blob Storage connection string. Optional if accessKey is set.
1506
## @param externalAzureBlob.containerName Azure Blob Storage container name
1507
## @param externalAzureBlob.clientId Azure Blob Storage client ID
1508
## @param externalAzureBlob.tenantId Azure Blob Storage tenant ID
1509
## @param externalAzureBlob.clientSecret Azure Blob Storage client secret
1510
## @param externalAzureBlob.useCredentialsInSecret Whether to read the Azure Blob Storage credentials from a secret
1511
## @param externalAzureBlob.existingSecret Name of an existing secret key containing the Azure Blob Storage credentials (required when useCredentialsInSecret is true)
1512
## @param externalAzureBlob.existingAccessKeyKey Key in the existing secret containing the Azure Blob Storage access key (required when useCredentialsInSecret is true)
1513
## @param externalAzureBlob.existingConnectionStringKey Key in the existing secret containing the Azure Blob Storage connection string (required when useCredentialsInSecret is true)
1514
## @param externalAzureBlob.clientSecretKey Key in the existing secret containing the Azure Blob Storage client secret (required when useCredentialsInSecret is true)
1515
## @param externalAzureBlob.serveArtifacts Whether artifact serving is enabled
1516
##
1517
externalAzureBlob:
1518
storageAccount: ""
1519
accessKey: ""
1520
connectionString: ""
1521
containerName: "mlflow"
1522
clientId: ""
1523
tenantId: ""
1524
clientSecret: ""
1525
useCredentialsInSecret: false
1526
existingSecret: ""
1527
existingAccessKeyKey: ""
1528
existingConnectionStringKey: ""
1529
clientSecretKey: ""
1530
serveArtifacts: true
1531

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.