-
Notifications
You must be signed in to change notification settings - Fork 430
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][RayService]Add kubernetes event to inform user of upgrade strategy #2592
Conversation
9ea70da
to
b9b7186
Compare
} | ||
r.Recorder.Event(rayServiceInstance, "Normal", "UpgradeStrategy", strategyMessage) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we previsouly discussed this event only being emitted when the upgrade is triggered. Is this the case if we only emit the event when the cluster action is RolloutNew?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to only emit event if zero downtime triggers an upgrade.
I've also went back to do another manual test to check the behavior of zero downtime (before changing the event to only emit on upgrade). When there is an upgrade with the "RolloutNew" but with zero downtime disabled, it will continue to retry:
c3d89bb
to
5dfc132
Compare
5dfc132
to
31f171a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit
31f171a
to
68f0388
Compare
53da055
to
b385ebf
Compare
b385ebf
to
d78a439
Compare
Why are these changes needed?
Adds Kubernetes Event to inform users of upgrade strategy. Ex:
Related issue number
Part of #2554
Checks