-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Don't allow setting dead server last contact threshold to less than 1 minute #22040
Conversation
CI Results: |
Build Results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should there be a docs update with this to document the minimum?
This seems like a candidate for a changelog as well. |
I will add both. |
@raskchanky I think in some pieces of official Vault documentation 10 seconds was in place, and I assume people simply adopted that. I believe a best-practices document or some kind of a guideline about autopilot flags could've been very useful as the difference between 1 minute and 24 hours (the default value) for dead server last contact is still too big! |
@msdundar I think you're probably right re: 10 seconds being somewhere in the official docs. I'll see if I can track it down. We designed the autopilot defaults to be appropriate for most use cases, so most of the time, tuning isn't necessary. I can see now that we don't mention that in our docs, however, and in fact, the language used could be easily interpreted to suggest that people should tune these. I appreciate you calling out these inconsistencies in our docs. I'll do my best to get them updated. |
If I'm not mistaken, it was this tutorial, and
Many thanks for your quick reply and thanks for taking care of the minimum value! 🎉 |
This is a frequent source of problems when people tune their autopilot configs. I took a quick pass over the other autopilot config values and didn't see any that screamed for validation quite as much as this one, but if there are others that people think should be validated for some valid range of values, I'm happy to add those.