Skip to content
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

Make RollingUpdateBestEffort behave a bit more like RollingUpdate #857

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bderrly
Copy link
Contributor

@bderrly bderrly commented Sep 23, 2024

It is somewhat surprising behavior, at least to me, that the "best effort" strategy is only considered in the case of a Logscale version update. I think it makes more sense to have it behave like RollingUpdate unless there is a version upgrade in which case the version comparison logic can take over. This will allow things like modifications to environment variables which need to restart pods to have a rolling update even if there is no version update at the same time.

The current behavior is such that the RollingUpdateBestEffort is only
applicable in the case of a Logscale version change. There are times
when other parameters change on a HumioCluster CR where it would be
ideal to have a rolling update but there is no version change.
RollingUpdateBestEffort will act like RollingUpdate unless there is a
version upgrade in play. In that case the version comparison logic will
take over.
@bderrly bderrly requested a review from a team as a code owner September 23, 2024 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant