From a7b8eff5e9562cba198593c5cd5c599c4241f810 Mon Sep 17 00:00:00 2001 From: langchain-infra Date: Thu, 14 Nov 2024 13:04:55 -0500 Subject: [PATCH] chore: bump 0.8.10 (#181) * chore: bump 0.8.10 * add bind address * add quickaction * Fix --- charts/langgraph-cloud/README.md | 2 +- charts/langsmith/Chart.yaml | 4 ++-- charts/langsmith/README.md | 23 ++++++++++--------- .../templates/ace-backend/deployment.yaml | 2 ++ .../templates/frontend/config-map.yaml | 20 +++++++++++++++- charts/langsmith/values.yaml | 19 +++++++-------- charts/open-gpts/README.md | 4 ++-- 7 files changed, 48 insertions(+), 26 deletions(-) diff --git a/charts/langgraph-cloud/README.md b/charts/langgraph-cloud/README.md index 1997073..df10027 100644 --- a/charts/langgraph-cloud/README.md +++ b/charts/langgraph-cloud/README.md @@ -1,6 +1,6 @@ # langgraph-cloud -![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) +![Version: 0.1.4](https://img.shields.io/badge/Version-0.1.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square) Helm chart to deploy the LangGraph Cloud application and all services it depends on. diff --git a/charts/langsmith/Chart.yaml b/charts/langsmith/Chart.yaml index c7680a6..123b4a6 100644 --- a/charts/langsmith/Chart.yaml +++ b/charts/langsmith/Chart.yaml @@ -5,5 +5,5 @@ maintainers: email: ankush@langchain.dev description: Helm chart to deploy the langsmith application and all services it depends on. type: application -version: 0.8.9 -appVersion: "0.8.29" +version: 0.8.10 +appVersion: "0.8.32" diff --git a/charts/langsmith/README.md b/charts/langsmith/README.md index 7aef794..c593843 100644 --- a/charts/langsmith/README.md +++ b/charts/langsmith/README.md @@ -1,6 +1,6 @@ # langsmith -![Version: 0.8.9](https://img.shields.io/badge/Version-0.8.9-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.29](https://img.shields.io/badge/AppVersion-0.8.29-informational?style=flat-square) +![Version: 0.8.10](https://img.shields.io/badge/Version-0.8.10-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.8.31](https://img.shields.io/badge/AppVersion-0.8.31-informational?style=flat-square) Helm chart to deploy the langsmith application and all services it depends on. @@ -18,6 +18,7 @@ For information on how to use this chart, up-to-date release notes, and other gu | aceBackend.autoscaling.minReplicas | int | `1` | | | aceBackend.autoscaling.targetCPUUtilizationPercentage | int | `50` | | | aceBackend.autoscaling.targetMemoryUtilizationPercentage | int | `80` | | +| aceBackend.bindAddress | string | `"0.0.0.0"` | | | aceBackend.containerPort | int | `1987` | | | aceBackend.deployment.affinity | object | `{}` | | | aceBackend.deployment.annotations | object | `{}` | | @@ -26,7 +27,7 @@ For information on how to use this chart, up-to-date release notes, and other gu | aceBackend.deployment.command[1] | string | `"run"` | | | aceBackend.deployment.command[2] | string | `"--unstable-worker-options"` | | | aceBackend.deployment.command[3] | string | `"--allow-env"` | | -| aceBackend.deployment.command[4] | string | `"--allow-net=0.0.0.0:$(PORT)"` | | +| aceBackend.deployment.command[4] | string | `"--allow-net=$(BIND_ADDRESS):$(PORT)"` | | | aceBackend.deployment.command[5] | string | `"--node-modules-dir"` | | | aceBackend.deployment.command[6] | string | `"-R"` | | | aceBackend.deployment.command[7] | string | `"src/main.ts"` | | @@ -148,23 +149,23 @@ For information on how to use this chart, up-to-date release notes, and other gu | fullnameOverride | string | `""` | String to fully override `"langsmith.fullname"` | | images.aceBackendImage.pullPolicy | string | `"IfNotPresent"` | | | images.aceBackendImage.repository | string | `"docker.io/langchain/langsmith-ace-backend"` | | -| images.aceBackendImage.tag | string | `"0.8.29"` | | +| images.aceBackendImage.tag | string | `"0.8.32"` | | | images.backendImage.pullPolicy | string | `"IfNotPresent"` | | | images.backendImage.repository | string | `"docker.io/langchain/langsmith-backend"` | | -| images.backendImage.tag | string | `"0.8.29"` | | +| images.backendImage.tag | string | `"0.8.32"` | | | images.clickhouseImage.pullPolicy | string | `"Always"` | | | images.clickhouseImage.repository | string | `"docker.io/clickhouse/clickhouse-server"` | | | images.clickhouseImage.tag | string | `"24.5"` | | | images.frontendImage.pullPolicy | string | `"IfNotPresent"` | | | images.frontendImage.repository | string | `"docker.io/langchain/langsmith-frontend"` | | -| images.frontendImage.tag | string | `"0.8.29"` | | +| images.frontendImage.tag | string | `"0.8.32"` | | | images.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Specified as name: value. | | images.platformBackendImage.pullPolicy | string | `"IfNotPresent"` | | | images.platformBackendImage.repository | string | `"docker.io/langchain/langsmith-go-backend"` | | -| images.platformBackendImage.tag | string | `"0.8.29"` | | +| images.platformBackendImage.tag | string | `"0.8.32"` | | | images.playgroundImage.pullPolicy | string | `"IfNotPresent"` | | | images.playgroundImage.repository | string | `"docker.io/langchain/langsmith-playground"` | | -| images.playgroundImage.tag | string | `"0.8.29"` | | +| images.playgroundImage.tag | string | `"0.8.32"` | | | images.postgresImage.pullPolicy | string | `"IfNotPresent"` | | | images.postgresImage.repository | string | `"docker.io/postgres"` | | | images.postgresImage.tag | string | `"14.7"` | | @@ -470,8 +471,8 @@ For information on how to use this chart, up-to-date release notes, and other gu |-----|------|---------|-------------| | platformBackend.autoscaling.createHpa | bool | `true` | | | platformBackend.autoscaling.enabled | bool | `false` | | -| platformBackend.autoscaling.maxReplicas | int | `5` | | -| platformBackend.autoscaling.minReplicas | int | `1` | | +| platformBackend.autoscaling.maxReplicas | int | `10` | | +| platformBackend.autoscaling.minReplicas | int | `3` | | | platformBackend.autoscaling.targetCPUUtilizationPercentage | int | `50` | | | platformBackend.autoscaling.targetMemoryUtilizationPercentage | int | `80` | | | platformBackend.containerPort | int | `1986` | | @@ -494,7 +495,7 @@ For information on how to use this chart, up-to-date release notes, and other gu | platformBackend.deployment.readinessProbe.httpGet.port | int | `1986` | | | platformBackend.deployment.readinessProbe.periodSeconds | int | `10` | | | platformBackend.deployment.readinessProbe.timeoutSeconds | int | `1` | | -| platformBackend.deployment.replicas | int | `1` | | +| platformBackend.deployment.replicas | int | `3` | | | platformBackend.deployment.resources.limits.cpu | string | `"2000m"` | | | platformBackend.deployment.resources.limits.memory | string | `"4Gi"` | | | platformBackend.deployment.resources.requests.cpu | string | `"1000m"` | | @@ -779,6 +780,6 @@ For information on how to use this chart, up-to-date release notes, and other gu | Ankush | | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.13.1](https://github.com/norwoodj/helm-docs/releases/v1.13.1) +Autogenerated from chart metadata using [helm-docs v1.11.3](https://github.com/norwoodj/helm-docs/releases/v1.11.3) ## Docs Generated by [helm-docs](https://github.com/norwoodj/helm-docs) `helm-docs -t ./charts/langsmith/README.md.gotmpl` diff --git a/charts/langsmith/templates/ace-backend/deployment.yaml b/charts/langsmith/templates/ace-backend/deployment.yaml index 6112490..52c7d3b 100644 --- a/charts/langsmith/templates/ace-backend/deployment.yaml +++ b/charts/langsmith/templates/ace-backend/deployment.yaml @@ -1,6 +1,8 @@ {{- define "aceBackendEnvVars" -}} - name: PORT value: {{ .Values.aceBackend.containerPort | quote }} +- name: BIND_ADDRESS + value: {{ .Values.aceBackend.bindAddress | quote }} {{- end -}} {{- $envVars := concat (include "aceBackendEnvVars" . | fromYamlArray) .Values.aceBackend.deployment.extraEnv -}} {{- include "langsmith.detectDuplicates" $envVars -}} diff --git a/charts/langsmith/templates/frontend/config-map.yaml b/charts/langsmith/templates/frontend/config-map.yaml index b734229..7bfcb45 100644 --- a/charts/langsmith/templates/frontend/config-map.yaml +++ b/charts/langsmith/templates/frontend/config-map.yaml @@ -48,7 +48,16 @@ data: proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.playground.name }}:{{ .Values.playground.service.port }}; } - # Backend Routes + # Platform Backend Routes + location ~ /{{ .Values.ingress.subdomain }}/api/v1/platform/ { + rewrite /{{ .Values.ingress.subdomain }}/api/v1/platform/(.*) /platform/$1 break; + proxy_set_header Connection ''; + proxy_http_version 1.1; + proxy_buffering off; + proxy_cache off; + proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }}; + } + location ~ /{{ .Values.ingress.subdomain }}/api/v1/auth { rewrite /{{ .Values.ingress.subdomain }}/api/v1/(.*) /$1 break; proxy_set_header Connection ''; @@ -170,6 +179,15 @@ data: } # Platform Backend Routes + location ~ /api/v1/platform/ { + rewrite /api/v1/platform/(.*) /v1/platform/$1 break; + proxy_set_header Connection ''; + proxy_http_version 1.1; + proxy_buffering off; + proxy_cache off; + proxy_pass http://{{ include "langsmith.fullname" . }}-{{ .Values.platformBackend.name }}:{{ .Values.platformBackend.service.port }}; + } + location ~ /api/v1/auth { rewrite /api/v1/(.*) /$1 break; proxy_set_header Connection ''; diff --git a/charts/langsmith/values.yaml b/charts/langsmith/values.yaml index 5dc1fcc..33aead7 100644 --- a/charts/langsmith/values.yaml +++ b/charts/langsmith/values.yaml @@ -17,23 +17,23 @@ images: aceBackendImage: repository: "docker.io/langchain/langsmith-ace-backend" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.32" backendImage: repository: "docker.io/langchain/langsmith-backend" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.32" frontendImage: repository: "docker.io/langchain/langsmith-frontend" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.32" platformBackendImage: repository: "docker.io/langchain/langsmith-go-backend" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.32" playgroundImage: repository: "docker.io/langchain/langsmith-playground" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.32" postgresImage: repository: "docker.io/postgres" pullPolicy: IfNotPresent @@ -136,6 +136,7 @@ config: aceBackend: name: "ace-backend" containerPort: 1987 + bindAddress: "0.0.0.0" deployment: autoRestart: true replicas: 1 @@ -155,7 +156,7 @@ aceBackend: - "run" - "--unstable-worker-options" - "--allow-env" - - "--allow-net=0.0.0.0:$(PORT)" + - "--allow-net=$(BIND_ADDRESS):$(PORT)" - "--node-modules-dir" - "-R" - "src/main.ts" @@ -553,7 +554,7 @@ platformBackend: existingConfigMapName: "" deployment: autoRestart: true - replicas: 1 + replicas: 3 labels: {} annotations: {} podSecurityContext: {} @@ -602,8 +603,8 @@ platformBackend: # If enabled, use the following values to configure the HPA. You can also use your own HPA configuration by not creating an HPA. # You may want to manage the HPA yourself if you have a custom autoscaling setup like KEDA. createHpa: true - minReplicas: 1 - maxReplicas: 5 + minReplicas: 3 + maxReplicas: 10 targetCPUUtilizationPercentage: 50 targetMemoryUtilizationPercentage: 80 service: diff --git a/charts/open-gpts/README.md b/charts/open-gpts/README.md index f7364d2..c07806c 100644 --- a/charts/open-gpts/README.md +++ b/charts/open-gpts/README.md @@ -2,7 +2,7 @@ ![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) -Helm chart to deploy the open-gpts appplication and all services it depends on. +Helm chart to deploy the open-gpts application and all services it depends on. ## Deploying OpenGPTs with Helm @@ -163,7 +163,7 @@ the same format as the secret in the corresponding `secrets.yaml` file. | fullnameOverride | string | `""` | String to fully override `"openGPTs.fullname"` | | images.backendImage.pullPolicy | string | `"Always"` | | | images.backendImage.repository | string | `"docker.io/langchain/open-gpts"` | | -| images.backendImage.tag | string | `"latest"` | | +| images.backendImage.tag | string | `"daf9aba"` | | | images.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Specified as name: value. | | images.redisImage.pullPolicy | string | `"IfNotPresent"` | | | images.redisImage.repository | string | `"docker.io/redis/redis-stack-server"` | |