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

helm: update default terminationGracePeriodSeconds to 4800 #1257

Merged

Conversation

rfratto
Copy link
Member

@rfratto rfratto commented Nov 13, 2019

Users that run Loki using the Helm chart may not modify the value for terminationGracePeriodSeconds to allow Loki enough time to flush all of its data. If Loki is forcefully terminated by Kubernetes during a flush, missing data or an unhealthy ingester in the ring in microservices mode can occur.

This commit changes the grace period to 4800 seconds, the value used in the Jsonnet code.

I've never updated the Helm charts before so I'm not sure if I need to update the versions or do anything else (do I need to run a script somewhere?).

/cc @slim-bean

Users that run Loki using the Helm chart may not modify the value for
terminationGracePeriodSeconds that allows Loki enough time to flush all
of its data. If Loki is forcefully terminated by Kubernetes during a
flush, missing data or an unhealthy ingester in the ring in
microservices mode can occur.

This commit changes the grace period to 4800 seconds, the value used in
the Jsonnet code.
Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GTM!

@rfratto rfratto merged commit 1d3b0be into grafana:master Nov 13, 2019
@rfratto rfratto deleted the increase-helm-default-grace-termination-period branch November 13, 2019 14:56
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.

2 participants