forked from deployKF/deployKF
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-values.yaml
648 lines (556 loc) · 24.5 KB
/
sample-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
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
##
##
## This file is intended to be a base for your deployKF values.
## You may either copy and modify it, or include it as a base before your own overrides.
## For an example of overrides, see the 'sample-values-overrides.yaml' in the main repo.
##
## Differences from 'default_values.yaml':
## - all tools are enabled
## - secrets are randomly generated at install
##
## Notes:
## - YAML maps are RECURSIVELY merged across values files
## - YAML lists are REPLACED in their entirety across values files
## - Do NOT include empty/null sections, as this will remove ALL values from that section.
## To include a section without overriding any values, set it to an empty map: `{}`
## - We don't show all sections/values, only those which are commonly overridden.
## The full list is available at https://www.deploykf.org/reference/deploykf-values/
##
##
## --------------------------------------------------------------------------------
##
## argocd
##
## --------------------------------------------------------------------------------
argocd:
## a prefix to use for argocd application names
## - allows a single instance of argocd to manage deployKF across multiple clusters
## - if non-empty, `argocd.destination` must be a remote cluster, this is because
## a single cluster can only have one instance of deployKF
##
appNamePrefix: ""
## the namespace in which argocd is deployed
##
namespace: argocd
## the project used for deployKF argocd applications
##
project: default
## the source used for deployKF argocd applications
##
source:
## configs specifying the git repo which contains your generated manifests
##
repo:
## the URL of your manifest git repo
## - for example, if you are using a GitHub repo named 'deployKF/examples', you might set this value
## to "https://github.com/deployKF/examples" or "[email protected]:deployKF/examples.git"
##
url: ""
## the git revision which contains your generated manifests
## - for example, if you are using the 'main' branch of your repo, you might set this value to "main"
##
revision: ""
## the path within your repo where the generated manifests are stored
## - for example, if you are using a folder named 'GENERATOR_OUTPUT' at the root of your repo,
## you might set this value to "./GENERATOR_OUTPUT/"
##
path: ""
## the destination used for deployKF argocd applications
## - the value of `destination.name` takes precedence over `destination.server`
##
destination:
server: https://kubernetes.default.svc
name: ""
## --------------------------------------------------------------------------------
##
## deploykf-dependencies
##
## --------------------------------------------------------------------------------
deploykf_dependencies:
## --------------------------------------
## cert-manager
## --------------------------------------
cert_manager:
enabled: true
namespace: cert-manager
## extra manifests
## - a list of strings containing extra Kubernetes resource manifests
## - strings can include deployKF templates `{{< ... >}}` and Helm templates `{{ ... }}`
##
extraManifests: []
## istio gateway certificate issuer configs
## - if you wish to use your own ClusterIssuer, set `clusterIssuer.enabled` to false
## and set `clusterIssuer.issuerName` to the name of your issuer, (this still works when you
## bring your own cert-manager deployment by setting `cert_manager.enabled` to false)
##
clusterIssuer:
enabled: true
issuerName: deploykf-gateway-issuer
## --------------------------------------
## istio
## --------------------------------------
istio:
enabled: true
namespace: istio-system
## --------------------------------------
## kyverno
## --------------------------------------
kyverno:
enabled: true
namespace: kyverno
## --------------------------------------------------------------------------------
##
## deploykf-core
##
## --------------------------------------------------------------------------------
deploykf_core:
## --------------------------------------
## deploykf-auth
## --------------------------------------
deploykf_auth:
namespace: deploykf-auth
## dex configs
##
dex:
## dex static passwords
## - a list of users to create in dex's built-in password database
## - each element is a map with keys `email` and `password`,
## the `password` is a map with the following keys:
## - `value`: the password value
## - `existingSecret`: the name of a kubernetes secret containing the password (overrides `value`)
## - `existingSecretKey`: the key in the secret that contains the password
## - `type`: how the password is provided (default: "plain")
## - "plain": the password is provided as plain text
## - "hash": the password is provided as a bcrypt hash
## - a bcrypt hash for "PASSWORD_STRING" can be generated with one of the following:
## - echo "PASSWORD_STRING" | htpasswd -BinC 10 NULL | cut -d: -f2
## - python -c 'import bcrypt; print(bcrypt.hashpw(b"PASSWORD_STRING", bcrypt.gensalt(10)).decode())'
##
#staticPasswords:
# - email: "[email protected]"
# password:
# value: "user1"
# - email: "[email protected]"
# password:
# value: "user2"
## dex connectors
## - dex connectors which allow bridging trust to external identity providers
## https://dexidp.io/docs/connectors/
## - not all connector types support refresh tokens, notably "SAML 2.0" and "OAUTH 2.0" do not
## however, most providers support "OpenID Connect" which does support refresh tokens
## without refresh tokens, users will be forced to re-authenticate every `expiry.idToken` period
## - each element is a map with keys `type`, `id`, `name`, and `config` (which are the same aas upstream dex)
## additionally, `configExistingSecret` and `configExistingSecretKey` allow you to set `config`
## from a YAML-formatted string in a kubernetes secret
## - in most cases `config.redirectURI` will be set to "https://{DEPLOYKF_HOST}/dex/callback" (if port is 443)
##
connectors: []
## dex OpenID Connect clients
##
clients:
## OpenID client for oauth2-proxy (deployKF Dashboard)
oauth2Proxy:
clientId: "oauth2-proxy"
clientSecret:
existingSecret: "generated--dex-oauth2-proxy-client"
existingSecretKey: "client_secret"
generateSecret: true
## OpenID client for Minio Console
minioConsole:
clientId: "minio-console"
clientSecret:
existingSecret: "generated--dex-minio-console-client"
existingSecretKey: "client_secret"
generateSecret: true
## OpenID client for Argo Server
argoServer:
clientId: "argo-server"
clientSecret:
existingSecret: "generated--dex-argo-server-client"
existingSecretKey: "client_secret"
generateSecret: true
## oauth2-proxy configs
##
oauth2Proxy:
## oauth2-proxy cookie configs
##
cookie:
secret:
existingSecret: "generated--oauth2-proxy-cookie-secret"
existingSecretKey: "cookie_secret"
generateSecret: true
## --------------------------------------
## deploykf-dashboard
## --------------------------------------
deploykf_dashboard:
namespace: deploykf-dashboard
## --------------------------------------
## deploykf-istio-gateway
## --------------------------------------
deploykf_istio_gateway:
namespace: deploykf-istio-gateway
## extra manifests
## - a list of strings containing extra Kubernetes resource manifests
## - strings can include deployKF templates `{{< ... >}}` and Helm templates `{{ ... }}`
##
extraManifests: []
## istio gateway configs
##
gateway:
## the hostname that the gateway will listen on
## - subdomains of this hostname may also be used, depending on which apps are enabled
##
hostname: deploykf.example.com
## the ports that the gateway will listen on
## - these are the "internal" ports which the gateway use, and can be different
## to the user-facing ports which the service listens on, see `gatewayService.ports`
##
ports:
http: 8080
https: 8443
## the pod labels used by the gateway to find the ingress gateway deployment
##
selectorLabels:
app: deploykf-gateway
istio: deploykf-gateway
## istio gateway deployment configs
##
gatewayDeployment:
serviceAccount:
name: deploykf-gateway
annotations: {}
## istio gateway service configs
##
gatewayService:
name: deploykf-gateway
annotations: {}
type: LoadBalancer
## --------------------------------------
## deploykf-profiles-generator
## --------------------------------------
deploykf_profiles_generator:
## profile defaults
##
profileDefaults:
## a common prefix to add to all profile names
##
profileNamePrefix: ""
## the default access for members of profiles, when not explicitly specified
## - `role`: the Kubernetes RBAC role to bind to the user in the profile namespace
## - "edit": binds "ClusterRole/kubeflow-edit" (can view/create/delete resources)
## - "view": binds "ClusterRole/kubeflow-view" (cam view resources)
## - `notebooksAccess`: if the user can ~connect~ to kubeflow notebooks in the profile
## note, the ability to create/delete notebook resources is controlled by `role`
##
memberAccess:
role: view
notebooksAccess: false
## the default list of plugins for profiles, when not explicitly specified
## - each entry is a map with the following keys:
## - `kind`: the kind of plugin
## - "AwsIamForServiceAccount": manages AWS IRSA for the profile namespace
## - "WorkloadIdentity": manages GCP WorkloadIdentity for the profile namespace
## - `spec`: a map of plugin-specific configurations
## - spec for AwsIamForServiceAccount:
## https://github.com/kubeflow/kubeflow/blob/v1.7.0/components/profile-controller/controllers/plugin_iam.go#L30
## - spec for WorkloadIdentity:
## https://github.com/kubeflow/kubeflow/blob/v1.7.0/components/profile-controller/controllers/plugin_workload_identity.go#L39
## - override these defaults for a specific profile by setting `plugins` in that profile,
## to disable all plugins for that profile, set an empty list `[]`
##
plugins: []
## the default resource quota for profiles, when not explicitly specified
## - spec for ResourceQuotaSpec:
## https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.25/#resourcequotaspec-v1-core
## - override these defaults for a specific profile by setting `resourceQuotaSpec` in that profile,
## to disable resource quotas for that profile, set an empty map `{}`
##
resourceQuotaSpec: {}
## the default tool configs for profiles
##
tools:
## the default Kubeflow Pipelines configs for profiles
##
kubeflowPipelines:
## the default Kubeflow Pipelines object store auth configs for profiles
## - the behaviour of these configs depends on `kubeflow_tools.kubeflow_pipelines.objectStore`
## - override these defaults for a specific profile by setting `tools.kubeflowPipelines.objectStoreAuth` in that profile
##
objectStoreAuth:
existingSecret: "kubeflow-pipelines--profile-object-store-auth--{profile_name}"
existingSecretNamespace: ""
existingSecretAccessKeyKey: "access_key"
existingSecretSecretKeyKey: "secret_key"
## user entities
## - a list of users that can be referenced when defining profile members
## - each element is a map with the following keys:
## - `id`: a unique identifier for the user
## - `email`: the email of the user (must exactly match the email from your identity provider)
##
#users:
# - id: user-1
# email: "[email protected]"
# - id: user-2
# email: "[email protected]"
## group entities
## - a list of groups that can be referenced when defining profile members
## - each element is a map with the following keys:
## - `id`: a unique identifier for the group
## - `users`: a list of user IDs that are members of the group
##
#groups:
# - id: team-1
# users:
# - user-1
# - user-2
## profile definitions
## - a list of profile definitions to be generated
## - each element is a map with the following keys:
## - `name`: the name of the profile (must be unique)
## note, the name of a profile is also its namespace name
## - `members`: a list of members and their access to this profile (default: [])
## note, if a user appears in multiple memberships, the most permissive access is used
## each element is a map with the following keys:
## - `user`: the ID of a user (mutually exclusive with `group`)
## - `group`: the ID of a group (mutually exclusive with `user`)
## - `access`: a map with configs for this member's access to the profile:
## - `role`: the Kubernetes RBAC role to bind to the user (default: `profileDefaults.memberAccess.role`)
## - `notebooksAccess`: if the user can ~connect~ to kubeflow notebooks (default: `profileDefaults.memberAccess.notebooksAccess`)
## - `plugins`: the list of plugins for this profile (default: `profileDefaults.plugins`)
## - `resourceQuotaSpec`: the resource quota for this profile (default: `profileDefaults.resourceQuotaSpec`)
## - `tools`: a map with configs for tools:
## - `kubeflowPipelines`: a map with configs for Kubeflow Pipelines:
## - `objectStoreAuth`: a map with configs for object store auth (default: `profileDefaults.tools.kubeflowPipelines.objectStoreAuth`)
## - `existingSecret`: the name of an existing kubernetes secret
## - `existingSecretNamespace`: the namespace containing the kubernetes secret (default: namespace of this profile)
## - `existingSecretAccessKeyKey`: the key within the secret that contains the access-key (default: "access_key")
## - `existingSecretSecretKeyKey`: the key within the secret that contains the secret-key (default: "secret_key")
##
#profiles:
# - name: team-1
# members:
# - group: team-1
# access:
# role: edit
# notebooksAccess: true
#
# - name: team-1-prod
# members:
# - group: team-1
# access:
# role: view
# notebooksAccess: false
## --------------------------------------------------------------------------------
##
## deploykf-opt
##
## --------------------------------------------------------------------------------
deploykf_opt:
## --------------------------------------
## deploykf-minio
## --------------------------------------
deploykf_minio:
enabled: true
namespace: deploykf-minio
## root user configs for minio
##
rootUser:
existingSecret: "generated--deploykf-minio-root-user"
existingSecretUsernameKey: "username"
existingSecretPasswordKey: "password"
generateSecret: true
## service accounts for the root user
## - these service accounts are created and/or updated by a post-install job
## - each element in the list is a map with the following fields:
## - `accessKey`: the access-key for the service account
## - `secretKey`: the secret-key for the service account
## - `existingSecret`: the name of an existing secret containing the access & secret keys
## - `existingSecretAccessKeyKey`: the key in the secret containing the access-key (default: "access_key")
## - `existingSecretSecretKeyKey`: the key in the secret containing the secret-key (default: "secret_key")
## - `generateSecret`: if true, random keys are generated and stored in `existingSecret` (default: false)
## note, `existingSecret` must be set to a unique value for each service account
## note, the job will fail if the secret already exists in the cluster
## - `policy`: the minio policy document as a YAML map, ~not a string~ (default: empty/root-access)
## https://min.io/docs/minio/container/administration/identity-access-management/policy-based-access-control.html
## - [WARNING] if a `policy` is not specified, the service account will have root access
## - [WARNING] unlisted minio service accounts will be removed from minio
## - [WARNING] unlisted kubernetes secrets with this label will be removed from the cluster:
## "deploykf-minio.deploykf.org/generated-minio-root-service-account: true"
##
serviceAccounts: []
## minio buckets
## - these buckets are created and/or updated by a post-install job
## - each element is a map with the following keys:
## - `name`: the name of the bucket
## - `versioning`: the name of the policy to apply to the bucket
## - if Kubeflow Pipelines is enabled, a bucket named `kubeflow_tools.pipelines.bucket.name`
## is automatically added to this list, with `versioning` disabled
##
buckets: []
## minio access policies
## - [WARNING] existing policies that have "@" in their name will be removed from minio if they are not listed here
## - these policies are created and/or updated by a post-install job
## - each element is a map with the following keys:
## - `name`: the name of the policy
## - `policy`: the minio policy document as a YAML map, ~not a string~
## https://min.io/docs/minio/container/administration/identity-access-management/policy-based-access-control.html
## - if Kubeflow Pipelines is enabled, and `identity.openid.policyClaim` is set to "email",
## policies are automatically generated for each user based on their `access.role` in each profile
##
policies: []
## --------------------------------------
## deploykf-mysql
## --------------------------------------
deploykf_mysql:
enabled: true
namespace: deploykf-mysql
## configs for the "root@localhost" mysql user
## - these credentials are used by the liveness probes
## - as this is "root@localhost", these credentials can only be used from within the pod
##
rootUser:
existingSecret: "generated--deploykf-mysql-root-user"
existingSecretPasswordKey: "password"
generateSecret: true
## configs for the kubeflow mysql user
## - if a Kubeflow app requires MySQL and is not configured to use an external database,
## it will use these credentials
##
kubeflowUser:
existingSecret: "generated--deploykf-mysql-kubeflow-user"
existingSecretUsernameKey: "username"
existingSecretPasswordKey: "password"
generateSecret: true
## --------------------------------------------------------------------------------
##
## kubeflow-dependencies
##
## --------------------------------------------------------------------------------
kubeflow_dependencies:
## --------------------------------------
## kubeflow-argo-workflows
## --------------------------------------
kubeflow_argo_workflows:
enabled: true
namespace: kubeflow-argo-workflows
## --------------------------------------------------------------------------------
##
## kubeflow-tools
##
## --------------------------------------------------------------------------------
kubeflow_tools:
## --------------------------------------
## katib
## --------------------------------------
katib:
enabled: true
## mysql connection configs
## - if `useExternal` is true, katib will use the specified external mysql database
## - if `useExternal` is false, katib will use the embedded `deploykf_opt.deploykf_mysql` database,
## and all other configs will be ignored
##
mysql:
useExternal: false
host: "mysql.example.com"
port: 3306
auth:
username: kubeflow
password: password
existingSecret: ""
existingSecretUsernameKey: "username"
existingSecretPasswordKey: "password"
## mysql database name
##
mysqlDatabase: katib
## --------------------------------------
## notebooks
## --------------------------------------
notebooks:
enabled: true
## notebook spawner configs
## - these configs directly become the `spawner_ui_config.yaml` in the jupyter-web-app
##
spawnerFormDefaults: {}
## --------------------------------------
## pipelines
## --------------------------------------
pipelines:
enabled: true
## storage bucket configs
##
bucket:
name: kubeflow-pipelines
region: ""
## object store configs
## - if `useExternal` is true, pipelines will use the specified external object store
## - if `useExternal` is false, pipelines will use the embedded `deploykf_opt.deploykf_minio` object store,
## and all other configs will be ignored
##
objectStore:
useExternal: false
host: s3.amazonaws.com
port: ""
useSSL: true
## object store auth configs
## - https://www.deploykf.org/guides/external/object-store/#connect-an-external-object-store
##
auth:
fromEnv: false
accessKey: my-access-key
secretKey: my-secret-key
existingSecret: ""
existingSecretAccessKeyKey: "AWS_ACCESS_KEY_ID"
existingSecretSecretKeyKey: "AWS_SECRET_ACCESS_KEY"
## mysql connection configs
## - if `useExternal` is true, pipelines will use the specified external mysql database
## - if `useExternal` is false, pipelines will use the embedded `deploykf_opt.deploykf_mysql` database,
## and all other configs will be ignored
##
mysql:
useExternal: false
host: "mysql.example.com"
port: 3306
auth:
username: kubeflow
password: password
existingSecret: ""
existingSecretUsernameKey: "username"
existingSecretPasswordKey: "password"
## mysql database names
##
mysqlDatabases:
cacheDatabase: kfp_cache
metadataDatabase: kfp_metadata
pipelinesDatabase: kfp_pipelines
## profile resource generation configs
##
profileResourceGeneration:
## if a PodDefault named "kubeflow-pipelines-api-token" should be generated in each profile namespace
## - the generated PodDefault will mount a serviceAccountToken volume which can be used to authenticate
## with the Kubeflow Pipelines API on Pods which have a `kubeflow-pipelines-api-token` label with value "true"
## - for more information, see the "Full Kubeflow (from inside cluster)" section of the following page:
## https://www.kubeflow.org/docs/components/pipelines/v1/sdk/connect-api/
## - the PodDefault will NOT be generated if `kubeflow_tools.poddefaults_webhook.enabled` is false,
## regardless of this setting
##
kfpApiTokenPodDefault: false
## --------------------------------------
## poddefaults-webhook
## --------------------------------------
poddefaults_webhook:
enabled: true
## --------------------------------------
## tensorboards
## --------------------------------------
tensorboards:
enabled: true
## --------------------------------------
## training-operator
## --------------------------------------
training_operator:
enabled: true
## --------------------------------------
## volumes
## --------------------------------------
volumes:
enabled: true