-
Notifications
You must be signed in to change notification settings - Fork 609
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
[IMPROVEMENT] Deprecate the setting allow-node-drain-with-last-healthy-replica
and replace it by node-drain-policy
setting
#5585
Comments
Pre Ready-For-Testing Checklist
|
For |
@PhanLe1010 I believe we need to change the setting to Type: SettingTypeBool,
Required: true, Also, remove this setting from 1.5.0. |
Changing setting type to SettingTypeDeprecated will removed the setting from UI and user will not be able to set it. Should we do this in 1.3 and 1.4 @innobead ? |
Oh should not. I think the UI should be refined, the deprecated item should not be removed but highlighted instead. Let's just need to remove this setting from 1.5.0. I will create an issue for UI improvement for deprecated setting. |
I agree |
About this item, I'm not sure what we're expecting to? Currently this setting is still shown up on UI and without any description of the deprecation. @innobead @PhanLe1010 |
In 1.5.0, this old setting should be removed, since it has been introduced in the previous patches like 1.4.x. https://github.com/longhorn/longhorn/wiki/Deprecation-Policy This issue is still pending in |
This is actually a duplicate of #5620. Let's close this for 1.5.0. This is valid for 1.4.x and 1.3.x, but invalid for 1.5.0. |
Is your improvement request related to a feature? Please describe (👍 if you like this request)
We introduced the new setting
node-drain-policy
in longhorn/longhorn-manager#1775. The new setting covers all use cases of the old settingallow-node-drain-with-last-healthy-replica
and have extra options. Therefore we should deprecate the settingallow-node-drain-with-last-healthy-replica
and replace it bynode-drain-policy
setting.Work needs to be done:
The text was updated successfully, but these errors were encountered: