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

chore: ignore mvtx replicas if it exists #358

Merged
merged 4 commits into from
Oct 24, 2024
Merged

chore: ignore mvtx replicas if it exists #358

merged 4 commits into from
Oct 24, 2024

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Oct 24, 2024

Fixes #353

Modifications

When reconciling a MonoVertexRollout object, use the replicas from existing MonoVertex object if it has.

Verification

Created a MonoVertexRollout object, manually scaled the orchestrated MonoVertex replicas, the numaplane controller did reconcile the watched notification, but the replicas value in the MonoVertex object remained unchanged.

spec:
monoVertex:
spec:
source:
udsource:
container:
image: quay.io/numaio/numaflow-java/source-simple-source:stable
env:
- name: aaaa
value: bb
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to commit this?

@@ -2,19 +2,21 @@ apiVersion: numaplane.numaproj.io/v1alpha1
kind: MonoVertexRollout
metadata:
name: my-monovertex
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to remove namespace? if you did, can you remove it from all 4 example Rollouts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those were for my testing, accidentally committed, will remove.

return newMonoVertex, err
}
}
return newMonoVertex, nil
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this. Just FYI that Chandan will be working on an issue soon to avoid having to do too many of these conversions in the code.

.
Signed-off-by: Derek Wang <[email protected]>
.
Signed-off-by: Derek Wang <[email protected]>
.
Signed-off-by: Derek Wang <[email protected]>
@whynowy whynowy merged commit 5908451 into main Oct 24, 2024
7 checks passed
@whynowy whynowy deleted the fff branch October 24, 2024 06:03
whynowy added a commit that referenced this pull request Oct 24, 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.

MonoVertex autoscaling is blocked
2 participants