feat: pin volume and workload pod to the original topology#4478
feat: pin volume and workload pod to the original topology#4478bachmanity1 wants to merge 2 commits intolonghorn:masterfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Tip 🧪 Unit Test Generation v2 is now available!We have significantly improved our unit test generation capabilities. To enable: Add this to your reviews:
finishing_touches:
unit_tests:
enabled: trueTry it out by using the Have feedback? Share your thoughts on our Discord thread! Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
7d80d4d to
fca1cf9
Compare
|
I realized this can also be done using the Kubernetes In this case, we would just need to add the zone label to the PV in the volume controller. Maybe we can add a new volume spec field to control this behavior. The labeling could be handled in ReconcilePersistentVolume function in the volume controller. One advantage of this approach is that it works for both delayed and immediate binding modes. But even though the |
Signed-off-by: bachmanity1 <bachmanity138@gmail.com>
Signed-off-by: bachmanity1 <bachmanity138@gmail.com>
fca1cf9 to
9de7a76
Compare
Which issue(s) this PR fixes:
Issue longhorn/longhorn#12517
What this PR does / why we need it:
Special notes for your reviewer:
Additional documentation or context