mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-28 21:05:17 +02:00
Helm Chart Fixes (#3900)
* initial commit for helm chart refactoring * Continue refactoring helm. I was able to use helm to deploy all of the apps to a cluster in aws. The bottleneck was setting up PVC dynamic provisioning. * use default storage class * Fix linter errors * Fix broken helm test * update * Helm chart fixes * remove reference to ebsstorage * Fix linter errors --------- Co-authored-by: jpb80 <jordan.buttkevitz@gmail.com>
This commit is contained in:
@@ -4,12 +4,12 @@ dependencies:
|
|||||||
version: 14.3.1
|
version: 14.3.1
|
||||||
- name: vespa
|
- name: vespa
|
||||||
repository: https://onyx-dot-app.github.io/vespa-helm-charts
|
repository: https://onyx-dot-app.github.io/vespa-helm-charts
|
||||||
version: 0.2.18
|
version: 0.2.20
|
||||||
- name: nginx
|
- name: nginx
|
||||||
repository: oci://registry-1.docker.io/bitnamicharts
|
repository: oci://registry-1.docker.io/bitnamicharts
|
||||||
version: 15.14.0
|
version: 15.14.0
|
||||||
- name: redis
|
- name: redis
|
||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
version: 20.1.0
|
version: 20.1.0
|
||||||
digest: sha256:5c9eb3d55d5f8e3beb64f26d26f686c8d62755daa10e2e6d87530bdf2fbbf957
|
digest: sha256:4615c033064a987e3f66a48f4744d2e88bd1cc932c79453c4928455695a72778
|
||||||
generated: "2024-12-10T10:47:35.812483-08:00"
|
generated: "2025-02-04T11:45:05.39228-08:00"
|
||||||
|
@@ -23,7 +23,7 @@ dependencies:
|
|||||||
repository: https://charts.bitnami.com/bitnami
|
repository: https://charts.bitnami.com/bitnami
|
||||||
condition: postgresql.enabled
|
condition: postgresql.enabled
|
||||||
- name: vespa
|
- name: vespa
|
||||||
version: 0.2.18
|
version: 0.2.20
|
||||||
repository: https://onyx-dot-app.github.io/vespa-helm-charts
|
repository: https://onyx-dot-app.github.io/vespa-helm-charts
|
||||||
condition: vespa.enabled
|
condition: vespa.enabled
|
||||||
- name: nginx
|
- name: nginx
|
||||||
|
@@ -7,10 +7,10 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
INTERNAL_URL: "http://{{ include "onyx-stack.fullname" . }}-api-service:{{ .Values.api.service.port | default 8080 }}"
|
INTERNAL_URL: "http://{{ include "onyx-stack.fullname" . }}-api-service:{{ .Values.api.service.port | default 8080 }}"
|
||||||
POSTGRES_HOST: {{ .Release.Name }}-postgresql
|
POSTGRES_HOST: {{ .Release.Name }}-postgresql
|
||||||
VESPA_HOST: da-vespa-0.vespa-service
|
VESPA_HOST: {{ .Values.vespa.name }}.{{ .Values.vespa.service.name }}.{{ .Release.Namespace }}.svc.cluster.local
|
||||||
REDIS_HOST: {{ .Release.Name }}-redis-master
|
REDIS_HOST: {{ .Release.Name }}-redis-master
|
||||||
MODEL_SERVER_HOST: "{{ include "onyx-stack.fullname" . }}-inference-model-service"
|
MODEL_SERVER_HOST: "{{ include "onyx-stack.fullname" . }}-inference-model-service"
|
||||||
INDEXING_MODEL_SERVER_HOST: "{{ include "onyx-stack.fullname" . }}-indexing-model-service"
|
INDEXING_MODEL_SERVER_HOST: "{{ include "onyx-stack.fullname" . }}-indexing-model-service"
|
||||||
{{- range $key, $value := .Values.configMap }}
|
{{- range $key, $value := .Values.configMap }}
|
||||||
{{ $key }}: "{{ $value }}"
|
{{ $key }}: "{{ $value }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
postgresql:
|
postgresql:
|
||||||
primary:
|
primary:
|
||||||
persistence:
|
persistence:
|
||||||
|
storageClass: ""
|
||||||
size: 5Gi
|
size: 5Gi
|
||||||
enabled: true
|
enabled: true
|
||||||
auth:
|
auth:
|
||||||
@@ -12,13 +13,52 @@ postgresql:
|
|||||||
secretKeys:
|
secretKeys:
|
||||||
# overwriting as postgres typically expects 'postgres-password'
|
# overwriting as postgres typically expects 'postgres-password'
|
||||||
adminPasswordKey: postgres_password
|
adminPasswordKey: postgres_password
|
||||||
imagePullSecrets: []
|
|
||||||
nameOverride: ""
|
vespa:
|
||||||
fullnameOverride: ""
|
name: da-vespa-0
|
||||||
|
service:
|
||||||
|
name: vespa-service
|
||||||
|
volumeClaimTemplates:
|
||||||
|
- metadata:
|
||||||
|
name: vespa-storage
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: ""
|
||||||
|
enabled: true
|
||||||
|
replicaCount: 1
|
||||||
|
image:
|
||||||
|
repository: vespa
|
||||||
|
pullPolicy: IfNotPresent
|
||||||
|
tag: "8.277.17"
|
||||||
|
podAnnotations: {}
|
||||||
|
podLabels:
|
||||||
|
app: vespa
|
||||||
|
app.kubernetes.io/instance: onyx
|
||||||
|
app.kubernetes.io/name: vespa
|
||||||
|
securityContext:
|
||||||
|
privileged: true
|
||||||
|
runAsUser: 0
|
||||||
|
resources:
|
||||||
|
# The Vespa Helm chart specifies default resources, which are quite modest. We override
|
||||||
|
# them here to increase chances of the chart running successfully.
|
||||||
|
requests:
|
||||||
|
cpu: 1500m
|
||||||
|
memory: 4000Mi
|
||||||
|
limits:
|
||||||
|
cpu: 1500m
|
||||||
|
memory: 4000Mi
|
||||||
|
|
||||||
persistent:
|
persistent:
|
||||||
storageClassName: ""
|
storageClassName: ""
|
||||||
|
|
||||||
|
imagePullSecrets: []
|
||||||
|
nameOverride: ""
|
||||||
|
fullnameOverride: ""
|
||||||
|
|
||||||
inferenceCapability:
|
inferenceCapability:
|
||||||
service:
|
service:
|
||||||
portName: modelserver
|
portName: modelserver
|
||||||
@@ -272,15 +312,9 @@ background:
|
|||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
{}
|
{}
|
||||||
# fsGroup: 2000
|
# fsGroup: 2000
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
{}
|
privileged: true
|
||||||
# capabilities:
|
runAsUser: 0
|
||||||
# drop:
|
|
||||||
# - ALL
|
|
||||||
# readOnlyRootFilesystem: true
|
|
||||||
# runAsNonRoot: true
|
|
||||||
# runAsUser: 1000
|
|
||||||
enableMiniChunk: "true"
|
enableMiniChunk: "true"
|
||||||
resources: {}
|
resources: {}
|
||||||
# We usually recommend not to specify default resources and to leave this as a conscious
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
||||||
@@ -316,50 +350,6 @@ background:
|
|||||||
|
|
||||||
nodeSelector: {}
|
nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
vespa:
|
|
||||||
volumeClaimTemplates:
|
|
||||||
- metadata:
|
|
||||||
name: vespa-storage
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: ""
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 1Gi
|
|
||||||
enabled: true
|
|
||||||
replicaCount: 1
|
|
||||||
image:
|
|
||||||
repository: vespa
|
|
||||||
pullPolicy: IfNotPresent
|
|
||||||
tag: "8.277.17"
|
|
||||||
podAnnotations: {}
|
|
||||||
podLabels:
|
|
||||||
app: vespa
|
|
||||||
app.kubernetes.io/instance: onyx
|
|
||||||
app.kubernetes.io/name: vespa
|
|
||||||
|
|
||||||
podSecurityContext:
|
|
||||||
{}
|
|
||||||
# fsGroup: 2000
|
|
||||||
|
|
||||||
securityContext:
|
|
||||||
privileged: true
|
|
||||||
runAsUser: 0
|
|
||||||
|
|
||||||
resources:
|
|
||||||
# The Vespa Helm chart specifies default resources, which are quite modest. We override
|
|
||||||
# them here to increase chances of the chart running successfully.
|
|
||||||
requests:
|
|
||||||
cpu: 1500m
|
|
||||||
memory: 4000Mi
|
|
||||||
limits:
|
|
||||||
cpu: 1500m
|
|
||||||
memory: 4000Mi
|
|
||||||
|
|
||||||
nodeSelector: {}
|
|
||||||
tolerations: []
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
|
Reference in New Issue
Block a user