-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from langchain-ai/infra/bump-charts-fixes
Infra/bump charts fixes
- Loading branch information
Showing
18 changed files
with
302 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.3.5 | ||
appVersion: "0.1.0" | ||
version: 0.3.6 | ||
appVersion: "0.1.19" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,7 @@ Ensure you have the following tools/items ready. | |
3. LangSmith License Key | ||
1. You can get this from your Langchain representative. Contact us at [email protected] for more information. | ||
3. SSL(optional) | ||
1. This should be attachable to a load balancer that | ||
1. This should be attachable to the load balancer that you will be provisioning. | ||
4. OpenAI API Key(optional). | ||
1. Used for natural language search feature. Can specify OpenAI key in browser as well for the playground feature. | ||
5. Oauth Configuration(optional). | ||
|
@@ -104,11 +104,7 @@ config: | |
postgres: | ||
external: | ||
enabled: true | ||
host: <host> | ||
port: 5432 | ||
user: <user> | ||
password: <password> | ||
database: <database> | ||
connectionUrl: "postgresql://<username>:<password>@<url>:5432/<dbname>" | ||
redis: | ||
external: | ||
enabled: true | ||
|
@@ -118,6 +114,8 @@ redis: | |
You can also use existingSecretName to avoid checking in secrets. This secret will need to follow | ||
the same format as the secret in the corresponding `secrets.yaml` file. | ||
|
||
More examples can be found in the `examples` directory. | ||
|
||
|
||
### Deploying to Kubernetes: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
config: | ||
langsmithLicenseKey: "YOUR_LICENSE_KEY" | ||
|
||
# Note, you likely should tweak the values to match your needs | ||
backend: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: 500m | ||
memory: 1000Mi | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
hubBackend: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: 500m | ||
memory: 1000Mi | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
frontend: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: 500m | ||
memory: 1000Mi | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
playground: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: 500m | ||
memory: 1000Mi | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
queue: | ||
deployment: | ||
requests: | ||
cpu: "1000m" | ||
memory: "4Gi" | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
config: | ||
langsmithLicenseKey: "YOUR_LICENSE_KEY" | ||
# existingSecretName: "langsmith-config" You can also put the above into a secret if you want to avoid putting the license key in the values file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
config: | ||
langsmithLicenseKey: "YOUR_LICENSE_KEY" | ||
|
||
postgres: | ||
external: | ||
enabled: true | ||
connectionUrl: "default:foo@host:port/database?sslmode=require" | ||
# existingSecretName: "postgres-secret" Can also put the above into a secret if you want to avoid putting the connection string in the values file. | ||
|
||
redis: | ||
external: | ||
enabled: true | ||
connectionUrl: "redis://host:port" | ||
# existingSecretName: "redis-secret" Can also put the above into a secret if you want to avoid putting the connection string in the values file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
config: | ||
langsmithLicenseKey: "YOUR_LICENSE_KEY" | ||
oauth: | ||
enabled: true | ||
oauthClientId: "YOUR_CLIENT_ID" | ||
oauthIssuerUrl: "YOUR_ISSUER_URL" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
config: | ||
langsmithLicenseKey: "YOUR_LICENSE_KEY" | ||
openaiApiKey: "YOUR OPENAI API KEY" | ||
oauth: | ||
enabled: true | ||
oauthClientId: "YOUR_CLIENT_ID" | ||
oauthIssuerUrl: "YOUR_ISSUER_URL" | ||
|
||
# Note, you likely should tweak the values to match your needs | ||
backend: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: "500m" | ||
memory: "1000Mi" | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
hubBackend: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: "500m" | ||
memory: "1000Mi" | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
frontend: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: "500m" | ||
memory: "1000Mi" | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
playground: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: "500m" | ||
memory: "1000Mi" | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 1 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
queue: | ||
deployment: | ||
resources: | ||
requests: | ||
cpu: "1000m" | ||
memory: "4Gi" | ||
autoscaling: | ||
enabled: true | ||
minReplicas: 3 | ||
maxReplicas: 10 | ||
targetCPUUtilizationPercentage: 50 | ||
|
||
# We suggest using an external database for production use cases. | ||
postgres: | ||
external: | ||
enabled: true | ||
connectionUrl: "default:foo@host:port/database?sslmode=require" | ||
# existingSecretName: "postgres-secret" Can also put the above into a secret if you want to avoid putting the connection string in the values file. | ||
|
||
# We suggest using an external redis for production use cases. | ||
redis: | ||
external: | ||
enabled: true | ||
connectionUrl: "redis://host:port" | ||
# existingSecretName: "redis-secret" Can also put the above into a secret if you want to avoid putting the connection string in the values file. | ||
|
||
clickhouse: | ||
statefulSet: | ||
resources: | ||
requests: | ||
cpu: "2000m" | ||
memory: "8Gi" | ||
persistence: | ||
size: "50Gi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{{- if .Values.apiIngress.enabled }} | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: {{ include "langsmith.fullname" . }}-api-ingress | ||
annotations: | ||
{{- include "langsmith.annotations" . | nindent 4 }} | ||
{{- with .Values.apiIngress.annotations }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
external-dns.alpha.kubernetes.io/hostname: {{ .Values.apiIngress.hostname }} | ||
labels: | ||
{{- include "langsmith.labels" . | nindent 4 }} | ||
{{- with .Values.apiIngress.labels }} | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
ingressClassName: {{ .Values.apiIngress.ingressClassName }} | ||
{{- with .Values.apiIngress.tls }} | ||
tls: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
rules: | ||
- host: {{ .Values.apiIngress.hostname }} | ||
http: | ||
paths: | ||
- path: /{{ .Values.apiIngress.subdomain }}/api/v1 | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "langsmith.fullname" . }}-{{ .Values.backend.name }} | ||
port: | ||
number: {{ .Values.backend.service.port }} | ||
- path: /{{ .Values.apiIngress.subdomain }}/api-hub/v1 | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: {{ include "langsmith.fullname" . }}-{{ .Values.hubBackend.name }} | ||
port: | ||
number: {{ .Values.backend.service.port }} | ||
{{- end }} |
Oops, something went wrong.