openkruise / kruise

Automated management of large-scale applications on Kubernetes (incubating project under CNCF)
https://openkruise.io
Other
4.68k stars 770 forks source link

[BUG] don't decrease current revision number when pod is pre-updating #1746

Open ABNER-1 opened 2 months ago

ABNER-1 commented 2 months ago

What happened: When rolling update, we decrease current revision number in status whether pod is in-place updating or pre-updateing.

What you expected to happen: Don't decrease current revision number when pod is pre-updating

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment: