-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat(helm): Avoid unnecessary pod restart on each helm chart version #12174
base: main
Are you sure you want to change the base?
Conversation
4b308e9
to
ce0a5e5
Compare
@jkroepke Could you please complete these items on the PR checklist? For Helm chart changes bump the Helm chart version in production/helm/loki/Chart.yaml and update production/helm/loki/CHANGELOG.md and production/helm/loki/README.md. |
Done. Sorry, I miss files to commit on my machine |
Conflicts resolved. |
I did a merge from main here. I would appreciate a review soon. |
49744ee
to
45bd0fe
Compare
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
merged from main |
@JStickler @MichelHollands I would appreciate an review here. |
What this PR does / why we need it:
Currenty, loki restarts on each new helm chart version. The reason here is that the whole Kubernetes secrets is used to generated the config checksum. The Kubernetes secrets contains labels, which contains the helm chart version. A new version would change the checksum, too.
From my point of view, a restart is only necessary, if PodSpec or config has been changed.
This isn't necessary.
Ref:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Checklist
CONTRIBUTING.md
guide (required)CHANGELOG.md
updatedadd-to-release-notes
labeldocs/sources/setup/upgrade/_index.md
production/helm/loki/Chart.yaml
and updateproduction/helm/loki/CHANGELOG.md
andproduction/helm/loki/README.md
. Example PRdeprecated-config.yaml
anddeleted-config.yaml
files respectively in thetools/deprecated-config-checker
directory. Example PR