-
Notifications
You must be signed in to change notification settings - Fork 13
cherry-pick 'configure ml-pipeline service address within driver.go' from upstream KFP #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
cherry-pick 'configure ml-pipeline service address within driver.go' from upstream KFP #237
Conversation
WalkthroughAdds explicit ML pipeline server address and port fields to the driver Options, wires them from CLI flags through driver initialization into pod spec patching, and updates tests to assert the launcher command includes the new --ml_pipeline_server_address and --ml_pipeline_server_port flags. Changes
Sequence DiagramsequenceDiagram
participant CLI as CLI Flags
participant Main as main.go
participant Options as Options Struct
participant Driver as driver.go
participant Container as container.go
participant PodSpec as Pod Spec Patch
participant Launcher as Launcher Command
CLI->>Main: --ml_pipeline_server_address / --ml_pipeline_server_port
Main->>Options: set MLPipelineServerAddress, MLPipelineServerPort
Options->>Container: pass Options
Container->>Driver: call initPodSpecPatch(..., address, port)
Driver->>PodSpec: initPodSpecPatch receives address, port
PodSpec->>Launcher: add --ml_pipeline_server_address / --ml_pipeline_server_port
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (43)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
A set of new images have been built to help with testing out this PR: |
|
An OCP cluster where you are logged in as cluster admin is required. The Data Science Pipelines team recommends testing this using the Data Science Pipelines Operator. Check here for more information on using the DSPO. To use and deploy a DSP stack with these images (assuming the DSPO is deployed), first save the following YAML to a file named apiVersion: datasciencepipelinesapplications.opendatahub.io/v1
kind: DataSciencePipelinesApplication
metadata:
name: pr-237
spec:
dspVersion: v2
apiServer:
image: "quay.io/opendatahub/ds-pipelines-api-server:pr-237"
argoDriverImage: "quay.io/opendatahub/ds-pipelines-driver:pr-237"
argoLauncherImage: "quay.io/opendatahub/ds-pipelines-launcher:pr-237"
persistenceAgent:
image: "quay.io/opendatahub/ds-pipelines-persistenceagent:pr-237"
scheduledWorkflow:
image: "quay.io/opendatahub/ds-pipelines-scheduledworkflow:pr-237"
mlmd:
deploy: true # Optional component
grpc:
image: "quay.io/opendatahub/mlmd-grpc-server:latest"
envoy:
image: "registry.redhat.io/openshift-service-mesh/proxyv2-rhel8:2.3.9-2"
mlpipelineUI:
deploy: true # Optional component
image: "quay.io/opendatahub/ds-pipelines-frontend:pr-237"
objectStorage:
minio:
deploy: true
image: 'quay.io/opendatahub/minio:RELEASE.2019-08-14T20-37-41Z-license-compliance'Then run the following: cd $(mktemp -d)
git clone [email protected]:opendatahub-io/data-science-pipelines.git
cd data-science-pipelines/
git fetch origin pull/237/head
git checkout -b pullrequest 7709a959f7db994a98ad31530f6a26f2c08ea538
oc apply -f dspa.pr-237.yamlMore instructions here on how to deploy and test a Data Science Pipelines Application. |
Signed-off-by: alyssacgoins <[email protected]>
7709a95 to
10689e6
Compare
|
Change to PR detected. A new PR build was completed. |
|
/lgtm |
hbelmiro
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hbelmiro The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description of your changes:
Cherry-pick 'configure ml-pipeline service address within driver.go' from upstream KFP.
Checklist:
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.