values.yaml 21 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
119
120
121
122
123
124
125
126

# 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
127
etcd:
128
129
130
131
  global:
    security:
      allowInsecureImages: true

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

135
136
137
  image:
    repository: bitnamilegacy/etcd

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

  # Pre-upgrade job configuration
148
  preUpgrade:
149
    # Whether to run pre-upgrade validation jobs
150
    enabled: false
151
152

  # Number of etcd replicas (1 for single-node, 3+ for HA)
153
  replicaCount: 1
154
155
156

  # Authentication and authorization settings
  # Explicitly remove authentication for simplified internal communication
157
158
  auth:
    rbac:
159
      # Whether to create RBAC authentication (disabled for internal use)
160
161
      create: false

162
  # Health check configuration
163
  readinessProbe:
164
    # Whether to enable readiness probes (disabled to reduce startup complexity)
165
166
167
    enabled: false

  livenessProbe:
168
    # Whether to enable liveness probes (disabled to reduce startup complexity)
169
170
    enabled: false

171
  # Node tolerations for etcd pods (allows scheduling on specific nodes)
172
173
  tolerations: []

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

  # 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
183
  tlsCA:
184
    # Whether to enable TLS CA configuration
185
186
    enabled: false

187
  # Core NATS server configuration
188
  config:
189
    # NATS clustering for high availability (multiple NATS servers)
190
    cluster:
191
      # Whether to enable NATS clustering (disabled for single-node setups)
192
193
      enabled: false

194
    # JetStream - persistent messaging and streaming capabilities
195
    jetstream:
196
      # Whether to enable JetStream (recommended for persistent messaging)
197
198
      enabled: true

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

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

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

224
        # Maximum size for JetStream file storage (defaults to PVC size)
225
226
        maxSize:

227
      # Memory-based storage for JetStream (non-persistent)
228
      memoryStore:
229
        # Whether to enable memory storage (faster but not persistent)
230
231
        enabled: false

232
233
      # Advanced JetStream configuration
      # For options see: https://docs.nats.io/running-a-nats-service/configuration#jetstream
234
235
236
      merge: {}
      patch: []

237
    # Core NATS server settings
238
    nats:
239
      # Port for NATS client connections
240
      port: 4222
241
242

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

251
    # Leaf nodes for creating NATS topologies and remote connections
252
    leafnodes:
253
      # Whether to enable leaf node connections
254
255
      enabled: false

256
    # WebSocket support for browser-based NATS clients
257
    websocket:
258
      # Whether to enable WebSocket protocol support
259
260
      enabled: false

261
    # MQTT protocol bridge for IoT device connectivity
262
    mqtt:
263
      # Whether to enable MQTT protocol support
264
265
      enabled: false

266
    # Gateway connections for multi-cluster NATS deployments
267
    gateway:
268
      # Whether to enable gateway connections
269
270
      enabled: false

271
    # HTTP monitoring endpoint for NATS server metrics
272
    monitor:
273
      # Whether to enable HTTP monitoring interface
274
      enabled: true
275
      # Port for monitoring HTTP endpoint
276
      port: 8222
277
278

      # TLS configuration for monitoring endpoint
279
      tls:
280
281
        # 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
282
283
        enabled: false

284
    # Go pprof profiling endpoint for performance debugging
285
    profiling:
286
      # Whether to enable profiling endpoint (for debugging only)
287
      enabled: false
288
      # Port for profiling endpoint
289
290
      port: 65432

291
    # Account resolver for multi-tenant NATS deployments
292
    resolver:
293
      # Whether to enable account resolution (for advanced multi-tenancy)
294
295
      enabled: false

296
297
298
    # 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
299
300
    serverNamePrefix: ""

301
302
303
    # Advanced NATS configuration merging and patching
    # For complete options see: https://docs.nats.io/running-a-nats-service/configuration
    # Special rules apply:
304
305
306
307
308
    #  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
309
    # Example:
310
311
312
313
314
315
316
317
318
319
320
321
    #   merge:
    #     $include: ./my-config.conf
    #     zzz$include: ./my-config-last.conf
    #     server_name: nats
    #     authorization:
    #       token: << $TOKEN >>
    #     jetstream:
    #       max_memory_store: << 1GB >>
    merge: {}
    patch: []

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

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

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

369
    # Advanced container configuration merging and patching
370
371
372
373
374
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
    merge: {}
    patch: []

  ############################################################
375
  # Configuration reloader container for hot config updates
376
377
  ############################################################
  reloader:
378
    # Whether to enable the config reloader sidecar container
379
    enabled: true
380
381

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

392
    # Environment variables for the reloader container
393
394
    env: {}

395
396
    # Volume mount prefixes from NATS container to share with reloader
    # All NATS container volume mounts with these prefixes will be mounted into the reloader
397
398
399
    natsVolumeMountPrefixes:
    - /etc/

400
    # Advanced reloader container configuration
401
402
403
404
405
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
    merge: {}
    patch: []

  ############################################################
406
  # Prometheus metrics exporter container (optional)
407
  ############################################################
408
  # Note: config.monitor must be enabled for this to work
409
  promExporter:
410
    # Whether to enable Prometheus metrics exporter sidecar
411
412
413
    enabled: false

  ############################################################
414
  # Kubernetes Service for NATS access
415
416
  ############################################################
  service:
417
    # Whether to create a Kubernetes Service for NATS
418
419
    enabled: true

420
421
422
    # 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
423
424
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#serviceport-v1-core
    ports:
425
      # Main NATS client connection port
426
427
      nats:
        enabled: true
428
      # Leaf node connection port
429
430
      leafnodes:
        enabled: true
431
      # WebSocket connection port
432
433
      websocket:
        enabled: true
434
      # MQTT protocol port
435
436
      mqtt:
        enabled: true
437
      # Cluster communication port (typically internal only)
438
439
      cluster:
        enabled: false
440
      # Gateway connection port (typically internal only)
441
442
      gateway:
        enabled: false
443
      # HTTP monitoring port (typically internal only)
444
445
      monitor:
        enabled: false
446
      # Go profiling port (typically internal only)
447
448
449
      profiling:
        enabled: false

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

  ############################################################
458
  # Advanced NATS Kubernetes resource configuration
459
460
  ############################################################

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

470
  # Pod template configuration for NATS StatefulSet
471
  podTemplate:
472
473
    # Whether to add a hash of the ConfigMap as a pod annotation
    # This will cause the StatefulSet to roll when the ConfigMap is updated
474
475
    configChecksumAnnotation: true

476
477
478
479
480
481
482
    # 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
483
484
    topologySpreadConstraints: {}

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

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

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

511
  # Pod Disruption Budget for controlled rolling updates
512
  podDisruptionBudget:
513
    # Whether to create a PodDisruptionBudget (recommended for production)
514
515
    enabled: true

516
  # Service Account for NATS server pods
517
  serviceAccount:
518
    # Whether to create and use a dedicated service account
519
520
521
    enabled: false

  ############################################################
522
523
  # NATS Box - CLI tools and debugging container
  # NATS Box provides CLI tools for interacting with NATS server
524
525
  ############################################################
  natsBox:
526
    # Whether to deploy NATS Box for CLI access and debugging
527
528
529
    enabled: true

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

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

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

568
569
        # Advanced context configuration
        # For options see: https://docs.nats.io/using-nats/nats-tools/nats_cli#nats-contexts
570
571
572
        merge: {}
        patch: []

573
    # Name of context to select by default for NATS CLI operations
574
575
576
    defaultContextName: default

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

591
      # Environment variables for NATS Box container
592
593
      env: {}

594
      # Advanced container configuration
595
596
597
      # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
      merge: {}
      patch: []
598
599

    # Service Account for NATS Box deployment
600
    serviceAccount:
601
      # Whether to create and use a dedicated service account for NATS Box
602
      enabled: false
603

604
    # Pod template configuration for NATS Box deployment
605
606
607
    podTemplate:
      merge:
        spec:
608
          # Node tolerations for NATS Box pods
609
610
          tolerations: []
      patch: []