values.yaml 21.6 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Used to generate top-level secrets (overridden by custom-values.yaml)
16

17
18
19
# Subcharts configuration

# Dynamo operator configuration
20
dynamo-operator:
21
  # -- Whether to enable the Dynamo Kubernetes operator deployment
22
  enabled: true
23
24

  # -- NATS server address for operator communication (leave empty to use the bundled NATS chart). Format: "nats://hostname:port"
25
  natsAddr: ""
26
27

  # -- etcd server address for operator state storage (leave empty to use the bundled etcd chart). Format: "http://hostname:port" or "https://hostname:port"
28
  etcdAddr: ""
29

30
31
32
  # -- URL for the Model Express server if not deployed by this helm chart. This is ignored if Model Express server is installed by this helm chart (global.model-express.enabled is true).
  modelExpressURL: ""
  # -- Namespace access controls for the operator
33
  namespaceRestriction:
34
    # -- Whether to restrict operator to specific namespaces
35
    enabled: true
36
    # -- Target namespace for operator deployment (leave empty for current namespace)
37
    targetNamespace:
38
39

  # Controller manager configuration
40
  controllerManager:
41
    # -- Node tolerations for controller manager pods
42
    tolerations: []
43

44
    manager:
45
      # Container image configuration for the operator manager
46
      image:
47
        # -- Official NVIDIA Dynamo operator image repository
48
        repository: "nvcr.io/nvidia/ai-dynamo/kubernetes-operator"
49
        # -- Image tag (leave empty to use chart default)
50
        tag: ""
51
        # -- Image pull policy - when to pull the image
52
        pullPolicy: IfNotPresent
53
54

      # Command line arguments for the operator manager
55
      args:
56
        # -- Health probe endpoint for Kubernetes health checks
57
        - --health-probe-bind-address=:8081
58
        # -- Metrics endpoint for Prometheus scraping (localhost only for security)
59
        - --metrics-bind-address=127.0.0.1:8080
60
61

  # -- Secrets for pulling private container images
62
  imagePullSecrets: []
63
64

  # Core Dynamo platform configuration
65
  dynamo:
66
    # -- How long to wait before forcefully terminating Grove instances
67
    groveTerminationDelay: 15m
68
69

    # Internal utility images used by the platform
70
    internalImages:
71
      # -- Debugger image for troubleshooting deployments
72
      debugger: python:3.12-slim
73
74

    # -- Whether to enable restricted security contexts for enhanced security
75
    enableRestrictedSecurityContext: false
76
77

    # Docker registry configuration for private repositories
78
    dockerRegistry:
79
      # -- Whether to use Kubernetes secrets for registry authentication
80
      useKubernetesSecret: false
81
      # -- Docker registry server URL
82
      server:
83
      # -- Registry username
84
      username:
85
      # -- Registry password (consider using existingSecretName instead)
86
      password:
87
      # -- Name of existing Kubernetes secret containing registry credentials
88
      existingSecretName:
89
      # -- Whether the registry uses HTTPS
90
      secure: true
91
92

    # Ingress configuration for external access
93
    ingress:
94
      # -- Whether to create ingress resources
95
      enabled: false
96
      # -- Ingress class name (e.g., "nginx", "traefik")
97
      className:
98
      # -- Secret name containing TLS certificates
99
      tlsSecretName: my-tls-secret
100
101

    # Istio service mesh configuration
102
    istio:
103
      # -- Whether to enable Istio integration
104
      enabled: false
105
      # -- Istio gateway name for routing
106
      gateway:
107
108

    # -- Host suffix for generated ingress hostnames
109
    ingressHostSuffix: ""
110
111

    # -- Whether VirtualServices should support HTTPS routing
112
    virtualServiceSupportsHTTPS: false
113

114
115
116
117
118
    # Metrics configuration
    metrics:
      # -- Endpoint that services can use to retrieve metrics. If set, dynamo operator will automatically inject the PROMETHEUS_ENDPOINT environment variable into services it manages. Users can override the value of the PROMETHEUS_ENDPOINT environment variable by modifying the corresponding deployment's environment variables
      prometheusEndpoint: ""

119
120
121
122
123
124
125
126
127
128
129
130
131

# Grove component - distributed inference orchestration
grove:
  # -- Whether to enable Grove for multi-node inference coordination, if enabled, the Grove operator will be deployed cluster-wide
  enabled: false

# Kai Scheduler component - advanced workload scheduling
kai-scheduler:
  # -- Whether to enable Kai Scheduler for intelligent resource allocation, if enabled, the Kai Scheduler operator will be deployed cluster-wide
  enabled: false

# etcd configuration - distributed key-value store for operator state
# For complete configuration options, see: https://github.com/bitnami/charts/tree/main/bitnami/etcd
132
etcd:
133

134
  # -- Whether to enable etcd deployment, disable if you want to use an external etcd instance
135
  enabled: true
136

137
  image:
138
    # -- following bitnami announcement for brownout - https://github.com/bitnami/charts/tree/main/bitnami/etcd#%EF%B8%8F-important-notice-upcoming-changes-to-the-bitnami-catalog, we need to use the legacy repository until we migrate to the new "secure" repository
139
    repository: bitnamilegacy/etcd
140
    tag: 3.5.18-debian-12-r5
141

142
  # Persistent storage configuration for etcd data
143
  persistence:
144
    # Whether to enable persistent storage (recommended for production)
145
146
147
    enabled: true
    # Use the cluster default storage-class or override with a named class
    storageClass: null
148
    # Size of persistent volume for etcd data
149
    size: 1Gi
150
151

  # Pre-upgrade job configuration
152
  preUpgrade:
153
    # Whether to run pre-upgrade validation jobs
154
    enabled: false
155
156

  # Number of etcd replicas (1 for single-node, 3+ for HA)
157
  replicaCount: 1
158
159
160

  # Authentication and authorization settings
  # Explicitly remove authentication for simplified internal communication
161
162
  auth:
    rbac:
163
      # Whether to create RBAC authentication (disabled for internal use)
164
165
      create: false

166
  # Health check configuration
167
  readinessProbe:
168
    # Whether to enable readiness probes (disabled to reduce startup complexity)
169
170
171
    enabled: false

  livenessProbe:
172
    # Whether to enable liveness probes (disabled to reduce startup complexity)
173
174
    enabled: false

175
  # Node tolerations for etcd pods (allows scheduling on specific nodes)
176
177
  tolerations: []

178
179
# NATS configuration - messaging system for operator communication
# For complete configuration options, see: https://github.com/nats-io/k8s/tree/main/helm/charts/nats
180
nats:
181
  # -- Whether to enable NATS deployment, disable if you want to use an external NATS instance
182
  enabled: true
183
184
185
186

  # TLS Certificate Authority configuration for secure communication
  # Reference a common CA Certificate or Bundle in all nats config `tls` blocks and nats-box contexts
  # Note: `tls.verify` still must be set in the appropriate nats config `tls` blocks to require mTLS
187
  tlsCA:
188
    # Whether to enable TLS CA configuration
189
190
    enabled: false

191
  # Core NATS server configuration
192
  config:
193
    # NATS clustering for high availability (multiple NATS servers)
194
    cluster:
195
      # Whether to enable NATS clustering (disabled for single-node setups)
196
197
      enabled: false

198
    # JetStream - persistent messaging and streaming capabilities
199
    jetstream:
200
      # Whether to enable JetStream (recommended for persistent messaging)
201
202
      enabled: true

203
      # File-based storage for JetStream streams and consumers
204
      fileStore:
205
        # Whether to enable file storage (persistent across restarts)
206
        enabled: true
207
        # Directory path for JetStream file storage
208
209
210
        dir: /data

        ############################################################
211
        # Persistent Volume Claim for JetStream file storage
212
213
        ############################################################
        pvc:
214
          # Whether to create a PVC for JetStream storage
215
          enabled: true
216
          # Size of the persistent volume for JetStream data
217
          size: 10Gi
218
          # Storage class name (leave empty for default)
219
220
          storageClassName:

221
          # Advanced PVC configuration (merge additional fields)
222
223
224
          # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#persistentvolumeclaim-v1-core
          merge: {}
          patch: []
225
          # PVC name (defaults to "{{ include "nats.fullname" $ }}-js")
226
227
          name:

228
        # Maximum size for JetStream file storage (defaults to PVC size)
229
230
        maxSize:

231
      # Memory-based storage for JetStream (non-persistent)
232
      memoryStore:
233
        # Whether to enable memory storage (faster but not persistent)
234
235
        enabled: false

236
237
      # Advanced JetStream configuration
      # For options see: https://docs.nats.io/running-a-nats-service/configuration#jetstream
238
239
240
      merge: {}
      patch: []

241
    # Core NATS server settings
242
    nats:
243
      # Port for NATS client connections
244
      port: 4222
245
246

      # TLS configuration for encrypted connections
247
      tls:
248
        # Whether to enable TLS encryption
249
        enabled: false
250
251
        # Advanced TLS configuration
        # For options see: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/tls
252
253
254
        merge: {}
        patch: []

255
    # Leaf nodes for creating NATS topologies and remote connections
256
    leafnodes:
257
      # Whether to enable leaf node connections
258
259
      enabled: false

260
    # WebSocket support for browser-based NATS clients
261
    websocket:
262
      # Whether to enable WebSocket protocol support
263
264
      enabled: false

265
    # MQTT protocol bridge for IoT device connectivity
266
    mqtt:
267
      # Whether to enable MQTT protocol support
268
269
      enabled: false

270
    # Gateway connections for multi-cluster NATS deployments
271
    gateway:
272
      # Whether to enable gateway connections
273
274
      enabled: false

275
    # HTTP monitoring endpoint for NATS server metrics
276
    monitor:
277
      # Whether to enable HTTP monitoring interface
278
      enabled: true
279
      # Port for monitoring HTTP endpoint
280
      port: 8222
281
282

      # TLS configuration for monitoring endpoint
283
      tls:
284
285
        # Whether to enable HTTPS for monitoring (requires config.nats.tls enabled)
        # When enabled, monitoring port will use HTTPS with the options from config.nats.tls
286
287
        enabled: false

288
    # Go pprof profiling endpoint for performance debugging
289
    profiling:
290
      # Whether to enable profiling endpoint (for debugging only)
291
      enabled: false
292
      # Port for profiling endpoint
293
294
      port: 65432

295
    # Account resolver for multi-tenant NATS deployments
296
    resolver:
297
      # Whether to enable account resolution (for advanced multi-tenancy)
298
299
      enabled: false

300
301
302
    # Server naming configuration
    # Adds a prefix to the server name, which defaults to the pod name
    # Helpful for ensuring server name is unique in a super cluster
303
304
    serverNamePrefix: ""

305
306
307
    # Advanced NATS configuration merging and patching
    # For complete options see: https://docs.nats.io/running-a-nats-service/configuration
    # Special rules apply:
308
309
310
311
312
    #  1. strings that start with << and end with >> will be unquoted
    #     use this for variables and numbers with units
    #  2. keys ending in $include will be switched to include directives
    #     keys are sorted alphabetically, use prefix before $includes to control includes ordering
    #     paths should be relative to /etc/nats-config/nats.conf
313
    # Example:
314
315
316
317
318
319
320
321
322
323
324
325
    #   merge:
    #     $include: ./my-config.conf
    #     zzz$include: ./my-config-last.conf
    #     server_name: nats
    #     authorization:
    #       token: << $TOKEN >>
    #     jetstream:
    #       max_memory_store: << 1GB >>
    merge: {}
    patch: []

  ############################################################
326
  # NATS container configuration in StatefulSet
327
328
  ############################################################
  container:
329
    # NATS server container image configuration
330
    image:
331
      # Official NATS server repository
332
      repository: nats
333
      # NATS server version (Alpine-based for smaller size)
334
      tag: 2.10.21-alpine
335
      # Image pull policy (leave empty for chart default)
336
      pullPolicy:
337
      # Custom registry URL (leave empty for Docker Hub)
338
339
      registry:

340
341
    # Container port configuration
    # Note: Ports must also be enabled in the config section above
342
343
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#containerport-v1-core
    ports:
344
      # Main NATS client connection port
345
      nats: {}
346
      # Leaf node connection port
347
      leafnodes: {}
348
      # WebSocket connection port
349
      websocket: {}
350
      # MQTT protocol port
351
      mqtt: {}
352
      # Cluster communication port
353
      cluster: {}
354
      # Gateway connection port
355
      gateway: {}
356
      # HTTP monitoring port
357
      monitor: {}
358
      # Go profiling port
359
360
      profiling: {}

361
362
363
    # Environment variables for the NATS container
    # Map with key as env var name, value can be string or map
    # Example:
364
365
366
367
368
369
370
371
372
    #   env:
    #     GOMEMLIMIT: 7GiB
    #     TOKEN:
    #       valueFrom:
    #         secretKeyRef:
    #           name: nats-auth
    #           key: token
    env: {}

373
    # Advanced container configuration merging and patching
374
375
376
377
378
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
    merge: {}
    patch: []

  ############################################################
379
  # Configuration reloader container for hot config updates
380
381
  ############################################################
  reloader:
382
    # Whether to enable the config reloader sidecar container
383
    enabled: true
384
385

    # Config reloader container image
386
    image:
387
      # Official NATS config reloader repository
388
      repository: natsio/nats-server-config-reloader
389
      # Config reloader version
390
      tag: 0.16.0
391
      # Image pull policy (leave empty for chart default)
392
      pullPolicy:
393
      # Custom registry URL (leave empty for Docker Hub)
394
395
      registry:

396
    # Environment variables for the reloader container
397
398
    env: {}

399
400
    # Volume mount prefixes from NATS container to share with reloader
    # All NATS container volume mounts with these prefixes will be mounted into the reloader
401
402
403
    natsVolumeMountPrefixes:
    - /etc/

404
    # Advanced reloader container configuration
405
406
407
408
409
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
    merge: {}
    patch: []

  ############################################################
410
  # Prometheus metrics exporter container (optional)
411
  ############################################################
412
  # Note: config.monitor must be enabled for this to work
413
  promExporter:
414
    # Whether to enable Prometheus metrics exporter sidecar
415
416
417
    enabled: false

  ############################################################
418
  # Kubernetes Service for NATS access
419
420
  ############################################################
  service:
421
    # Whether to create a Kubernetes Service for NATS
422
423
    enabled: true

424
425
426
    # Service port configuration
    # Additional boolean field 'enabled' controls whether port is exposed in the service
    # Note: Ports must also be enabled in the config section above
427
428
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#serviceport-v1-core
    ports:
429
      # Main NATS client connection port
430
431
      nats:
        enabled: true
432
      # Leaf node connection port
433
434
      leafnodes:
        enabled: true
435
      # WebSocket connection port
436
437
      websocket:
        enabled: true
438
      # MQTT protocol port
439
440
      mqtt:
        enabled: true
441
      # Cluster communication port (typically internal only)
442
443
      cluster:
        enabled: false
444
      # Gateway connection port (typically internal only)
445
446
      gateway:
        enabled: false
447
      # HTTP monitoring port (typically internal only)
448
449
      monitor:
        enabled: false
450
      # Go profiling port (typically internal only)
451
452
453
      profiling:
        enabled: false

454
    # Advanced service configuration
455
456
457
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#service-v1-core
    merge: {}
    patch: []
458
    # Service name (defaults to "{{ include "nats.fullname" $ }}")
459
460
461
    name:

  ############################################################
462
  # Advanced NATS Kubernetes resource configuration
463
464
  ############################################################

465
  # StatefulSet configuration for NATS server persistence
466
  statefulSet:
467
    # Advanced StatefulSet configuration merging and patching
468
469
470
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#statefulset-v1-apps
    merge: {}
    patch: []
471
    # StatefulSet name (defaults to "{{ include "nats.fullname" $ }}")
472
473
    name:

474
  # Pod template configuration for NATS StatefulSet
475
  podTemplate:
476
477
    # Whether to add a hash of the ConfigMap as a pod annotation
    # This will cause the StatefulSet to roll when the ConfigMap is updated
478
479
    configChecksumAnnotation: true

480
481
482
483
484
485
486
    # Pod topology spread constraints for better distribution across nodes
    # Map of topologyKey: topologySpreadConstraint
    # labelSelector will be added automatically to match StatefulSet pods
    # Example:
    #   topologySpreadConstraints:
    #     kubernetes.io/hostname:
    #       maxSkew: 1
487
488
    topologySpreadConstraints: {}

489
    # Advanced pod template configuration
490
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#pod-v1-core
491
492
    merge:
      spec:
493
        # Node tolerations for NATS pods (allows scheduling on specific nodes)
494
        tolerations: []
495
496
    patch: []

497
  # Headless service for StatefulSet pod discovery
498
  headlessService:
499
    # Advanced headless service configuration
500
501
502
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#service-v1-core
    merge: {}
    patch: []
503
    # Headless service name (defaults to "{{ include "nats.fullname" $ }}-headless")
504
505
    name:

506
  # ConfigMap for NATS server configuration
507
  configMap:
508
    # Advanced ConfigMap configuration
509
510
511
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#configmap-v1-core
    merge: {}
    patch: []
512
    # ConfigMap name (defaults to "{{ include "nats.fullname" $ }}-config")
513
514
    name:

515
  # Pod Disruption Budget for controlled rolling updates
516
  podDisruptionBudget:
517
    # Whether to create a PodDisruptionBudget (recommended for production)
518
519
    enabled: true

520
  # Service Account for NATS server pods
521
  serviceAccount:
522
    # Whether to create and use a dedicated service account
523
524
525
    enabled: false

  ############################################################
526
527
  # NATS Box - CLI tools and debugging container
  # NATS Box provides CLI tools for interacting with NATS server
528
529
  ############################################################
  natsBox:
530
    # Whether to deploy NATS Box for CLI access and debugging
531
    enabled: false
532
533

    ############################################################
534
    # NATS client contexts for authentication and connection
535
536
    ############################################################
    contexts:
537
      # Default context configuration
538
      default:
539
        # Credentials-based authentication
540
        creds:
541
          # Inline credentials file contents (base64 encoded)
542
          contents:
543
          # Name of existing secret containing credentials file
544
          secretName:
545
          # Directory to mount credentials (defaults to /etc/nats-creds/<context-name>)
546
          dir:
547
          # Key name in secret for credentials file
548
          key: nats.creds
549
550

        # NKey-based authentication (public/private key pairs)
551
        nkey:
552
          # Inline NKey file contents (base64 encoded)
553
          contents:
554
          # Name of existing secret containing NKey file
555
          secretName:
556
          # Directory to mount NKey (defaults to /etc/nats-nkeys/<context-name>)
557
          dir:
558
          # Key name in secret for NKey file
559
          key: nats.nk
560
561

        # TLS client certificate authentication
562
        tls:
563
          # Name of existing secret containing TLS client certificates
564
          secretName:
565
          # Directory to mount certificates (defaults to /etc/nats-certs/<context-name>)
566
          dir:
567
          # Certificate file name in secret
568
          cert: tls.crt
569
          # Private key file name in secret
570
571
          key: tls.key

572
573
        # Advanced context configuration
        # For options see: https://docs.nats.io/using-nats/nats-tools/nats_cli#nats-contexts
574
575
576
        merge: {}
        patch: []

577
    # Name of context to select by default for NATS CLI operations
578
579
580
    defaultContextName: default

    ############################################################
581
    # NATS Box container configuration
582
583
    ############################################################
    container:
584
      # NATS Box container image
585
      image:
586
        # Official NATS Box repository with CLI tools
587
        repository: natsio/nats-box
588
        # NATS Box version
589
        tag: 0.14.5
590
        # Image pull policy (leave empty for chart default)
591
        pullPolicy:
592
        # Custom registry URL (leave empty for Docker Hub)
593
594
        registry:

595
      # Environment variables for NATS Box container
596
597
      env: {}

598
      # Advanced container configuration
599
600
601
      # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
      merge: {}
      patch: []
602
603

    # Service Account for NATS Box deployment
604
    serviceAccount:
605
      # Whether to create and use a dedicated service account for NATS Box
606
      enabled: false
607

608
    # Pod template configuration for NATS Box deployment
609
610
611
    podTemplate:
      merge:
        spec:
612
          # Node tolerations for NATS Box pods
613
614
          tolerations: []
      patch: []