From 4ffa06de7f51eeceb5f18a0ceb9a3323917d44b7 Mon Sep 17 00:00:00 2001 From: infra Date: Thu, 14 Nov 2024 11:25:05 -0500 Subject: [PATCH 1/4] chore: bump 0.8.10 --- charts/langsmith/Chart.yaml | 4 ++-- charts/langsmith/README.md | 20 ++++++++++---------- charts/langsmith/values.yaml | 16 ++++++++-------- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/charts/langsmith/Chart.yaml b/charts/langsmith/Chart.yaml index c7680a6..681af10 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.31" diff --git a/charts/langsmith/README.md b/charts/langsmith/README.md index 7aef794..f45cc7e 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. @@ -148,23 +148,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.31"` | | | 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.31"` | | | 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.31"` | | | 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.31"` | | | 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.31"` | | | images.postgresImage.pullPolicy | string | `"IfNotPresent"` | | | images.postgresImage.repository | string | `"docker.io/postgres"` | | | images.postgresImage.tag | string | `"14.7"` | | @@ -470,8 +470,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 +494,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 +779,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/values.yaml b/charts/langsmith/values.yaml index 0b32c50..b45930e 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.31" backendImage: repository: "docker.io/langchain/langsmith-backend" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.31" frontendImage: repository: "docker.io/langchain/langsmith-frontend" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.31" platformBackendImage: repository: "docker.io/langchain/langsmith-go-backend" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.31" playgroundImage: repository: "docker.io/langchain/langsmith-playground" pullPolicy: IfNotPresent - tag: "0.8.29" + tag: "0.8.31" postgresImage: repository: "docker.io/postgres" pullPolicy: IfNotPresent @@ -552,7 +552,7 @@ platformBackend: existingConfigMapName: "" deployment: autoRestart: true - replicas: 1 + replicas: 3 labels: {} annotations: {} podSecurityContext: {} @@ -601,8 +601,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: From 403b41de1319587f1e73bfb8dc4e9b5cfefd6cb1 Mon Sep 17 00:00:00 2001 From: infra Date: Thu, 14 Nov 2024 11:40:36 -0500 Subject: [PATCH 2/4] add bind address --- charts/langsmith/README.md | 3 ++- charts/langsmith/templates/ace-backend/deployment.yaml | 2 ++ charts/langsmith/values.yaml | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/langsmith/README.md b/charts/langsmith/README.md index f45cc7e..3bbdd9c 100644 --- a/charts/langsmith/README.md +++ b/charts/langsmith/README.md @@ -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"` | | 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/values.yaml b/charts/langsmith/values.yaml index b45930e..14d840e 100644 --- a/charts/langsmith/values.yaml +++ b/charts/langsmith/values.yaml @@ -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" From 12cae056d30e7fbf9fdbadc680488a7c005ad323 Mon Sep 17 00:00:00 2001 From: infra Date: Thu, 14 Nov 2024 11:49:23 -0500 Subject: [PATCH 3/4] add quickaction --- .../templates/frontend/config-map.yaml | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 ''; From 4687e93894a516ffe8a67cb1741c2e1a18066414 Mon Sep 17 00:00:00 2001 From: infra Date: Thu, 14 Nov 2024 12:58:34 -0500 Subject: [PATCH 4/4] Fix --- charts/langgraph-cloud/README.md | 2 +- charts/langsmith/Chart.yaml | 2 +- charts/langsmith/README.md | 10 +++++----- charts/langsmith/values.yaml | 10 +++++----- charts/open-gpts/README.md | 4 ++-- 5 files changed, 14 insertions(+), 14 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 681af10..123b4a6 100644 --- a/charts/langsmith/Chart.yaml +++ b/charts/langsmith/Chart.yaml @@ -6,4 +6,4 @@ maintainers: description: Helm chart to deploy the langsmith application and all services it depends on. type: application version: 0.8.10 -appVersion: "0.8.31" +appVersion: "0.8.32" diff --git a/charts/langsmith/README.md b/charts/langsmith/README.md index 3bbdd9c..c593843 100644 --- a/charts/langsmith/README.md +++ b/charts/langsmith/README.md @@ -149,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.31"` | | +| 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.31"` | | +| 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.31"` | | +| 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.31"` | | +| 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.31"` | | +| 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"` | | diff --git a/charts/langsmith/values.yaml b/charts/langsmith/values.yaml index 14d840e..15ef3c9 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.31" + tag: "0.8.32" backendImage: repository: "docker.io/langchain/langsmith-backend" pullPolicy: IfNotPresent - tag: "0.8.31" + tag: "0.8.32" frontendImage: repository: "docker.io/langchain/langsmith-frontend" pullPolicy: IfNotPresent - tag: "0.8.31" + tag: "0.8.32" platformBackendImage: repository: "docker.io/langchain/langsmith-go-backend" pullPolicy: IfNotPresent - tag: "0.8.31" + tag: "0.8.32" playgroundImage: repository: "docker.io/langchain/langsmith-playground" pullPolicy: IfNotPresent - tag: "0.8.31" + tag: "0.8.32" postgresImage: repository: "docker.io/postgres" pullPolicy: IfNotPresent 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"` | |