Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Ceph: support topologySpreadConstraints #4387
Is this a bug report or feature request?
What should the feature do:
It's necessary to support topologySpreadConstraints to spread OSDs among failure domains as much as possible. The detail is written in the following document.
In addition, the meaning of topologySpreadConstraints is written in the following document.
What is use case behind this feature:
Spread OSDs among failure domains and permit multiple OSDs per one failure domain.
I have a question about how to implement topologySpreadConstraints support.
I found that Rook and operator-kit depend on kubernetes 1.14. However, topologySpreadConstraints is defined in kubernetes 1.16 or later. So, could you give me advice about what is the preferred way to support this feature?
a. Update dependency of the kubernetes version to 1.16 and implement this feature's support.
I'll implement this feature soon in any case. It's because we're constructing a Ceph cluster and this feature is mandatory here. So sharing a draft PR here is nice, I think.
I expect the following scenario.
One of my co-workers @tapih made a branch that enables topologySpreadConstraints.
This branch is on top of the following branch.
When topologySpreadConstraints goes into beta, I'll make a PR based on this branch.