-
Notifications
You must be signed in to change notification settings - Fork 779
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] Add pod specified-delete for advanced statefulset #951
Comments
/retitle [feature request] Add pod specified-delete for advanced statefulset |
/assign @veophi |
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. |
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. |
@FillZpp Maybe I can try to take over this job, can you assign this job to me? It would be nice to have some notes or help. |
/assign @YTGhost |
What would you like to be added:
advanced statefulset 添加类似 cloneset 的 在pod 上添加label apps.kruise.io/specified-delete: true 去实现指定pod的重建,并且pod名字不变, 或者 基于 advanced statefulset 的 序号保留扩展下,可以实现重名pod的重建。
Why is this needed:
需要实现 advanced statefulset 的指定 pod重建的时候 能触发 preDelete 的 生命周期hook, 目前通过 序号保留将 某个序号的pod的删除的时候 可以触发 preDelete 的生命周期hook,但是不能覆盖住 同名pod 重建的场景。
如果可以支持 在pod 上添加label apps.kruise.io/specified-delete: true 是最好的,能和cloneset 的 重建逻辑保持一致。
The text was updated successfully, but these errors were encountered: