Override default topologySpreadConstraints if multiple pods use the same PVC with RWO #731
Closed
2 tasks done
Labels
enhancement
New feature or request
stale
Categorises a PR or issue that has not been active for a specified time.
Is your feature request related to a problem?
When RWO is set on a PVC, multiple pods using the same PVC will fail to be scheduled on seperate nodes.
Ours default topologySpreadConstraints state that all replica's of a pod should be scheduled on seperate nodes.
However, this would inherently conflict with any mounted RWO PVC's.
Describe the solution you'd like
We should check if there are any PVC's with just RWO mounted and in that case we should ignore the default topologySpreadConstraints
Describe alternatives you've considered
.
Additional context
.
I've read and agree with the following
The text was updated successfully, but these errors were encountered: