-
Notifications
You must be signed in to change notification settings - Fork 50
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 #636 from hbelmiro/RHOAIENG-5287
Added CustomConfig to WorkflowController
- Loading branch information
Showing
6 changed files
with
58 additions
and
0 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 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
33 changes: 33 additions & 0 deletions
33
...ig/samples/v2/custom-workflow-controller-config/custom-workflow-controller-configmap.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,33 @@ | ||
apiVersion: v1 | ||
data: | ||
artifactRepository: | | ||
archiveLogs: false | ||
s3: | ||
endpoint: "http://minio-sample.kubeflow.svc.cluster.local:9000" | ||
bucket: "mlpipeline" | ||
# keyFormat is a format pattern to define how artifacts will be organized in a bucket. | ||
# It can reference workflow metadata variables such as workflow.namespace, workflow.name, | ||
# pod.name. Can also use strftime formating of workflow.creationTimestamp so that workflow | ||
# artifacts can be organized by date. If omitted, will use `\{\{workflow.name\}\}/\{\{pod.name\}\}`, | ||
# which has potential for have collisions, because names do not guarantee they are unique | ||
# over the lifetime of the cluster. | ||
# Refer to https://kubernetes.io/docs/concepts/overview/working-with-objects/names/. | ||
# | ||
# The following format looks like: | ||
# artifacts/my-workflow-abc123/2018/08/23/my-workflow-abc123-1234567890 | ||
# Adding date into the path greatly reduces the chance of \{\{pod.name\}\} collision. | ||
# keyFormat: "artifacts/\{\{workflow.name\}\}/\{\{workflow.creationTimestamp.Y\}\}/\{\{workflow.creationTimestamp.m\}\}/\{\{workflow.creationTimestamp.d\}\}/\{\{pod.name\}\}" # TODO | ||
# insecure will disable TLS. Primarily used for minio installs not configured with TLS | ||
insecure: false | ||
accessKeySecret: | ||
name: "ds-pipeline-s3-sample" | ||
key: "accesskey" | ||
secretKeySecret: | ||
name: "ds-pipeline-s3-sample" | ||
key: "secretkey" | ||
containerRuntimeExecutor: emissary | ||
executor: | | ||
imagePullPolicy: IfNotPresent # TODO | ||
kind: ConfigMap | ||
metadata: | ||
name: custom-workflow-controller-configmap |
15 changes: 15 additions & 0 deletions
15
config/samples/v2/custom-workflow-controller-config/dspa.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,15 @@ | ||
apiVersion: datasciencepipelinesapplications.opendatahub.io/v1alpha1 | ||
kind: DataSciencePipelinesApplication | ||
metadata: | ||
name: sample | ||
spec: | ||
dspVersion: v2 | ||
objectStorage: | ||
minio: | ||
deploy: true | ||
image: 'quay.io/opendatahub/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance' | ||
mlpipelineUI: | ||
image: quay.io/opendatahub/ds-pipelines-frontend:latest | ||
workflowController: | ||
deploy: true | ||
customConfig: 'custom-workflow-controller-configmap' |
3 changes: 3 additions & 0 deletions
3
config/samples/v2/custom-workflow-controller-config/kustomization.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,3 @@ | ||
resources: | ||
- dspa.yaml | ||
- custom-workflow-controller-configmap.yaml |