You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
helm install keda kedacore/keda --namespace keda --create-namespace
25
+
```
24
26
2. A valid `Ingress` controller is installed on your cluster.
25
27
3. You have slack space in your cluster for multiple deployments. `Cluster-Autoscaler` is recommended to automatically provision new nodes.
26
28
4. You will need to enable egress to two control plane URLs. The listener polls these endpoints for deployments:
27
-
https://api.host.langchain.com
28
-
https://api.smith.langchain.com
29
+
-https://api.host.langchain.com
30
+
-https://api.smith.langchain.com
29
31
30
32
### Setup
31
33
32
34
1. You give us your LangSmith organization ID. We will enable the Self-Hosted Data Plane for your organization.
33
35
2. We provide you a [Helm chart](https://github.com/langchain-ai/helm/tree/main/charts/langgraph-dataplane) which you run to setup your Kubernetes cluster. This chart contains a few important components.
34
-
1.`langgraph-listener`: This is a service that listens to LangChain's [control plane](/langgraph-platform/control-plane) for changes to your deployments and creates/updates downstream CRDs.
35
-
2.`LangGraphPlatform CRD`: A CRD for LangGraph Platform deployments. This contains the spec for managing an instance of a LangGraph Platform deployment.
36
-
3.`langgraph-platform-operator`: This operator handles changes to your LangGraph Platform CRDs.
36
+
1.`langgraph-listener`: This is a service that listens to LangChain's [control plane](/langgraph-platform/control-plane) for changes to your deployments and creates/updates downstream CRDs.
37
+
2.`LangGraphPlatform CRD`: A CRD for LangGraph Platform deployments. This contains the spec for managing an instance of a LangGraph Platform deployment.
38
+
3.`langgraph-platform-operator`: This operator handles changes to your LangGraph Platform CRDs.
37
39
3. Configure your `langgraph-dataplane-values.yaml` file.
40
+
```bash
38
41
config:
39
-
langsmithApiKey: "" # API Key of your Workspace
40
-
langsmithWorkspaceId: "" # Workspace ID
41
-
hostBackendUrl: "https://api.host.langchain.com" # Only override this if on EU
42
-
smithBackendUrl: "https://api.smith.langchain.com" # Only override this if on EU
42
+
langsmithApiKey: ""# API Key of your Workspace
43
+
langsmithWorkspaceId: ""# Workspace ID
44
+
hostBackendUrl: "https://api.host.langchain.com"# Only override this if on EU
45
+
smithBackendUrl: "https://api.smith.langchain.com"# Only override this if on EU
Copy file name to clipboardExpand all lines: src/langgraph-platform/deploy-self-hosted-full-platform.mdx
+21-13Lines changed: 21 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,35 +16,43 @@ Before deploying, review the [conceptual guide for the Self-Hosted Full Platform
16
16
3. Use the [LangGraph CLI](/langgraph-platform/langgraph-cli) to [test your application locally](/langgraph-platform/local-server).
17
17
4. Use the [LangGraph CLI](/langgraph-platform/langgraph-cli) to build a Docker image (i.e. `langgraph build`) and push it to a registry your Kubernetes cluster has access to.
helm install keda kedacore/keda --namespace keda --create-namespace
22
+
```
21
23
6. Ingress Configuration
22
-
1. You must set up an ingress for your LangSmith instance. All agents will be deployed as Kubernetes services behind this ingress.
23
-
2. You can use this guide to [set up an ingress](https://docs.smith.langchain.com/self_hosting/configuration/ingress) for your instance.
24
+
1. You must set up an ingress for your LangSmith instance. All agents will be deployed as Kubernetes services behind this ingress.
25
+
2. You can use this guide to [set up an ingress](https://docs.smith.langchain.com/self_hosting/configuration/ingress) for your instance.
24
26
7. You have slack space in your cluster for multiple deployments. `Cluster-Autoscaler` is recommended to automatically provision new nodes.
25
27
8. A valid Dynamic PV provisioner or PVs available on your cluster. You can verify this by running:
28
+
```bash
26
29
kubectl get storageclass
30
+
```
27
31
9. Egress to `https://beacon.langchain.com` from your network. This is required for license verification and usage reporting if not running in air-gapped mode. See the [Egress documentation](/langgraph-platform/egress-metrics-metadata) for more details.
28
32
29
33
## Setup
30
34
31
35
1. As part of configuring your Self-Hosted LangSmith instance, you enable the `langgraphPlatform` option. This will provision a few key resources.
32
-
1.`listener`: This is a service that listens to the [control plane](/langgraph-platform/control-plane) for changes to your deployments and creates/updates downstream CRDs.
33
-
2.`LangGraphPlatform CRD`: A CRD for LangGraph Platform deployments. This contains the spec for managing an instance of a LangGraph platform deployment.
34
-
3.`operator`: This operator handles changes to your LangGraph Platform CRDs.
35
-
4.`host-backend`: This is the [control plane](/langgraph-platform/control-plane).
36
+
1.`listener`: This is a service that listens to the [control plane](/langgraph-platform/control-plane) for changes to your deployments and creates/updates downstream CRDs.
37
+
2.`LangGraphPlatform CRD`: A CRD for LangGraph Platform deployments. This contains the spec for managing an instance of a LangGraph platform deployment.
38
+
3.`operator`: This operator handles changes to your LangGraph Platform CRDs.
39
+
4.`host-backend`: This is the [control plane](/langgraph-platform/control-plane).
36
40
2. Two additional images will be used by the chart. Use the images that are specified in the latest release.
3. In your config file for langsmith (usually `langsmith_config.yaml`), enable the `langgraphPlatform` option. Note that you must also have a valid ingress setup:
4. In your `values.yaml` file, configure the `hostBackendImage` and `operatorImage` options (if you need to mirror images)
49
57
5. You can also configure base templates for your agents by overriding the base templates [here](https://github.com/langchain-ai/helm/blob/main/charts/langsmith/values.yaml#L898).
50
58
6. You create a deployment from the [control plane UI](/langgraph-platform/control-plane#control-plane-ui).
0 commit comments