Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(CSI-312): add topology awareness by providing accessibleTopology…
… in PV creation (#426) ### TL;DR Added topology support to volume creation in WekaFS CSI driver ### What changed? - Added `AccessibleTopology` field to volume creation responses - Implemented `generateAccessibleTopology()` function that creates topology segments with Weka-specific labels - Applied topology information consistently across all volume creation scenarios ### How to test? 1. Deploy the CSI driver in a Kubernetes cluster with WekaFS 2. Create a new PersistentVolumeClaim (PVC) 3. Verify that the created PV includes topology information 4. Confirm that pods using the PVC are scheduled correctly based on topology constraints ### Why make this change? Topology support enables better control over pod scheduling by ensuring pods are scheduled on nodes that have access to WekaFS. This improves the reliability of storage operations and helps maintain proper storage accessibility across the cluster.
- Loading branch information