Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/langgraph-dataplane/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
email: ankush@langchain.dev
description: Helm chart to deploy a langgraph dataplane on kubernetes.
type: application
version: 0.2.6
appVersion: "0.11.32"
version: 0.2.7
appVersion: "0.11.57"
5 changes: 3 additions & 2 deletions charts/langgraph-dataplane/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# langgraph-dataplane

![Version: 0.2.6](https://img.shields.io/badge/Version-0.2.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.11.32](https://img.shields.io/badge/AppVersion-0.11.32-informational?style=flat-square)
![Version: 0.2.7](https://img.shields.io/badge/Version-0.2.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.11.57](https://img.shields.io/badge/AppVersion-0.11.57-informational?style=flat-square)

Helm chart to deploy a langgraph dataplane on kubernetes.

Expand All @@ -19,10 +19,11 @@ You can find the guide to deploy a LangGraph Dataplane [here](https://langchain-
| commonVolumeMounts | list | `[]` | Common volume mounts added to all deployments/statefulsets. |
| commonVolumes | list | `[]` | Common volumes added to all deployments/statefulsets. |
| fullnameOverride | string | `""` | String to fully override `"langgraphDataplane.fullname"` |
| gateway | object | `{"enabled":false,"hostname":"","name":"","namespace":""}` | Whether to use the Gateway API for ingress. Will create an HTTPRoute for each LangGraph platform deployment. Recommended for production use / if deploying multiple releases in the same cluster. |
| images.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Specified as name: value. |
| images.listenerImage.pullPolicy | string | `"IfNotPresent"` | |
| images.listenerImage.repository | string | `"docker.io/langchain/hosted-langserve-backend"` | |
| images.listenerImage.tag | string | `"0.11.32"` | |
| images.listenerImage.tag | string | `"0.11.57"` | |
| images.operatorImage.pullPolicy | string | `"IfNotPresent"` | |
| images.operatorImage.repository | string | `"docker.io/langchain/langgraph-operator"` | |
| images.operatorImage.tag | string | `"0.1.11"` | |
Expand Down
6 changes: 6 additions & 0 deletions charts/langgraph-dataplane/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{{- define "validateIngress" -}}
{{- if and .Values.ingress.enabled .Values.gateway.enabled}}
{{- fail "Both ingress and gateway cannot be enabled at the same time." -}}
{{- end -}}
{{- end -}}
{{- template "validateIngress" . -}}
{{- if and .Values.ingress.enabled .Values.ingress.create }}
apiVersion: networking.k8s.io/v1
kind: Ingress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{{- end -}}
{{- define "listenerEnvVars" -}}
- name: LANGGRAPH_CLOUD_INGRESS_ENABLED
value: {{ .Values.ingress.enabled | quote }}
value: {{ or .Values.ingress.enabled .Values.gateway.enabled | quote }}
- name: PORT
value: {{ .Values.listener.containerPort | quote }}
{{- end }}
Expand Down
11 changes: 8 additions & 3 deletions charts/langgraph-dataplane/templates/operator/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,19 @@ spec:
value: {{ default .Values.operator.watchNamespaces .Values.config.watchNamespaces | quote }}
- name: KEDA_ENABLED
value: {{ .Values.operator.kedaEnabled | quote }}
{{- if .Values.ingress.enabled }}
{{- if .Values.gateway.enabled }}
- name: GATEWAY_NAME
value: {{ .Values.gateway.name | quote }}
- name: GATEWAY_NAMESPACE
value: {{ .Values.gateway.namespace | default .Release.Namespace }}
{{- else }}
- name: SHARED_INGRESS_NAME
value: {{ include "langgraphDataplane.fullname" . }}-ingress
- name: SHARED_INGRESS_NAMESPACE
value: {{ .Values.namespace | default .Release.Namespace }}
{{- end }}
{{- end }}
- name: ROOT_DOMAIN
value: {{ .Values.ingress.hostname | quote }}
value: {{ coalesce .Values.gateway.hostname .Values.ingress.hostname | quote }}
- name: TLS_ENABLED
value: {{ .Values.ingress.tlsEnabled | quote }}
{{- with .Values.operator.deployment.extraEnv }}
Expand Down
24 changes: 24 additions & 0 deletions charts/langgraph-dataplane/templates/operator/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,18 @@ rules:
- patch
- update
- watch
- apiGroups:
- gateway.networking.k8s.io
resources:
- httproutes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
Expand Down Expand Up @@ -272,6 +284,18 @@ rules:
- patch
- update
- watch
- apiGroups:
- gateway.networking.k8s.io
resources:
- httproutes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
9 changes: 8 additions & 1 deletion charts/langgraph-dataplane/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ images:
listenerImage:
repository: "docker.io/langchain/hosted-langserve-backend"
pullPolicy: IfNotPresent
tag: "0.11.32"
tag: "0.11.57"
redisImage:
repository: "docker.io/redis"
pullPolicy: IfNotPresent
Expand All @@ -48,6 +48,13 @@ ingress:
tlsEnabled: true
additionalPaths: []

# -- Whether to use the Gateway API for ingress. Will create an HTTPRoute for each LangGraph platform deployment. Recommended for production use / if deploying multiple releases in the same cluster.
gateway:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need all these fields?

enabled: false
name: ""
namespace: ""
hostname: ""

config:
existingSecretName: ""
langsmithApiKey: ""
Expand Down