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

StatefulSet terminationGracePeriodSeconds is too long and not configurable #1247

Open
panophobicPanda opened this issue Apr 27, 2021 · 0 comments

Comments

@panophobicPanda
Copy link

Describe the bug
When deleting a pod from the statefulset as defined in thanos/templates/rule-statefulset.yaml , it takes 900 seconds.

Steps to reproduce the issue:

time kubectl delete pod thanos-shard-logan-receive-0
pod "thanos-shard-logan-receive-0" deleted

real	15m7.924s

Expected behavior
The pod should terminate in a reasonable time period (10 seconds is common but anything less then 60 seconds is reasonable).

Additional context
Reducing the value of terminationGracePeriodSeconds in the template is one solution. Or exposing the value to be configurable in thanos/values.yaml is also an option.

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

No branches or pull requests

1 participant