-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #541 from hbelmiro/issue-498
Added samples for v2 and fixed v1 existing samples
- Loading branch information
Showing
30 changed files
with
453 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
# mlpipeline-minio-artifact.yaml is required due to https://issues.redhat.com/browse/RHOAIENG-1720 | ||
- mlpipeline-minio-artifact.yaml | ||
- dspa.yaml | ||
- db-creds.yaml | ||
- artifact_script.yaml | ||
- storage-creds.yaml | ||
- ui-configmap.yaml |
14 changes: 14 additions & 0 deletions
14
config/samples/v1/custom-configs/mlpipeline-minio-artifact.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: mlpipeline-minio-artifact | ||
labels: | ||
opendatahub.io/dashboard: 'true' | ||
opendatahub.io/managed: 'true' | ||
annotations: | ||
opendatahub.io/connection-type: s3 | ||
openshift.io/display-name: Minio Data Connection | ||
data: | ||
accesskey: QUtJQUlPU0ZPRE5ON0VYQU1QTEU= | ||
secretkey: d0phbHJYVXRuRkVNSS9LN01ERU5HL2JQeFJmaUNZRVhBTVBMRUtFWQ== | ||
type: Opaque |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
kind: Secret | ||
apiVersion: v1 | ||
metadata: | ||
name: testdbsecret | ||
labels: | ||
app: mariadb-sample | ||
component: data-science-pipelines | ||
stringData: | ||
password: "testingpassword" | ||
type: Opaque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
apiVersion: datasciencepipelinesapplications.opendatahub.io/v1alpha1 | ||
kind: DataSciencePipelinesApplication | ||
metadata: | ||
name: sample | ||
spec: | ||
dspVersion: v2 | ||
apiServer: | ||
deploy: true | ||
image: gcr.io/ml-pipeline/api-server:2.0.2 | ||
stripEOF: true | ||
terminateStatus: Cancelled | ||
trackArtifacts: true | ||
dbConfigConMaxLifetimeSec: 120 | ||
collectMetrics: true | ||
autoUpdatePipelineDefaultVersion: true | ||
resources: | ||
requests: | ||
cpu: 250m | ||
memory: 500Mi | ||
limits: | ||
cpu: 500m | ||
memory: 1Gi | ||
persistenceAgent: | ||
deploy: true | ||
image: gcr.io/ml-pipeline/persistenceagent:2.0.2 | ||
numWorkers: 2 | ||
resources: | ||
requests: | ||
cpu: 120m | ||
memory: 500Mi | ||
limits: | ||
cpu: 250m | ||
memory: 1Gi | ||
scheduledWorkflow: | ||
deploy: true | ||
image: gcr.io/ml-pipeline/scheduledworkflow:2.0.2 | ||
cronScheduleTimezone: UTC | ||
resources: | ||
requests: | ||
cpu: 120m | ||
memory: 100Mi | ||
limits: | ||
cpu: 250m | ||
memory: 250Mi | ||
mlpipelineUI: | ||
deploy: true | ||
image: gcr.io/ml-pipeline/frontend:2.0.2 | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 256Mi | ||
requests: | ||
cpu: 100m | ||
memory: 256Mi | ||
configMap: custom-ui-configmap | ||
database: | ||
mariaDB: | ||
deploy: true | ||
image: registry.redhat.io/rhel8/mariadb-103:1-188 | ||
username: mlpipeline | ||
pipelineDBName: randomDBName | ||
pvcSize: 10Gi | ||
resources: | ||
requests: | ||
cpu: 300m | ||
memory: 800Mi | ||
limits: | ||
cpu: "1" | ||
memory: 1Gi | ||
passwordSecret: | ||
name: testdbsecret | ||
key: password | ||
objectStorage: | ||
minio: | ||
deploy: true | ||
image: quay.io/opendatahub/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance | ||
bucket: mlpipeline | ||
pvcSize: 10Gi | ||
resources: | ||
requests: | ||
cpu: 200m | ||
memory: 100Mi | ||
limits: | ||
cpu: 250m | ||
memory: 1Gi | ||
s3CredentialsSecret: | ||
secretName: mlpipeline-minio-artifact | ||
accessKey: AWS_ACCESS_KEY_ID | ||
secretKey: AWS_SECRET_ACCESS_KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: mlpipeline-minio-artifact | ||
labels: | ||
opendatahub.io/dashboard: 'true' | ||
opendatahub.io/managed: 'true' | ||
annotations: | ||
opendatahub.io/connection-type: s3 | ||
openshift.io/display-name: Minio Data Connection | ||
data: | ||
AWS_ACCESS_KEY_ID: QUtJQUlPU0ZPRE5ON0VYQU1QTEU= | ||
AWS_SECRET_ACCESS_KEY: d0phbHJYVXRuRkVNSS9LN01ERU5HL2JQeFJmaUNZRVhBTVBMRUtFWQ== | ||
# The following keys are needed while https://github.com/kubeflow/pipelines/issues/9689 is open | ||
accesskey: QUtJQUlPU0ZPRE5ON0VYQU1QTEU= | ||
secretkey: d0phbHJYVXRuRkVNSS9LN01ERU5HL2JQeFJmaUNZRVhBTVBMRUtFWQ== | ||
type: Opaque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: v1 | ||
data: | ||
viewer-pod-template.json: |- | ||
{ | ||
"spec": { | ||
"serviceAccountName": "ds-pipelines-viewer-sample" | ||
} | ||
} | ||
kind: ConfigMap | ||
metadata: | ||
name: custom-ui-configmap |
Oops, something went wrong.