[FEATURE] Add a global setting for enabling and disabling SPDK feature #5778
Closed
Description
Is your feature request related to a problem? Please describe (👍 if you like this request)
Enabling the SPDK feature in Longhorn requires additional CPU and memory resources, making it unsuitable for all environments. To address this, Longhorn provides a global setting that enables or disables the SPDK feature, which is disabled
by default.
When the feature is enabled, Longhorn attempts to prevent updates to this setting while there are volumes attached. When the setting is applied, Longhorn restarts all instance-manager pods to ensure that the SPDK feature is properly enabled or disabled.
- Add a global setting
spdk
for enabling/disabling SPDK feature - Add a global setting
spdk-hugepage-limit
for configuring hugepage size used by SPDK - Validate node conditions such as
hugepage
andkernel driver
before creating the instance-manager supporting spdk
Describe the solution you'd like
A clear and concise description of what you want to happen
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Metadata
Labels
Type
Projects
Status
Closed