forked from SAP/machine-learning-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
226 lines (209 loc) · 6.53 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
# Default values for machine-learning-lab.
# General ML Lab configuration
labConfig:
# Prefix to add to the ML Lab API endpoints. Useful if ML Lab is served behind a reverse proxy on a subpath
baseUrlPrefix: ""
# Configure an external Open ID Connect (OIDC) provider for passwordless login
externalOIDC:
# Enable OIDC login (by default only username + password is possible)
enabled: false
# The domain under which the ML Lab deployment is externally accessible. This is required for the OIDC
# login to construct the callback URL.
# domain: "ml-lab.local"
domain: ""
# Client id used for requestion user information
clientId: "" #
# Client secret used for requestion user information
clientSecret: ""
# URL of the OIDC provider that a user who wants to login should be redirected to
authUrl: ""
# URL of the OIDC provider that can be used to request a JWT token for a user
tokenUrl: ""
# If set to true, users can register themselves whith a new username and password or login directly via OIDC
# If set to false, an admin needs to create the user manually first (using the email for OIDC)
allowSelfRegistration: true
# Terms of service text shown to the user on the login page
tosText: ""
# Text that is shown in the upload dialog. Can be used to remind the user if specific (confidential) files must not be uploaded.
uploadNote: ""
# Hide deployment ui (services and jobs)
hideDeployments: false
# Enable debug mode of ML Lab
debug: false
# Number of gunicorn server processes used for the backend
numServerProcesses: 3
# Time in minutes for which a service session token is valid
sessionTokenExpiryMinutes: 15 # 15 minutes
# Time in seconds between check for idle services
serviceIdleCheckInterval: 1200 # 20 minutes
# Configuration of the ML Lab backend
labBackend:
# Image used for the ml lab backend
image:
repository: "ghcr.io/sap/machine-learning-lab/lab-backend"
tag: "latest"
pullPolicy: IfNotPresent
# Resource requirements of the backend deployment
resources:
limits:
cpu: 1000m
memory: 3Gi
requests:
cpu: 100m
memory: 1Gi
# Other Kubernetes pod configurations
nodeSelector: {}
tolerations: []
podAnnotations: {}
podSecurityContext: {}
containerSecurityContext: {}
imagePullSecrets: []
# Service configuration for the backend deployment
service:
type: ClusterIP
port: 8080
sshPort: 22
# Ingress configuration for external access to the backend
ingress:
enabled: false
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
hosts:
- host: chart-example.local
paths:
- path: "/"
pathType: Prefix
# Configuration of the integrated ML Lab Postgres DB
# If you want to use an external Postgres DB, disable this component
integratedPostgres:
enabled: True
# Postgres image to use
image:
repository: "postgres"
tag: "14.2"
pullPolicy: IfNotPresent
# Resources required for the Postgres deployment
resources:
limits:
cpu: 1000m
memory: 3Gi
requests:
cpu: 100m
memory: 1Gi
# Size of the persisten volume used for the DB data
storageSize: "10Gi"
# Storage class to use for the volume
storageClassName: ""
# Service configuration for the postgres deployment
service:
type: ClusterIP
port: 5432
# Other Kubernetes pod configurations
nodeSelector: {}
affinity: {}
tolerations: []
podAnnotations: {}
podSecurityContext: {}
containerSecurityContext: {}
imagePullSecrets: []
# Instead of the integrated Postgres DB an external one can be configured
externalPostgres:
enabled: False
# Host name of the Postgres instance
host: ""
# Port of the Postgres instance
port: 5432
# Name of the database to use on the postgres instance
dbName: "postgres"
# Configuration of the integrated ML Lab Minio DB
# If you want to use an external file storage, disable this component
integratedMinioStorage:
enabled: True
# Minio image to use
image:
repository: "minio/minio"
tag: "RELEASE.2021-03-04T00-53-13Z"
pullPolicy: IfNotPresent
# Resources required for the Minio deployment
resources:
limits:
cpu: 1000m
memory: 3Gi
requests:
cpu: 100m
memory: 1Gi
# Size of the persisten volume used for the DB data
storageSize: "5Gi"
# Storage class to use for the volume
storageClassName: ""
# Service configuration for the minio deployment
service:
type: ClusterIP
port: 9000
# Other Kubernetes pod configurations
nodeSelector: {}
affinity: {}
tolerations: []
podAnnotations: {}
podSecurityContext: {}
containerSecurityContext: {}
imagePullSecrets: []
# Instead of the integrated Minio DB an external S3 file storage can be
externalS3Storage:
enabled: False
url: ""
# Instead of the integrated Minio DB an external Azure blob storage
externalAzureBlobStorage:
enabled: False
connectionString: ""
# Configuration of the workspace manager component
workspaceManager:
# Set to false if you don't need the workspace manager component
enabled: True
################################################################################
# Workspace Configuration
################################################################################
env:
WORKSPACE_MEMORY_MB_DEFAULT: "1000"
WORKSPACE_MEMORY_MB_MAX: "8000"
WORKSPACE_MEMORY_MB_OPTIONS: "1000,2000,4000,8000"
WORKSPACE_CPUS_DEFAULT: "1"
WORKSPACE_CPUS_MAX: "4"
WORKSPACE_CPUS_OPTIONS: "1,2,3,4"
WORKSPACE_IDLE_TIMEOUT_DEFAULT: "0"
WORKSPACE_IDLE_TIMEOUT_OPTIONS: "0,3600,7200,14400,28800"
WORKSPACE_ALWAYS_CLEAR_VOLUME_ON_STOP: "false"
WORKSPACE_VOLUME_SIZE: "5000"
WORKSPACE_CONTAINER_SIZE: "5000"
################################################################################
# Deployment Configuration
################################################################################
image:
repository: "ghcr.io/sap/machine-learning-lab/lab-workspace-manager"
tag: "latest"
pullPolicy: IfNotPresent
# Resources required
resources:
limits:
cpu: 1000m
memory: 2Gi
requests:
cpu: 100m
memory: 500Mi
# Service configuration
service:
type: ClusterIP
port: 8080
# Other Kubernetes pod configurations
nodeSelector: {}
affinity: {}
tolerations: []
podAnnotations: {}
podSecurityContext: {}
containerSecurityContext: {}
imagePullSecrets: []