-
Notifications
You must be signed in to change notification settings - Fork 670
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
Allow setting a ExecutionClusterLabel when triggering a Launchplan/Workflow/Task #4998
Allow setting a ExecutionClusterLabel when triggering a Launchplan/Workflow/Task #4998
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4998 +/- ##
==========================================
+ Coverage 58.98% 59.00% +0.02%
==========================================
Files 645 645
Lines 55648 55670 +22
==========================================
+ Hits 32824 32850 +26
+ Misses 20229 20224 -5
- Partials 2595 2596 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
cc @gdabisias |
Won't we also need to add the message to the incoming request? It'll need to start from there no? |
hey @RRap0so do you have a real multi-cluster setup available to help test this? It's a fair bit of work for us to set one up to test. We can fake it, but it'd be nice to have a real setup to test against. I pulled this pr, built a new sandbox image for it, and ran a local/normal test, and it works, but i'm obviously not testing any of the new functionality. |
@wild-endeavor I think we might have something that we can use. I'll report back. |
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
8d4fec5
to
2b17289
Compare
Signed-off-by: Rafael Raposo <[email protected]>
Hi @wild-endeavor. All done and tested. I've created executions via grpc and manage to reproduce everything perfectly:
I've also added a Debug line to help out and done another comparison fix. |
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.
thank you for testing this out end to end!
do you mind also updating https://github.com/flyteorg/flyte/blob/master/flyteadmin/pkg/executioncluster/impl/in_cluster.go#L25 to fail fast when a ExecutionTargetSpec.ExecutionClusterLabel
is specified (like we do for TargetID)?
Signed-off-by: Rafael Raposo <[email protected]>
Signed-off-by: Rafael Raposo <[email protected]>
…rkflow/Task (flyteorg#4998) Add ExecutionClusterLabel to the ExecutionSpec so users can override the label at kick off time. Closes flyteorg#5081 Signed-off-by: Rafael Raposo <[email protected]>
Why are the changes needed?
This is an alternative implementation to the #4956. Instead of trying to implement the
clusterPool
functionality we reuse the ClusterAssignment struct and Execution Label.This was changes are kept to a minimal and would cover the needs of the linked RFC
Closes #5081
What changes were proposed in this pull request?
How was this patch tested?
This was tested with two additional unit tests.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link