forked from opendatahub-io/data-science-pipelines-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dspa_all_fields.yaml
236 lines (236 loc) · 7.44 KB
/
dspa_all_fields.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
# This file should not be used to deploy a DataSciencePipelinesApplication
# It's main purpose is to show all possible fields that can be configured
# Note that you cannot specify all fields, some are mutually exclusive
# For example, you can only specify either a miniodb deployment or
# externalstorage connection, but not both
apiVersion: datasciencepipelinesapplications.opendatahub.io/v1alpha1
kind: DataSciencePipelinesApplication
metadata:
name: sample
namespace: data-science-project
spec:
dspVersion: v2
apiServer:
customKfpLauncherConfigMap: configmapname
deploy: true
enableSamplePipeline: true
image: quay.io/opendatahub/ds-pipelines-api-server:latest
argoLauncherImage: quay.io/org/kfp-launcher:latest
argoDriverImage: quay.io/org/kfp-driver:latest
resources:
requests:
cpu: 250m
memory: 500Mi
limits:
cpu: 500m
memory: 1Gi
CABundleFileMountPath: /your/certbundle/path.crt
CABundleFileName: certbundlefilename.crt
# requires this configmap to be created beforehand,
cABundle:
configMapKey: keyname
configMapName: configmapname
# requires this configmap to be created beforehand,
customServerConfigMap:
name: configmapname
key: keyname
# the following are v1 specific options in spec.apiServer.*
applyTektonCustomResource: true
archiveLogs: false
artifactImage: quay.io/opendatahub/ds-pipelines-artifact-manager:latest
cacheImage: registry.access.redhat.com/ubi8/ubi-minimal:8.8
moveResultsImage: busybox
injectDefaultScript: true
stripEOF: true
terminateStatus: Cancelled
trackArtifacts: true
dbConfigConMaxLifetimeSec: 120
collectMetrics: true
autoUpdatePipelineDefaultVersion: true
persistenceAgent:
deploy: true
image: quay.io/modh/odh-ml-pipelines-persistenceagent-container:v1.18.0-8
numWorkers: 2 # Number of worker for sync job.
resources:
requests:
cpu: 120m
memory: 500Mi
limits:
cpu: 250m
memory: 1Gi
scheduledWorkflow:
deploy: true
image: quay.io/modh/odh-ml-pipelines-scheduledworkflow-container:v1.18.0-8
cronScheduleTimezone: UTC
resources:
requests:
cpu: 120m
memory: 100Mi
limits:
cpu: 250m
memory: 250Mi
mlpipelineUI:
deploy: true
image: quay.io/opendatahub/odh-ml-pipelines-frontend-container:beta-ui
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
# requires this configmap to be created beforehandd
configMap: ds-pipeline-ui-configmap
# deploys an optional ML-Metadata Component
mlmd:
deploy: true
envoy:
image: quay.io/opendatahub/ds-pipelines-metadata-envoy:1.7.0
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
grpc:
image: quay.io/opendatahub/ds-pipelines-metadata-grpc:1.0.0
port: "8080"
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
workflowController:
deploy: true
image: quay.io/opendatahub/ds-pipelines-argo-workflowcontroller:3.3.10-upstream
argoExecImage: quay.io/opendatahub/ds-pipelines-argo-argoexec:3.3.10-upstream
customConfig: some-custom-workflowcontroller-configmap # see ../custom-workflow-controller-config for example
resources:
requests:
cpu: 120m
memory: 500Mi
limits:
cpu: 250m
memory: 1Gi
database:
disableHealthCheck: false
# possible values for tls: true, false, skip-verify
# this field can also be used to add other dsn parameters:
# https://github.com/go-sql-driver/mysql?tab=readme-ov-file#dsn-data-source-name
customExtraParams: |
{"tls":"true"}
mariaDB: # mutually exclusive with externalDB
deploy: true
image: registry.redhat.io/rhel8/mariadb-103:1-188
username: mlpipeline
pipelineDBName: randomDBName
pvcSize: 20Gi
storageClassName: nonDefaultSC
resources:
requests:
cpu: 300m
memory: 800Mi
limits:
cpu: "1"
memory: 1Gi
# requires this configmap to be created before hand,
# otherwise operator will not deploy DSPA
passwordSecret:
name: ds-pipelines-db-sample
key: password
externalDB:
host: mysql:3306
port: "8888"
username: root
pipelineDBName: randomDBName
passwordSecret:
name: somesecret
key: somekey
objectStorage:
disableHealthCheck: false
minio: # mutually exclusive with externalStorage
deploy: true
image: quay.io/opendatahub/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance
bucket: mlpipeline
pvcSize: 10Gi
storageClassName: nonDefaultSC
resources:
requests:
cpu: 200m
memory: 100Mi
limits:
cpu: 250m
memory: 1Gi
# requires this configmap to be created before hand,
# otherwise operator will not deploy DSPA
s3CredentialsSecret:
secretName: somesecret-sample
accessKey: AWS_ACCESS_KEY_ID
secretKey: AWS_SECRET_ACCESS_KEY
externalStorage:
host: minio.com
port: "9092"
bucket: mlpipeline
scheme: https
# subpath in bucket where objects should be stored
# for this dspa
basePath: some/path
s3CredentialsSecret:
secretName: somesecret-db-sample
accessKey: somekey
secretKey: somekey
# example status fields
status:
components:
mlmdProxy:
url: http://mlmd-proxy.svc.cluster.local
externalUrl: https://mlmd-proxy-dspa.example.com
apiServer:
url: http://apiserver.svc.cluster.local
externalUrl: https://apiserver-dspa.example.com
conditions:
- lastTransitionTime: '2024-03-14T22:04:25Z'
message: Database connectivity successfully verified
observedGeneration: 3
reason: DatabaseAvailable
status: 'True'
type: DatabaseAvailable
- lastTransitionTime: '2024-03-14T22:04:25Z'
message: Object Store connectivity successfully verified
observedGeneration: 3
reason: ObjectStoreAvailable
status: 'True'
type: ObjectStoreAvailable
- lastTransitionTime: '2024-03-14T22:06:37Z'
message: 'Component [ds-pipeline-test] is minimally available.'
observedGeneration: 3
reason: MinimumReplicasAvailable
status: 'True'
type: APIServerReady
- lastTransitionTime: '2024-03-14T22:04:28Z'
message: 'Component [ds-pipeline-persistenceagent-test] is minimally available.'
observedGeneration: 3
reason: MinimumReplicasAvailable
status: 'True'
type: PersistenceAgentReady
- lastTransitionTime: '2024-03-14T22:04:30Z'
message: 'Component [ds-pipeline-scheduledworkflow-test] is minimally available.'
observedGeneration: 3
reason: MinimumReplicasAvailable
status: 'True'
type: ScheduledWorkflowReady
- lastTransitionTime: '2024-03-14T22:04:30Z'
message: 'Component [ds-pipeline-metadata-envoy] is minimally available.'
observedGeneration: 3
reason: MinimumReplicasAvailable
status: 'True'
type: MLMDProxyReady
- lastTransitionTime: '2024-03-14T22:06:37Z'
message: All components are ready.
observedGeneration: 3
reason: MinimumReplicasAvailable
status: 'True'
type: Ready