Skip to content

Commit

Permalink
feat: Patch AI Navigator model size issues (backport to 2.8) (#2906)
Browse files Browse the repository at this point in the history
* feat: Bump Cluster Info API to latest version

* fix: Update path
  • Loading branch information
lukeogg authored Dec 9, 2024
1 parent 006ce75 commit ae7e7db
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 36 deletions.
10 changes: 8 additions & 2 deletions licenses.d2iq.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ignore:
- docker.io/bitnami/redis-cluster:7.0.12-debian-11-r2
- docker.io/bitnami/memcached:1.6.19-debian-11-r7
- docker.io/library/busybox:1
- docker.io/library/alpine:3.20.3
- gcr.io/kubecost1/cost-model:prod-1.106.7
- gcr.io/kubecost1/frontend:prod-1.106.7

Expand Down Expand Up @@ -589,8 +590,13 @@ resources:
notice_path: NOTICE
ref: ${image_tag}
url: https://github.com/kubernetes-sigs/prometheus-adapter
- container_image: cr.weaviate.io/semitechnologies/weaviate:1.21.4
- container_image: ghcr.io/mesosphere/dkp-container-images/cr.weaviate.io/semitechnologies/weaviate:1.21.4-d2iq.0
sources:
- license_path: LICENSE
ref: v${image_tag}
ref: v${image_tag%-d2iq.0}
url: https://github.com/weaviate/weaviate
- container_image: docker.io/bitnami/postgresql:15.8.0-debian-12-r14
sources:
- url: https://github.com/postgres/postgres
ref: REL_15_8
license_path: COPYRIGHT
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: ai-navigator-app-0.2.2-d2iq-defaults
name: ai-navigator-app-0.2.8-d2iq-defaults
namespace: ${releaseNamespace}
data:
values.yaml: |
Expand All @@ -10,18 +10,6 @@ data:
api:
enabled: true
# Default values for configmap
modelSettings:
model_name: thenlper/gte-large
chunk_size: 2000
chunk_overlap: 250
path: /models
volumeSize: 4Gi
vector_db:
url: http://weaviate
index_name: Cluster_Info
record_manager:
driver_name: "postgresql"
username: "postgres"
Expand All @@ -34,39 +22,27 @@ data:
globalPriorityClassName: dkp-high-priority
service:
type: ClusterIP
image:
tag: 1.21.4
initContainers:
sysctlInitContainer:
image:
tag: 3.18.4
securityContext:
runAsUser: 65532
fsGroup: 65532
runAsGroup: 65532
containerSecurityContext:
allowPrivilegeEscalation: false
tag: 3.20.3
storage:
size: 5Gi
postgresql:
enabled: true
primary:
priorityClassName: dkp-high-priority
initdb:
scriptsConfigMap: ai-navigator-cluster-info-api-postgresql-initdb
readReplicas:
priorityClassName: dkp-high-priority
enabled: true
image:
tag: 15.2.0-debian-11-r21
# Default values for cluster-info-api
replicaCount: 1
image:
repository: mesosphere/ai-navigator-cluster-info-api
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "v0.1.0"
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
Expand Down Expand Up @@ -116,4 +92,3 @@ data:
tolerations: []
affinity: {}
kubectlImage: ${kubetoolsImageRepository:=bitnami/kubectl}:${kubetoolsImageTag:=1.29.2}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
force: false
interval: 6h
path: ./services/ai-navigator-app/0.2.2/helmrelease
path: ./services/ai-navigator-app/0.2.8/helmrelease
postBuild:
substitute:
releaseNamespace: ${releaseNamespace}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
kind: HelmRepository
name: mesosphere.github.io-ai-navigator-cluster-info-api-charts
namespace: kommander-flux
version: 0.2.1
version: 0.2.8
install:
remediation:
retries: 30
Expand All @@ -23,4 +23,4 @@ spec:
retries: 30
valuesFrom:
- kind: ConfigMap
name: ai-navigator-app-0.2.2-d2iq-defaults
name: ai-navigator-app-0.2.8-d2iq-defaults

0 comments on commit ae7e7db

Please sign in to comment.