File size: 5,719 Bytes
090d598
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
# Default values for nemo-model-management.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

replicaCount: 1

image:
  repository: nvcr.io/nvidian/nemo-llm/model-management-service
  pullPolicy: IfNotPresent
  # Overrides the image tag whose default is the chart appVersion.
  tag: 7020bbeeaa7a190795741778614830aba3289004

imagePullSecrets:
  - name: nvcrimagepullsecret
nameOverride: ""
fullnameOverride: ""

serviceAccount:
  # Specifies whether a service account should be created
  create: true
  # Automatically mount a ServiceAccount's API credentials?
  automount: true
  # Annotations to add to the service account
  annotations: {}
  # The name of the service account to use.
  # If not set and create is true, a name is generated using the fullname template
  name: ""

podAnnotations: {}
podLabels: {}

podSecurityContext: {}
  # fsGroup: 2000

securityContext: {}
  # capabilities:
  #   drop:
  #   - ALL
  # readOnlyRootFilesystem: true
  # runAsNonRoot: true
  # runAsUser: 1000

service:
  type: ClusterIP
  port: 8000

ingress:
  enabled: false
  # dns_name: nmm.dev.llm.ngc.nvidia.com

resources: {}
  # We usually recommend not to specify default resources and to leave this as a conscious
  # choice for the user. This also increases chances charts run on environments with little
  # resources, such as Minikube. If you do want to specify resources, uncomment the following
  # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
  # limits:
  #   cpu: 100m
  #   memory: 128Mi
  # requests:
  #   cpu: 100m
  #   memory: 128Mi

autoscaling:
  enabled: false
  minReplicas: 1
  maxReplicas: 100
  targetCPUUtilizationPercentage: 80
  # targetMemoryUtilizationPercentage: 80

# Additional volumes on the output Deployment definition.
volumes:
- name: mms-api-secret-vol
  secret:
    secretName: mms-api-secret
    optional: false

# Additional volumeMounts on the output Deployment definition.
volumeMounts:
- name: mms-api-secret-vol
  mountPath: /etc/secrets/
  readOnly: true

appConfig:
  LOAD_SECRETS: true
  GITEA_ENDPOINT: http://nms-gitea-http.nms.svc.cluster.local:3000


nodeSelector: {}

tolerations: []

affinity: {}

istio:
  gateway: istio-system/applications
  cors:
    common_origins:
      - regex: https:\/\/stg\.loc\.ngc\.nvidia\.com:3000
      - regex: http:\/\/localhost:3000
    common_allow_methods:
      - GET
      - POST
      - HEAD
      - OPTIONS
      - PUT
      - PATCH
      - DELETE
    common_allow_headers:
      - authorization
      - Access-Control-Allow-Headers
      - Origin
      - Accept
      - X-Requested-With
      - X-Forwarded-For
      - Content-Type
      - Access-Control-Request-Method
      - Access-Control-Request-Headers
      - x-csrf-token
    common_expose_headers:
      - x-request-id
      - x-total-count
      - x-csrf-token

minio:
  enabled: true
  mode: standalone
  auth:
    rootUser: minioadmin
    rootPassword: minioadmin
  persistence:
    enabled: false

postgresql-api:
  enabled: true
  auth:
    enablePostgresUser: true
    username: mmsuser
    password: mmspass
    database: mms
    # postgresPassword: mmspass
    existingSecret: ""
  architecture: standalone
  service:
    ports:
      postgresql: 5432
  persistence:
    primary:
      persistence:
        enabled: false

postgresql-gitea:
  enabled: true
  auth:
    enablePostgresUser: true
    username: gitea
    password: gitea
    database: gitea
    # postgresPassword: gitea
    existingSecret: ""
  architecture: standalone
  service:
    ports:
      postgresql: 5432
  persistence:
    primary:
      persistence:
        enabled: false

gitea:
  enabled: true
  redis-cluster:
    enabled: false
  postgresql:
    enabled: false
  postgresql-ha:
    enabled: false
  persistence:
    enabled: false
  # image:
  #   repository: nvcr.io/ajwc672qsbdd/gitea
  #   tag: nmm-amd64-v1.21.3.20240123
  #   pullPolicy: IfNotPresent
  #   rootless: true 
  # imagePullSecrets:
  #   - name: image-pull-sec
  # serviceAccount:
  #   create: true
  #   name: gitea
  #   imagePullSecrets:
  #     - name: image-pull-sec
  # --------
  image:
    repository: nvcr.io/nvidian/nemo-llm/model-management-gitea
    tag:  nmm-v1.21.3
    pullPolicy: IfNotPresent
    rootless: true
    imagePullSecrets:
      - name: nvcrimagepullsecret
  serviceAccount:
      create: true
      name: gitea
      imagePullSecrets:
        - name: nvcrimagepullsecret
  gitea:
    admin:
      existingSecret: gitea-admin-secret
      email: nemollm-ops@nvidia.com
    additionalConfigSources:
      - secret:
          secretName: gitea-db-storage-creds
    #  - configMap:
    #      name: gitea-app-ini-plaintext
    config:
      server:
        # DOMAIN: nms-gitea-http.nms.svc.cluster.local
        # ROOT_URL: http://nms-gitea-http.nms.svc.cluster.local:3000/
        LFS_START_SERVER: true
        LFS_JWT_SECRET: 3iCw8yOpo0Ci7suzISAewlI9v0srCdIq9XkHSz73Z3s
      database:
        DB_TYPE: postgres
        # HOST: nms-postgresql-gitea
        NAME: gitea
        USER: gitea
        # SSL_MODE: require
      session:
        PROVIDER: memory
      cache:
        ADAPTER: memory
      queue:
        TYPE: level
        DB_TYPE: postgres
        NAME: gitea
        USER: gitea
        # SSL_MODE: require
      # cron.GIT_GC_REPOS:
      #   enabled: false 
      lfs:
        STORAGE_TYPE: minio
      storage.minio:
        SERVE_DIRECT: true
        STORAGE_TYPE: minio
        # MINIO_USE_SSL: true
        # MINIO_INSECURE_SKIP_VERIFY: true
        MINIO_ENDPOINT: nms-minio:9000
        MINIO_ACCESS_KEY_ID: minioadmin
        MINIO_SECRET_ACCESS_KEY: minioadmin
        MINIO_BUCKET: models