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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Consolidate Instance Manager Engine & Replica for resource consumption reduction #5208
Comments
Note: #1691 (comment) |
Initial test results:
|
Pre Ready-For-Testing Checklist
|
@longhorn/qa , for this feature, please also do some tests using the UI to see if the frontend needs to adjust, thanks! cc @smallteeths |
Tested on master-head, although there are volumes created and attached, the Also the Not sure if it's normal. @c3y1huang |
This is not right. @yangchiu btw, do you know if we have any e2e test cases related to the reference count of instance image? |
We only have test cases for engine image reference count, and there's no test case for instance manager reference count. |
Thanks @yangchiu , this should be related to the UI as we have not yet implemented support for the new Let's track the UI implementation in #5876 |
Verified passed on master-head (longhorn-manager 6631855, longhorn-ui 51e912d). Operations work well on Longhorn ui, and it presenta the correct information about the new |
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to longhorn#5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to longhorn#5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to longhorn#5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to #5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to #5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com> (cherry picked from commit 339e501)
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to #5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com> (cherry picked from commit 339e501)
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to longhorn#5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
- Add the setting added in longhorn/longhorn-manager#1731 in the helm chart - Related to longhorn#5208 Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Is your improvement request related to a feature? Please describe (馃憤 if you like this request)
Currently, we will have an instance manager engine & replica pods on each node, and each of them will have a default 12% Guaranteed CPU request which is configurable. After upgrading Longhorn, there will be another two new instance manager pods running, so there will be four instance managers pods before all volumes are migrated to the new version. This causes high resource requirements for the fresh install and upgrade as well.
Engine/Replica processes running in the instance manager are process-based, so they will not impact the instance manager container. To simplify the architecture to decrease resource usage, the goal here is to consolidate the instance manager engine & replica to one pod, but continue serving all data plane operations on each node without any change. For volume migration, the same flow is as usual.
Describe the solution you'd like
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
rancher/image-mirror#329 (comment)
cc @longhorn/dev
The text was updated successfully, but these errors were encountered: