-
Notifications
You must be signed in to change notification settings - Fork 774
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
[feature request] Support ordered execution of the application containers during in-place updates in CloneSet #901
Comments
@wgitg Thanks for the engaging discussion to make Kruise better :)
These looks good.
We might not care about the probe failure. When in-place update containers by order, we should just update the high-priority container first, and then the next if the first one has been started and ready (maybe for more than minReadySeconds). What do you think? |
@FillZpp Thanks for the excellent support! Yes. Your comments looks good. 👍 |
@FillZpp Thanks for the awesome support! I just would like to circle back on the stop ordering, are there ways to control he stop ordering for the containers when the pod dies? |
What would you like to be added:
We would like CloneSet to support ordered execution of the application containers during in-place updates.
Specifically,
Why is this needed:
We believe this is a critical feature that can help us to leverage the CloneSet in-place updates successfully.
We have business logic have to be lined up for execution. While we can (and are) leveraging init container to ensure the execution ordering for some business logic. However, updates to the init containers will cause the whole pod to be recreated.
Even though we can do in-place update in the application container, the nature of the init container updates defeat the whole purpose of in-place updates.
While we can separate the business logic in init container per pod lifecycle to avoid updates in init container, but in practice, there are business logic is not per pod lifecycle but per container lifecycle and we have to line them up for ordered execution. With the feature support, we can put the business logic into long running service as in application container and achieve ordered in-place updates
The text was updated successfully, but these errors were encountered: