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

update replicas will cause all pods been rescheduled #368

Open
freeznet opened this issue May 18, 2022 · 3 comments
Open

update replicas will cause all pods been rescheduled #368

freeznet opened this issue May 18, 2022 · 3 comments

Comments

@freeznet
Copy link
Member

when updating replicas for a sink, all pods will be rescheduled, which is not expected behaviour. Should fix this BUG and add related tests.

@freeznet
Copy link
Member Author

freeznet commented Jun 3, 2022

This is because the FunctionDetails have been passing as STS container template command and the FunctionDetails is changing when replicas changed.

@freeznet freeznet removed this from the 2022-06 v0.3.0 milestone Jun 13, 2022
@jiangpengcheng
Copy link
Member

jiangpengcheng commented Jun 21, 2022

seems the parallelism is getting from the spec.replicas, since we are using k8s for auto-scaling, how about setting the parallelism to hardcoded 1?

@tpiperatgod
Copy link
Contributor

tpiperatgod commented Nov 15, 2022

I have a proposal to use a proxy service to provide the ability for pulsar functions managed by Function Mesh to interact with the cluster.

Untitled Diagram drawio

In a preliminary idea, this service should provide the following interfaces.

  • Get the replicas number of the function
  • Get the status of the function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants