-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathvalues.yaml
240 lines (216 loc) · 5.26 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
imagePullSecrets: []
nameOverride: "langflow-service"
# Override for the name of the helm deployment
# Note: using `langflow` as service name causes
# env var collision when deploying on openshift
# https://github.com/langflow-ai/langflow/issues/4330#issuecomment-2459097917
fullnameOverride: "langflow-service"
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the
# fullname template
name: ""
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
paths: []
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
allowPrivilegeEscalation: false
runAsGroup: 1000
podSecurityContext:
fsGroup: 1000
runAsUser: 1000
runAsNonRoot: true
runAsGroup: 1000
langflow:
global:
image:
tag: "latest"
backend:
replicaCount: 1
service:
type: ClusterIP
port: 7860
backendOnly: true
numWorkers: 1
image:
repository: langflowai/langflow
imagePullPolicy: IfNotPresent
tag: latest
command:
- python
- -m
- langflow
- run
- --host
- 0.0.0.0
- --backend-only
resources:
requests:
cpu: 0.5
memory: 1Gi
# limits:
# cpu: 0.5
# memory: 1Gi
probe:
failureThreshold: 3
periodSeconds: 10
timeoutSeconds: 5
initialDelaySeconds: 5
env:
- name: LANGFLOW_PORT
value: "7860"
- name: LANGFLOW_ALEMBIC_LOG_FILE
value: "/app/db/alembic.log"
- name: LANGFLOW_UPDATE_STARTER_PROJECTS
value: "false"
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations:
prometheus.io/scrape: "true"
prometheus.io/port: 9090
prometheus.io/path: "/metrics"
securityContext:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
allowPrivilegeEscalation: false
runAsGroup: 1000
podSecurityContext:
fsGroup: 1000
runAsUser: 1000
runAsNonRoot: true
runAsGroup: 1000
externalDatabase:
# Compose in the SQLAlchemy format:
# https://docs.sqlalchemy.org/en/20/core/engines.html#database-urls
enabled: false
driver: {}
# value: "postgresql"
port: {}
user: {}
password: {}
# valueFrom:
# secretKeyRef:
# key: password
# name: <secret-name>
database: {}
volumes:
- name: flows
emptyDir: {}
- name: tmp
emptyDir: {}
- name: data
emptyDir: {}
- name: db
emptyDir: {}
volumeMounts:
- name: flows
mountPath: /app/flows
readOnly: false
- name: tmp
mountPath: /tmp
readOnly: false
- name: data
mountPath: /app/data
readOnly: false
- name: db
mountPath: /app/db
readOnly: false
sqlite:
enabled: true
volume:
size: "1Gi"
existingStorageClassName: "default"
# If you want the chart to create storage classes, then don't set
# existingStorageClassName name and provide configuration values
# for the storage class. The settings vary based on cloud
# provider. Below are examples for AWS, GCP, and Azure.
# For AWS
# storageClass:
# provisioner: kubernetes.io/aws-ebs
# type: gp2
# fsType: ext4
# extraParams:
# iopsPerGB: "10"
# For GCP
# storageClass:
# provisioner: kubernetes.io/gce-pd
# type: pd-ssd
# fsType: ext4
# extraParams:
# replication-type: none
# For Azure
# storageClass:
# provisioner: kubernetes.io/azure-disk
# fsType: ext4
# type: managed-premium
# extraParams:
# storageaccounttype: Premium_LRS
# kind: Managed
# cachingmode: ReadOnly
storageClass: {}
# autoLogin: true|false
# superuser: <superuser login>
# superuserPassword: <superuser password>
# secretKey: <encryption key, optional>
# newUserIsActive: true|false
frontend:
enabled: true
replicaCount: 1
service:
type: ClusterIP
port: 8080
image:
repository: langflowai/langflow-frontend
imagePullPolicy: IfNotPresent
tag: latest
resources:
requests:
cpu: 0.3
memory: 512Mi
# limits:
# cpu: 0.3
# memory: 512Mi
probe:
failureThreshold: 3
periodSeconds: 10
timeoutSeconds: 5
initialDelaySeconds: 5
nodeSelector: {}
tolerations: []
affinity: {}
podAnnotations: {}
volumes:
- name: tmp
emptyDir: {}
volumeMounts:
- name: tmp
mountPath: /tmp
readOnly: false
secretProvider:
enabled: false
postgresql:
enabled: false