Skip to content
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

fix: nc/isbservice rollouts will not wait for unowned pipelines to pause #271

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

dpadhiar
Copy link
Contributor

Fixes #245

Modifications

If dataLossPrevention is enabled and there are pipelines that are not owned by a PipelineRollout in a namespace, when updating a NumaflowController/ISBServiceRollout they would wait for this pipeline to pause that never would. This is because this pipeline is never told to pause (intended) and the controllers for each rollout just list pipelines in the namespace to watch.

We change this query for pipelines in the namespace to check that they are owned by a PipelineRollout:

kubectl get pl -n {namespace} -l numaplane.numaproj.io/pipeline-rollout-name

Verification

Checked locally that updates on a NumaflowController and ISBService rollout both succeeded with a unowned pipeline existing in the namespace.

@dpadhiar dpadhiar marked this pull request as ready for review September 16, 2024 23:19
@dpadhiar dpadhiar marked this pull request as draft September 16, 2024 23:20
@dpadhiar dpadhiar marked this pull request as ready for review September 17, 2024 16:52
@xdevxy xdevxy merged commit 37f6c93 into numaproj:main Sep 17, 2024
7 checks passed
chandankumar4 pushed a commit that referenced this pull request Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PPND strategy needs to allow there to be Pipelines not owned by a PipelineRollout
3 participants