Consolidate multiple commits into one: Add PVC manager functionality and Fix xfs_qouta clear projid #290
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Title: Introduce PVC Manager for High-Performance LocalPV Provisioning
Description:
This PR introduces a new architecture for the OpenEBS Dynamic LocalPV Provisioner, addressing performance bottlenecks identified during stress testing (see openebs/openebs#4050). The core change replaces the traditional helper pod mechanism with a DaemonSet-based PVC Manager service that performs volume operations via direct HTTP API calls.
Key Changes:
New PVC Manager Component:
cmd/pvc-manager/) which runs as a DaemonSet on each node.Provisioner Integration:
cmd/provisioner-localpv/) is updated to conditionally use the new PVC Manager.OPENEBS_IO_ENABLE_PVC_MANAGER(defaulttrue) andOPENEBS_IO_PVC_MANAGER_PORT(default8080) control this behavior.Deployment Updates:
Benefits:
This new architecture provides a substantial performance improvement for LocalPV provisioning, directly addressing the concerns raised in issue #4050. Backward compatibility with the helper pod mode is maintained via the
OPENEBS_IO_ENABLE_PVC_MANAGERenvironment variable.