-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathvalues.yaml
522 lines (451 loc) · 19.7 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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
## Common parameters
# -- partially overrides common.names.name
nameOverride: ""
# -- fully override common.names.fullname
fullnameOverride: "prefect-server"
# -- fully override common.names.namespace
namespaceOverride: ""
# -- labels to add to all deployed objects
commonLabels: {}
# -- annotations to add to all deployed objects
commonAnnotations: {}
## Global Deployment Configuration
global:
prefect:
image:
# -- prefect image repository
repository: prefecthq/prefect
## prefect tag is pinned to the latest available image tag at packaging time. Update the value here to
## override pinned tag
# -- prefect image tag (immutable tags are recommended)
prefectTag: 3-latest
# -- prefect image pull policy
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
## e.g:
## pullSecrets:
## - myRegistryKeySecretName
# -- prefect image pull secrets
pullSecrets: []
# -- sets PREFECT_API_URL
prefectApiUrl: http://localhost:4200/api
# -- sets PREFECT_SERVER_API_HOST
prefectApiHost: 0.0.0.0
# see here for a full list of possible environment variables - https://docs.prefect.io/latest/api-ref/prefect/settings/
# -- array with environment variables to add to all deployments
env: []
## env:
## - name: PREFECT_API_ENABLE_HTTP2
## value: false
## Server Deployment Configuration
server:
# ref: https://docs.prefect.io/v3/develop/settings-and-profiles#security-settings
basicAuth:
# -- enable basic auth for the server, for an administrator/password combination
enabled: false
# -- basic auth credentials in the format admin:<your-password> (no brackets)
authString: "admin:pass"
# -- name of existing secret containing basic auth credentials. takes precedence over authString. must contain a key `auth-string` with the value of the auth string
existingSecret: ""
# ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
# -- priority class name to use for the server pods; if the priority class is empty or doesn't exist, the server pods are scheduled without a priority class
priorityClassName: ""
# -- enable server debug mode
debug: false
# sets PREFECT_LOGGING_SERVER_LEVEL
loggingLevel: WARNING
## If you want to run the UI seperately from the server, you will need to set the UI-specific URLs below
uiConfig:
# -- set PREFECT_UI_ENABLED; enable the UI on the server
enabled: true
# -- sets PREFECT_UI_API_URL
prefectUiApiUrl: ""
# -- sets PREFECT_UI_URL
prefectUiUrl: ""
# -- sets PREFECT_UI_STATIC_DIRECTORY
prefectUiStaticDirectory: "/ui_build"
# see here for a full list of possible environment variables - https://docs.prefect.io/latest/api-ref/prefect/settings/
# -- array with environment variables to add to server deployment
env: []
## env:
## - name: PREFECT_API_ENABLE_HTTP2
## value: false
# -- the number of old ReplicaSets to retain to allow rollback
revisionHistoryLimit: 10
# Autoscaling configuration
# requests MUST be specified if using an HPA, otherwise the HPA will not know when to trigger a scale event
autoscaling:
# -- enable autoscaling for server
enabled: false
# -- minimum number of server replicas
minReplicas: 1
# -- maximum number of server replicas
maxReplicas: 100
# -- target CPU utilization percentage
targetCPU: 80
# -- target Memory utilization percentage
targetMemory: 80
# -- number of server replicas to deploy
replicaCount: 1
# requests MUST be specified if using an HPA, otherwise the HPA will not know when to trigger a scale event
resources:
# -- the requested resources for the server container
requests:
cpu: 500m
memory: 512Mi
# -- the requested limits for the server container
limits:
cpu: "1"
memory: 1Gi
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
enabled: false
config:
# -- The number of seconds to wait before starting the first probe.
initialDelaySeconds: 10
# -- The number of seconds to wait between consecutive probes.
periodSeconds: 10
# -- The number of seconds to wait for a probe response before considering it as failed.
timeoutSeconds: 5
# -- The number of consecutive failures allowed before considering the probe as failed.
failureThreshold: 3
# -- The minimum consecutive successes required to consider the probe successful.
successThreshold: 1
readinessProbe:
enabled: false
config:
# -- The number of seconds to wait before starting the first probe.
initialDelaySeconds: 10
# -- The number of seconds to wait between consecutive probes.
periodSeconds: 10
# -- The number of seconds to wait for a probe response before considering it as failed.
timeoutSeconds: 5
# -- The number of consecutive failures allowed before considering the probe as failed.
failureThreshold: 3
# -- The minimum consecutive successes required to consider the probe successful.
successThreshold: 1
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
podSecurityContext:
# -- set server pod's security context runAsUser
runAsUser: 1001
# -- set server pod's security context runAsNonRoot
runAsNonRoot: true
# -- set server pod's security context fsGroup
fsGroup: 1001
# -- set server pod's seccomp profile
seccompProfile:
type: RuntimeDefault
# -- in case of Localhost value in seccompProfile.type, set seccompProfile.localhostProfile value below
# localhostProfile: /my-path.json
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
containerSecurityContext:
# -- set server containers' security context runAsUser
runAsUser: 1001
# -- set server containers' security context runAsNonRoot
runAsNonRoot: true
# -- set server containers' security context readOnlyRootFilesystem
readOnlyRootFilesystem: true
# -- set server containers' security context allowPrivilegeEscalation
allowPrivilegeEscalation: false
# -- set server container's security context capabilities
capabilities: {}
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# -- extra labels for server pod
podLabels: {}
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# -- extra annotations for server pod
podAnnotations: {}
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
# -- affinity for server pods assignment
affinity: {}
## ref: https://kubernetes.io/docs/user-guide/node-selection/
# -- node labels for server pods assignment
nodeSelector: {}
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
# -- tolerations for server pods assignment
tolerations: []
# -- name of existing ConfigMap containing extra env vars to add to server nodes
extraEnvVarsCM: ""
# -- name of existing Secret containing extra env vars to add to server nodes
extraEnvVarsSecret: ""
# -- additional sidecar containers
extraContainers: []
# -- array with extra volumes for the server pod
extraVolumes: []
# -- array with extra volumeMounts for the server pod
extraVolumeMounts: []
# -- array with extra Arguments for the server container to start with
extraArgs: []
## Background Services Deployment Configuration
backgroundServices:
# https://github.com/PrefectHQ/prefect/tree/main/src/prefect/server/services
# This can help with:
# - Separate scaling of web server and background services
# - Independent connection pools for better database management
# - More granular monitoring and resource control
# - Run background services (like scheduling) in a separate deployment.
runAsSeparateDeployment: false
# ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
# -- priority class name to use for the background-services pods; if the priority class is empty or doesn't exist, the background-services pods are scheduled without a priority class
priorityClassName: ""
# -- enable background-services debug mode
debug: false
# sets PREFECT_LOGGING_SERVER_LEVEL
loggingLevel: WARNING
# see here for a full list of possible environment variables - https://docs.prefect.io/latest/api-ref/prefect/settings/
# -- array with environment variables to add to background-services container
env: []
## env:
## - name: PREFECT_API_ENABLE_HTTP2
## value: false
# -- the number of old ReplicaSets to retain to allow rollback
revisionHistoryLimit: 10
resources:
# -- the requested resources for the background-services container
requests:
cpu: 500m
memory: 512Mi
# -- the requested limits for the background-services container
limits:
cpu: "1"
memory: 1Gi
# ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
enabled: false
config:
# -- The number of seconds to wait before starting the first probe.
initialDelaySeconds: 10
# -- The number of seconds to wait between consecutive probes.
periodSeconds: 10
# -- The number of seconds to wait for a probe response before considering it as failed.
timeoutSeconds: 5
# -- The number of consecutive failures allowed before considering the probe as failed.
failureThreshold: 3
# -- The minimum consecutive successes required to consider the probe successful.
successThreshold: 1
readinessProbe:
enabled: false
config:
# -- The number of seconds to wait before starting the first probe.
initialDelaySeconds: 10
# -- The number of seconds to wait between consecutive probes.
periodSeconds: 10
# -- The number of seconds to wait for a probe response before considering it as failed.
timeoutSeconds: 5
# -- The number of consecutive failures allowed before considering the probe as failed.
failureThreshold: 3
# -- The minimum consecutive successes required to consider the probe successful.
successThreshold: 1
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod
podSecurityContext:
# -- set background-services pod's security context runAsUser
runAsUser: 1001
# -- set background-services pod's security context runAsNonRoot
runAsNonRoot: true
# -- set background-services pod's security context fsGroup
fsGroup: 1001
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
containerSecurityContext:
# -- set background-services containers' security context runAsUser
runAsUser: 1001
# -- set background-services containers' security context runAsNonRoot
runAsNonRoot: true
# -- set background-services containers' security context readOnlyRootFilesystem
readOnlyRootFilesystem: true
# -- set background-services containers' security context allowPrivilegeEscalation
allowPrivilegeEscalation: false
# -- set background-services container's security context capabilities
capabilities: {}
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
# -- extra labels for background-services pod
podLabels: {}
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
# -- extra annotations for background-services pod
podAnnotations: {}
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
# -- affinity for background-services pod assignment
affinity: {}
## ref: https://kubernetes.io/docs/user-guide/node-selection/
# -- node labels for background-services pod assignment
nodeSelector: {}
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
# -- tolerations for background-services pod assignment
tolerations: []
# -- name of existing ConfigMap containing extra env vars to add to background-services pod
extraEnvVarsCM: ""
# -- name of existing Secret containing extra env vars to add to background-services pod
extraEnvVarsSecret: ""
# -- additional sidecar containers
extraContainers: []
# -- array with extra volumes for the background-services pod
extraVolumes: []
# -- array with extra volumeMounts for the background-services pod
extraVolumeMounts: []
## Background Services Service Account configuration
serviceAccount:
# -- specifies whether a service account should be created
create: true
# -- the name of the service account to use. if not set and create is true, a name is generated using the common.names.fullname template with "-background-services" appended
name: ""
# -- additional service account annotations (evaluated as a template)
annotations: {}
## Server Service Account configuration
serviceAccount:
# -- specifies whether a service account should be created
create: true
# -- the name of the service account to use. if not set and create is true, a name is generated using the common.names.fullname template
name: ""
# -- additional service account annotations (evaluated as a template)
annotations: {}
## Service configuration
service:
# -- service port
port: 4200
# -- target port of the server pod; also sets PREFECT_SERVER_API_PORT
targetPort: 4200
# -- service port if defining service as type nodeport
nodePort: ""
extraPorts: []
# # example extra ports
# - name: sample-svc-port
# # -- service port
# port: 8080
# # -- target port
# targetPort: 8080
# # -- service port if defining service as type nodeport
# nodePort: ""
# -- service type
type: ClusterIP
# -- service Cluster IP
clusterIP: ""
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
# -- service external traffic policy
externalTrafficPolicy: Cluster
## -- additional custom annotations for server service
annotations: {}
# Ingress configuration
ingress:
# -- enable ingress record generation for server
enabled: false
# -- port for the ingress' main path
servicePort: server-svc-port
## This is supported in Kubernetes 1.18+ and required if you have more than one IngressClass marked as the default for your cluster .
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
# -- IngressClass that will be used to implement the Ingress (Kubernetes 1.18+)
className: ""
host:
# -- default host for the ingress record
hostname: prefect.local
# -- default path for the ingress record
path: /
# -- ingress path type
pathType: ImplementationSpecific
## Use this parameter to set the required annotations for cert-manager, see
## ref: https://cert-manager.io/docs/usage/ingress/#supported-annotations
# -- additional annotations for the Ingress resource. To enable certificate autogeneration, place here your cert-manager annotations.
annotations: {}
## annotations:
## kubernetes.io/ingress.class: nginx
## cert-manager.io/cluster-issuer: cluster-issuer-name
## TLS certificates will be retrieved from a TLS secret with name: `{{- printf "%s-tls" .Values.ingress.host.hostname }}`
## You can:
## - Create this secret manually within your cluster
## - Rely on cert-manager to create it by setting the corresponding annotations
## - Rely on Helm to create self-signed certificates by setting `ingress.selfSigned=true`
# -- enable TLS configuration for the host defined at `ingress.host.hostname` parameter
tls: false
# -- create a TLS secret for this ingress record using self-signed certificates generated by Helm
selfSigned: false
# -- an array with additional hostname(s) to be covered with the ingress record
extraHosts: []
## extraHosts:
## - name: server.local
## path: /
# -- an array with additional arbitrary paths that may need to be added to the ingress under the main host
extraPaths: []
## extraPaths:
## - path: /*
## backend:
## serviceName: ssl-redirect
## servicePort: use-annotation
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
# -- an array with additional tls configuration to be added to the ingress record
extraTls: []
## extraTls:
## - hosts:
## - server.local
## secretName: server.local-tls
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
# -- additional rules to be covered with this ingress record
extraRules: []
## extraRules:
## - host: example.local
## http:
## path: /
## backend:
## service:
## name: example-svc
## port:
## name: http
# Secret configuration
secret:
# -- whether to create a Secret containing the PostgreSQL connection string
create: true
# -- name for the Secret containing the PostgreSQL connection string
# To provide an existing Secret, provide a name and set `create=false`
name: ""
# -- username for the PostgreSQL connection string
username: ""
# -- password for the PostgreSQL connection string
password: ""
# -- host for the PostgreSQL connection string
host: ""
# -- port for the PostgreSQL connection string
port: ""
# -- database for the PostgreSQL connection string
database: ""
# SQLite configuration
# Recommended for lightweight, single-server deployments.
sqlite:
# -- enable use of the embedded SQLite database
enabled: false
persistence:
# -- enable SQLite data persistence using PVC
enabled: true
# -- size for the PVC
size: 1Gi
# -- storage class name for the PVC
storageClassName: ""
# PostgreSQL subchart - default overrides
postgresql:
# -- enable use of bitnami/postgresql subchart
enabled: true
auth:
# -- determines whether an admin user is created within postgres
enablePostgresUser: false
# -- name for a custom database
database: server
# -- name for a custom user
username: prefect
## This is the password for `username` and will be set within the secret `{fullnameOverride}-postgresql` at the key `password`.
## This argument is only relevant when using the Postgres database included in the chart.
## For an external postgres connection, you must create and use `existingSecret` instead.
# -- password for the custom user. Ignored if `auth.existingSecret` with key `password` is provided
password: prefect-rocks
## Initdb configuration
## ref: https://github.com/bitnami/containers/tree/main/bitnami/postgresql#specifying-initdb-arguments
primary:
initdb:
# -- specify the PostgreSQL username to execute the initdb scripts
user: postgres
## persistence enables a PVC that stores the database between deployments. If making changes to the database deployment, this
## PVC will need to be deleted for database changes to take effect. This is especially notable when the authentication password
## changes on redeploys. This is disabled by default because we do not recommend using the subchart deployment for production deployments.
persistence:
# -- enable PostgreSQL Primary data persistence using PVC
enabled: false
image:
# -- Version tag, corresponds to tags at https://hub.docker.com/r/bitnami/postgresql/
tag: 14.13.0