".github/vscode:/vscode.git/clone" did not exist on "ab5a31b5a4fe7074585e3359309e1a5b1b81186c"
values.yaml 21.9 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
    # MPI Run configuration
    mpiRun:
      # -- Name of the secret containing the SSH key for MPI Run
      secretName: "mpi-run-ssh-secret"
      # SSH key generation configuration
      sshKeygen:
        # -- Whether to enable SSH key generation for MPI Run
        enabled: true

128
129
130
131
132
133
134
135
136
137
138
139
140

# 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
141
etcd:
142

143
  # -- Whether to enable etcd deployment, disable if you want to use an external etcd instance
144
  enabled: true
145

146
  image:
147
    # -- 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
148
    repository: bitnamilegacy/etcd
149
    tag: 3.5.18-debian-12-r5
150

151
  # Persistent storage configuration for etcd data
152
  persistence:
153
    # Whether to enable persistent storage (recommended for production)
154
155
156
    enabled: true
    # Use the cluster default storage-class or override with a named class
    storageClass: null
157
    # Size of persistent volume for etcd data
158
    size: 1Gi
159
160

  # Pre-upgrade job configuration
161
  preUpgrade:
162
    # Whether to run pre-upgrade validation jobs
163
    enabled: false
164
165

  # Number of etcd replicas (1 for single-node, 3+ for HA)
166
  replicaCount: 1
167
168
169

  # Authentication and authorization settings
  # Explicitly remove authentication for simplified internal communication
170
171
  auth:
    rbac:
172
      # Whether to create RBAC authentication (disabled for internal use)
173
174
      create: false

175
  # Health check configuration
176
  readinessProbe:
177
    # Whether to enable readiness probes (disabled to reduce startup complexity)
178
179
180
    enabled: false

  livenessProbe:
181
    # Whether to enable liveness probes (disabled to reduce startup complexity)
182
183
    enabled: false

184
  # Node tolerations for etcd pods (allows scheduling on specific nodes)
185
186
  tolerations: []

187
188
# NATS configuration - messaging system for operator communication
# For complete configuration options, see: https://github.com/nats-io/k8s/tree/main/helm/charts/nats
189
nats:
190
  # -- Whether to enable NATS deployment, disable if you want to use an external NATS instance
191
  enabled: true
192
193
194
195

  # 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
196
  tlsCA:
197
    # Whether to enable TLS CA configuration
198
199
    enabled: false

200
  # Core NATS server configuration
201
  config:
202
    # NATS clustering for high availability (multiple NATS servers)
203
    cluster:
204
      # Whether to enable NATS clustering (disabled for single-node setups)
205
206
      enabled: false

207
    # JetStream - persistent messaging and streaming capabilities
208
    jetstream:
209
      # Whether to enable JetStream (recommended for persistent messaging)
210
211
      enabled: true

212
      # File-based storage for JetStream streams and consumers
213
      fileStore:
214
        # Whether to enable file storage (persistent across restarts)
215
        enabled: true
216
        # Directory path for JetStream file storage
217
218
219
        dir: /data

        ############################################################
220
        # Persistent Volume Claim for JetStream file storage
221
222
        ############################################################
        pvc:
223
          # Whether to create a PVC for JetStream storage
224
          enabled: true
225
          # Size of the persistent volume for JetStream data
226
          size: 10Gi
227
          # Storage class name (leave empty for default)
228
229
          storageClassName:

230
          # Advanced PVC configuration (merge additional fields)
231
232
233
          # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#persistentvolumeclaim-v1-core
          merge: {}
          patch: []
234
          # PVC name (defaults to "{{ include "nats.fullname" $ }}-js")
235
236
          name:

237
        # Maximum size for JetStream file storage (defaults to PVC size)
238
239
        maxSize:

240
      # Memory-based storage for JetStream (non-persistent)
241
      memoryStore:
242
        # Whether to enable memory storage (faster but not persistent)
243
244
        enabled: false

245
246
      # Advanced JetStream configuration
      # For options see: https://docs.nats.io/running-a-nats-service/configuration#jetstream
247
248
249
      merge: {}
      patch: []

250
    # Core NATS server settings
251
    nats:
252
      # Port for NATS client connections
253
      port: 4222
254
255

      # TLS configuration for encrypted connections
256
      tls:
257
        # Whether to enable TLS encryption
258
        enabled: false
259
260
        # Advanced TLS configuration
        # For options see: https://docs.nats.io/running-a-nats-service/configuration/securing_nats/tls
261
262
263
        merge: {}
        patch: []

264
    # Leaf nodes for creating NATS topologies and remote connections
265
    leafnodes:
266
      # Whether to enable leaf node connections
267
268
      enabled: false

269
    # WebSocket support for browser-based NATS clients
270
    websocket:
271
      # Whether to enable WebSocket protocol support
272
273
      enabled: false

274
    # MQTT protocol bridge for IoT device connectivity
275
    mqtt:
276
      # Whether to enable MQTT protocol support
277
278
      enabled: false

279
    # Gateway connections for multi-cluster NATS deployments
280
    gateway:
281
      # Whether to enable gateway connections
282
283
      enabled: false

284
    # HTTP monitoring endpoint for NATS server metrics
285
    monitor:
286
      # Whether to enable HTTP monitoring interface
287
      enabled: true
288
      # Port for monitoring HTTP endpoint
289
      port: 8222
290
291

      # TLS configuration for monitoring endpoint
292
      tls:
293
294
        # 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
295
296
        enabled: false

297
    # Go pprof profiling endpoint for performance debugging
298
    profiling:
299
      # Whether to enable profiling endpoint (for debugging only)
300
      enabled: false
301
      # Port for profiling endpoint
302
303
      port: 65432

304
    # Account resolver for multi-tenant NATS deployments
305
    resolver:
306
      # Whether to enable account resolution (for advanced multi-tenancy)
307
308
      enabled: false

309
310
311
    # 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
312
313
    serverNamePrefix: ""

314
315
316
    # Advanced NATS configuration merging and patching
    # For complete options see: https://docs.nats.io/running-a-nats-service/configuration
    # Special rules apply:
317
318
319
320
321
    #  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
322
    # Example:
323
324
325
326
327
328
329
330
331
332
333
334
    #   merge:
    #     $include: ./my-config.conf
    #     zzz$include: ./my-config-last.conf
    #     server_name: nats
    #     authorization:
    #       token: << $TOKEN >>
    #     jetstream:
    #       max_memory_store: << 1GB >>
    merge: {}
    patch: []

  ############################################################
335
  # NATS container configuration in StatefulSet
336
337
  ############################################################
  container:
338
    # NATS server container image configuration
339
    image:
340
      # Official NATS server repository
341
      repository: nats
342
      # NATS server version (Alpine-based for smaller size)
343
      tag: 2.10.21-alpine
344
      # Image pull policy (leave empty for chart default)
345
      pullPolicy:
346
      # Custom registry URL (leave empty for Docker Hub)
347
348
      registry:

349
350
    # Container port configuration
    # Note: Ports must also be enabled in the config section above
351
352
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#containerport-v1-core
    ports:
353
      # Main NATS client connection port
354
      nats: {}
355
      # Leaf node connection port
356
      leafnodes: {}
357
      # WebSocket connection port
358
      websocket: {}
359
      # MQTT protocol port
360
      mqtt: {}
361
      # Cluster communication port
362
      cluster: {}
363
      # Gateway connection port
364
      gateway: {}
365
      # HTTP monitoring port
366
      monitor: {}
367
      # Go profiling port
368
369
      profiling: {}

370
371
372
    # Environment variables for the NATS container
    # Map with key as env var name, value can be string or map
    # Example:
373
374
375
376
377
378
379
380
381
    #   env:
    #     GOMEMLIMIT: 7GiB
    #     TOKEN:
    #       valueFrom:
    #         secretKeyRef:
    #           name: nats-auth
    #           key: token
    env: {}

382
    # Advanced container configuration merging and patching
383
384
385
386
387
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
    merge: {}
    patch: []

  ############################################################
388
  # Configuration reloader container for hot config updates
389
390
  ############################################################
  reloader:
391
    # Whether to enable the config reloader sidecar container
392
    enabled: true
393
394

    # Config reloader container image
395
    image:
396
      # Official NATS config reloader repository
397
      repository: natsio/nats-server-config-reloader
398
      # Config reloader version
399
      tag: 0.16.0
400
      # Image pull policy (leave empty for chart default)
401
      pullPolicy:
402
      # Custom registry URL (leave empty for Docker Hub)
403
404
      registry:

405
    # Environment variables for the reloader container
406
407
    env: {}

408
409
    # Volume mount prefixes from NATS container to share with reloader
    # All NATS container volume mounts with these prefixes will be mounted into the reloader
410
411
412
    natsVolumeMountPrefixes:
    - /etc/

413
    # Advanced reloader container configuration
414
415
416
417
418
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
    merge: {}
    patch: []

  ############################################################
419
  # Prometheus metrics exporter container (optional)
420
  ############################################################
421
  # Note: config.monitor must be enabled for this to work
422
  promExporter:
423
    # Whether to enable Prometheus metrics exporter sidecar
424
425
426
    enabled: false

  ############################################################
427
  # Kubernetes Service for NATS access
428
429
  ############################################################
  service:
430
    # Whether to create a Kubernetes Service for NATS
431
432
    enabled: true

433
434
435
    # 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
436
437
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#serviceport-v1-core
    ports:
438
      # Main NATS client connection port
439
440
      nats:
        enabled: true
441
      # Leaf node connection port
442
443
      leafnodes:
        enabled: true
444
      # WebSocket connection port
445
446
      websocket:
        enabled: true
447
      # MQTT protocol port
448
449
      mqtt:
        enabled: true
450
      # Cluster communication port (typically internal only)
451
452
      cluster:
        enabled: false
453
      # Gateway connection port (typically internal only)
454
455
      gateway:
        enabled: false
456
      # HTTP monitoring port (typically internal only)
457
458
      monitor:
        enabled: false
459
      # Go profiling port (typically internal only)
460
461
462
      profiling:
        enabled: false

463
    # Advanced service configuration
464
465
466
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#service-v1-core
    merge: {}
    patch: []
467
    # Service name (defaults to "{{ include "nats.fullname" $ }}")
468
469
470
    name:

  ############################################################
471
  # Advanced NATS Kubernetes resource configuration
472
473
  ############################################################

474
  # StatefulSet configuration for NATS server persistence
475
  statefulSet:
476
    # Advanced StatefulSet configuration merging and patching
477
478
479
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#statefulset-v1-apps
    merge: {}
    patch: []
480
    # StatefulSet name (defaults to "{{ include "nats.fullname" $ }}")
481
482
    name:

483
  # Pod template configuration for NATS StatefulSet
484
  podTemplate:
485
486
    # Whether to add a hash of the ConfigMap as a pod annotation
    # This will cause the StatefulSet to roll when the ConfigMap is updated
487
488
    configChecksumAnnotation: true

489
490
491
492
493
494
495
    # 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
496
497
    topologySpreadConstraints: {}

498
    # Advanced pod template configuration
499
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#pod-v1-core
500
501
    merge:
      spec:
502
        # Node tolerations for NATS pods (allows scheduling on specific nodes)
503
        tolerations: []
504
505
    patch: []

506
  # Headless service for StatefulSet pod discovery
507
  headlessService:
508
    # Advanced headless service configuration
509
510
511
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#service-v1-core
    merge: {}
    patch: []
512
    # Headless service name (defaults to "{{ include "nats.fullname" $ }}-headless")
513
514
    name:

515
  # ConfigMap for NATS server configuration
516
  configMap:
517
    # Advanced ConfigMap configuration
518
519
520
    # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#configmap-v1-core
    merge: {}
    patch: []
521
    # ConfigMap name (defaults to "{{ include "nats.fullname" $ }}-config")
522
523
    name:

524
  # Pod Disruption Budget for controlled rolling updates
525
  podDisruptionBudget:
526
    # Whether to create a PodDisruptionBudget (recommended for production)
527
528
    enabled: true

529
  # Service Account for NATS server pods
530
  serviceAccount:
531
    # Whether to create and use a dedicated service account
532
533
534
    enabled: false

  ############################################################
535
536
  # NATS Box - CLI tools and debugging container
  # NATS Box provides CLI tools for interacting with NATS server
537
538
  ############################################################
  natsBox:
539
    # Whether to deploy NATS Box for CLI access and debugging
540
    enabled: false
541
542

    ############################################################
543
    # NATS client contexts for authentication and connection
544
545
    ############################################################
    contexts:
546
      # Default context configuration
547
      default:
548
        # Credentials-based authentication
549
        creds:
550
          # Inline credentials file contents (base64 encoded)
551
          contents:
552
          # Name of existing secret containing credentials file
553
          secretName:
554
          # Directory to mount credentials (defaults to /etc/nats-creds/<context-name>)
555
          dir:
556
          # Key name in secret for credentials file
557
          key: nats.creds
558
559

        # NKey-based authentication (public/private key pairs)
560
        nkey:
561
          # Inline NKey file contents (base64 encoded)
562
          contents:
563
          # Name of existing secret containing NKey file
564
          secretName:
565
          # Directory to mount NKey (defaults to /etc/nats-nkeys/<context-name>)
566
          dir:
567
          # Key name in secret for NKey file
568
          key: nats.nk
569
570

        # TLS client certificate authentication
571
        tls:
572
          # Name of existing secret containing TLS client certificates
573
          secretName:
574
          # Directory to mount certificates (defaults to /etc/nats-certs/<context-name>)
575
          dir:
576
          # Certificate file name in secret
577
          cert: tls.crt
578
          # Private key file name in secret
579
580
          key: tls.key

581
582
        # Advanced context configuration
        # For options see: https://docs.nats.io/using-nats/nats-tools/nats_cli#nats-contexts
583
584
585
        merge: {}
        patch: []

586
    # Name of context to select by default for NATS CLI operations
587
588
589
    defaultContextName: default

    ############################################################
590
    # NATS Box container configuration
591
592
    ############################################################
    container:
593
      # NATS Box container image
594
      image:
595
        # Official NATS Box repository with CLI tools
596
        repository: natsio/nats-box
597
        # NATS Box version
598
        tag: 0.14.5
599
        # Image pull policy (leave empty for chart default)
600
        pullPolicy:
601
        # Custom registry URL (leave empty for Docker Hub)
602
603
        registry:

604
      # Environment variables for NATS Box container
605
606
      env: {}

607
      # Advanced container configuration
608
609
610
      # https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.24/#container-v1-core
      merge: {}
      patch: []
611
612

    # Service Account for NATS Box deployment
613
    serviceAccount:
614
      # Whether to create and use a dedicated service account for NATS Box
615
      enabled: false
616

617
    # Pod template configuration for NATS Box deployment
618
619
620
    podTemplate:
      merge:
        spec:
621
          # Node tolerations for NATS Box pods
622
623
          tolerations: []
      patch: []