-
Notifications
You must be signed in to change notification settings - Fork 772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] workloadspread 支持 cr 给 pod 打 pod-deletion-cost 标 #1744
Comments
workloadspread can only annotate related pods with deletion cost, but workloadspread cannot guarantee that the actual deletion sequence which is controlled by the controller behind the customized resource |
Just need annotate pods. As for whether CR supports the pod-deletion-cost feature, that's CR's responsibility. |
比如我们的场景, cr 控制 多个 dp, versionedmap就是 pod-template-hash -> pod 的映射; 获取最新版本, 就通过 cr 的status 字段, 获取当前最新版本呢, 然后 ref查到 dp, 再找到 rs , 获取最新的 rs pod-template-hash 作为最新版本, 从而进行 pdc 打标 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
sorry for the late reply. what do you mean patch PDC to CR ? If you mean patch the pod managed by CR, then you can checkout this feature. and if you have further question, can you attend the recent biweekly meeting? |
ws === workloadspread
pdc === pod-deletion-cost
What would you like to be added:
cr 支持打 pdc 标
Why is this needed:
ws 依赖 pdc ,现在 ws 不支持给 cr 打 pdc 标, 缩容没法保证 pod 满足约束
求支持:DDDD
The text was updated successfully, but these errors were encountered: