Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Add terminationGracePeriodSeconds helm value #837

Merged
merged 4 commits into from
Jul 11, 2023

Conversation

kolesnikovae
Copy link
Contributor

@kolesnikovae kolesnikovae commented Jul 11, 2023

It's been reported multiple times that the unfinished block is lost at shutdown. One of the most common reasons in case of k8s deployment is the fact that ingesters may not be able to flush all the data before being terminated forcibly due to expiration of terminationGracePeriodSeconds (defaults to 30s).

The change makes the parameter configurable: now it is set to 10m by default for ingesters when deployed as micro services.

Related #688

Copy link
Collaborator

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@simonswine simonswine left a comment

Choose a reason for hiding this comment

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

LGTM! Yes that is a big oversight

@simonswine
Copy link
Collaborator

If you increment the version number it should auto release the chart:

@cyriltovena cyriltovena merged commit 11fcb24 into main Jul 11, 2023
16 checks passed
@cyriltovena cyriltovena deleted the chore/add-termination-grace-period branch July 11, 2023 14:00
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jul 18, 2023
* Add terminationGracePeriodSeconds helm value

* Render manifests

* Bump chart version

* Update chart README
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants