Skip to content

Commit

Permalink
chore: bump versions and add topology spread constraints (#159)
Browse files Browse the repository at this point in the history
* chore: bump versions and add topology spread constraints

* fix

* add docs

* 0.7.30

* 0.7.30

* fix image

* fix: use newer image
  • Loading branch information
langchain-infra authored Sep 22, 2024
1 parent 0071f64 commit 5977bb9
Show file tree
Hide file tree
Showing 15 changed files with 81 additions and 14 deletions.
4 changes: 2 additions & 2 deletions charts/langsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
email: [email protected]
description: Helm chart to deploy the langsmith application and all services it depends on.
type: application
version: 0.7.6
appVersion: "0.7.20"
version: 0.7.7
appVersion: "0.7.32"
22 changes: 17 additions & 5 deletions charts/langsmith/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# langsmith

![Version: 0.7.6](https://img.shields.io/badge/Version-0.7.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.20](https://img.shields.io/badge/AppVersion-0.7.20-informational?style=flat-square)
![Version: 0.7.7](https://img.shields.io/badge/Version-0.7.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.32](https://img.shields.io/badge/AppVersion-0.7.32-informational?style=flat-square)

Helm chart to deploy the langsmith application and all services it depends on.

Expand Down Expand Up @@ -77,6 +77,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| clickhouse.statefulSet.startupProbe.periodSeconds | int | `10` | |
| clickhouse.statefulSet.startupProbe.timeoutSeconds | int | `1` | |
| clickhouse.statefulSet.tolerations | list | `[]` | |
| clickhouse.statefulSet.topologySpreadConstraints | list | `[]` | |
| clickhouse.statefulSet.volumeMounts | list | `[]` | |
| clickhouse.statefulSet.volumes | list | `[]` | |
| commonAnnotations | object | `{}` | Annotations that will be applied to all resources created by the chart |
Expand All @@ -85,20 +86,20 @@ 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.backendImage.pullPolicy | string | `"IfNotPresent"` | |
| images.backendImage.repository | string | `"docker.io/langchain/langsmith-backend"` | |
| images.backendImage.tag | string | `"0.7.20"` | |
| images.backendImage.tag | string | `"0.7.32"` | |
| images.clickhouseImage.pullPolicy | string | `"Always"` | |
| images.clickhouseImage.repository | string | `"docker.io/clickhouse/clickhouse-server"` | |
| images.clickhouseImage.tag | string | `"24.2"` | |
| images.frontendImage.pullPolicy | string | `"IfNotPresent"` | |
| images.frontendImage.repository | string | `"docker.io/langchain/langsmith-frontend"` | |
| images.frontendImage.tag | string | `"0.7.20"` | |
| images.frontendImage.tag | string | `"0.7.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.7.20"` | |
| images.platformBackendImage.tag | string | `"0.7.32"` | |
| images.playgroundImage.pullPolicy | string | `"IfNotPresent"` | |
| images.playgroundImage.repository | string | `"docker.io/langchain/langsmith-playground"` | |
| images.playgroundImage.tag | string | `"0.7.20"` | |
| images.playgroundImage.tag | string | `"0.7.32"` | |
| images.postgresImage.pullPolicy | string | `"IfNotPresent"` | |
| images.postgresImage.repository | string | `"docker.io/postgres"` | |
| images.postgresImage.tag | string | `"14.7"` | |
Expand Down Expand Up @@ -154,6 +155,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| backend.authBootstrap.securityContext | object | `{}` | |
| backend.authBootstrap.sidecars | list | `[]` | |
| backend.authBootstrap.tolerations | list | `[]` | |
| backend.authBootstrap.topologySpreadConstraints | list | `[]` | |
| backend.authBootstrap.volumeMounts | list | `[]` | |
| backend.authBootstrap.volumes | list | `[]` | |
| backend.autoscaling.createHpa | bool | `true` | |
Expand All @@ -176,6 +178,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| backend.clickhouseMigrations.securityContext | object | `{}` | |
| backend.clickhouseMigrations.sidecars | list | `[]` | |
| backend.clickhouseMigrations.tolerations | list | `[]` | |
| backend.clickhouseMigrations.topologySpreadConstraints | list | `[]` | |
| backend.clickhouseMigrations.volumeMounts | list | `[]` | |
| backend.clickhouseMigrations.volumes | list | `[]` | |
| backend.containerPort | int | `1984` | |
Expand Down Expand Up @@ -223,6 +226,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| backend.deployment.startupProbe.periodSeconds | int | `10` | |
| backend.deployment.startupProbe.timeoutSeconds | int | `1` | |
| backend.deployment.tolerations | list | `[]` | |
| backend.deployment.topologySpreadConstraints | list | `[]` | |
| backend.deployment.volumeMounts | list | `[]` | |
| backend.deployment.volumes | list | `[]` | |
| backend.existingConfigMapName | string | `""` | |
Expand All @@ -241,6 +245,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| backend.migrations.securityContext | object | `{}` | |
| backend.migrations.sidecars | list | `[]` | |
| backend.migrations.tolerations | list | `[]` | |
| backend.migrations.topologySpreadConstraints | list | `[]` | |
| backend.migrations.volumeMounts | list | `[]` | |
| backend.migrations.volumes | list | `[]` | |
| backend.name | string | `"backend"` | |
Expand Down Expand Up @@ -317,6 +322,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| clickhouse.statefulSet.startupProbe.periodSeconds | int | `10` | |
| clickhouse.statefulSet.startupProbe.timeoutSeconds | int | `1` | |
| clickhouse.statefulSet.tolerations | list | `[]` | |
| clickhouse.statefulSet.topologySpreadConstraints | list | `[]` | |
| clickhouse.statefulSet.volumeMounts | list | `[]` | |
| clickhouse.statefulSet.volumes | list | `[]` | |

Expand Down Expand Up @@ -363,6 +369,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| frontend.deployment.startupProbe.periodSeconds | int | `10` | |
| frontend.deployment.startupProbe.timeoutSeconds | int | `1` | |
| frontend.deployment.tolerations | list | `[]` | |
| frontend.deployment.topologySpreadConstraints | list | `[]` | |
| frontend.deployment.volumeMounts | list | `[]` | |
| frontend.deployment.volumes | list | `[]` | |
| frontend.existingConfigMapName | string | `""` | |
Expand Down Expand Up @@ -426,6 +433,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| platformBackend.deployment.startupProbe.periodSeconds | int | `10` | |
| platformBackend.deployment.startupProbe.timeoutSeconds | int | `1` | |
| platformBackend.deployment.tolerations | list | `[]` | |
| platformBackend.deployment.topologySpreadConstraints | list | `[]` | |
| platformBackend.deployment.volumeMounts | list | `[]` | |
| platformBackend.deployment.volumes | list | `[]` | |
| platformBackend.existingConfigMapName | string | `""` | |
Expand Down Expand Up @@ -485,6 +493,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| playground.deployment.startupProbe.periodSeconds | int | `10` | |
| playground.deployment.startupProbe.timeoutSeconds | int | `1` | |
| playground.deployment.tolerations | list | `[]` | |
| playground.deployment.topologySpreadConstraints | list | `[]` | |
| playground.deployment.volumeMounts | list | `[]` | |
| playground.deployment.volumes | list | `[]` | |
| playground.name | string | `"playground"` | |
Expand Down Expand Up @@ -559,6 +568,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| postgres.statefulSet.startupProbe.periodSeconds | int | `10` | |
| postgres.statefulSet.startupProbe.timeoutSeconds | int | `1` | |
| postgres.statefulSet.tolerations | list | `[]` | |
| postgres.statefulSet.topologySpreadConstraints | list | `[]` | |
| postgres.statefulSet.volumeMounts | list | `[]` | |
| postgres.statefulSet.volumes | list | `[]` | |

Expand Down Expand Up @@ -609,6 +619,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| queue.deployment.startupProbe.periodSeconds | int | `60` | |
| queue.deployment.startupProbe.timeoutSeconds | int | `30` | |
| queue.deployment.tolerations | list | `[]` | |
| queue.deployment.topologySpreadConstraints | list | `[]` | |
| queue.deployment.volumeMounts | list | `[]` | |
| queue.deployment.volumes | list | `[]` | |
| queue.name | string | `"queue"` | |
Expand Down Expand Up @@ -672,6 +683,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| redis.statefulSet.startupProbe.periodSeconds | int | `10` | |
| redis.statefulSet.startupProbe.timeoutSeconds | int | `1` | |
| redis.statefulSet.tolerations | list | `[]` | |
| redis.statefulSet.topologySpreadConstraints | list | `[]` | |
| redis.statefulSet.volumeMounts | list | `[]` | |
| redis.statefulSet.volumes | list | `[]` | |

Expand Down
6 changes: 3 additions & 3 deletions charts/langsmith/examples/read_only_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ clickhouse:
statefulSet:
podSecurityContext:
runAsNonRoot: true
runAsUser: 1000
runAsGroup: 1000
fsGroup: 1000
runAsUser: 101
runAsGroup: 101
fsGroup: 101
securityContext:
capabilities:
drop:
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/backend/auth-bootstrap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.authBootstrap.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.authBootstrap.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/backend/clickhouse-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.clickhouseMigrations.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.clickhouseMigrations.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.deployment.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.deployment.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/backend/postgres-migrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.migrations.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.backend.migrations.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/clickhouse/stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.clickhouse.statefulSet.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
- name: clickhouse-conf
configMap:
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/frontend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.frontend.deployment.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- with .Values.frontend.deployment.volumes }}
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/platform-backend/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.platformBackend.deployment.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.platformBackend.deployment.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/playground/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.playground.deployment.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.playground.deployment.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/postgres/stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.postgres.statefulSet.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.postgres.statefulSet.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/queue/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.queue.deployment.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.queue.deployment.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/langsmith/templates/redis/stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.redis.statefulSet.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.redis.statefulSet.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
Expand Down
19 changes: 15 additions & 4 deletions charts/langsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ images:
backendImage:
repository: "docker.io/langchain/langsmith-backend"
pullPolicy: IfNotPresent
tag: "0.7.20"
tag: "0.7.32"
frontendImage:
repository: "docker.io/langchain/langsmith-frontend"
pullPolicy: IfNotPresent
tag: "0.7.20"
tag: "0.7.32"
platformBackendImage:
repository: "docker.io/langchain/langsmith-go-backend"
pullPolicy: IfNotPresent
tag: "0.7.20"
tag: "0.7.32"
playgroundImage:
repository: "docker.io/langchain/langsmith-playground"
pullPolicy: IfNotPresent
tag: "0.7.20"
tag: "0.7.32"
postgresImage:
repository: "docker.io/postgres"
pullPolicy: IfNotPresent
Expand Down Expand Up @@ -167,6 +167,7 @@ backend:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand All @@ -192,6 +193,7 @@ backend:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand All @@ -215,6 +217,7 @@ backend:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand All @@ -239,6 +242,7 @@ backend:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down Expand Up @@ -331,6 +335,7 @@ clickhouse:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down Expand Up @@ -403,6 +408,7 @@ frontend:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down Expand Up @@ -475,6 +481,7 @@ platformBackend:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down Expand Up @@ -546,6 +553,7 @@ playground:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down Expand Up @@ -634,6 +642,7 @@ postgres:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down Expand Up @@ -705,6 +714,7 @@ queue:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down Expand Up @@ -778,6 +788,7 @@ redis:
sidecars: []
nodeSelector: {}
tolerations: []
topologySpreadConstraints: []
affinity: {}
volumes: []
volumeMounts: []
Expand Down

0 comments on commit 5977bb9

Please sign in to comment.