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

Changes default for leave_on_terminate based on server or client mode. #2320

Merged
merged 3 commits into from
Sep 1, 2016

Conversation

slackpad
Copy link
Contributor

@slackpad slackpad commented Sep 1, 2016

These defaults are designed to be safer for servers so that you must explicitly configure them to leave the cluster. This also results in a better experience for clients, especially in cloud environments where they may be created and destroyed often and users prefer not to wait for the 72 hour reap time for cleanup.

@slackpad
Copy link
Contributor Author

slackpad commented Sep 1, 2016

The port thing is kind of incidental to this PR, but the test failures were annoying so I threw it in here.

@sean-
Copy link
Contributor

sean- commented Sep 1, 2016

LGTM.

Unrelated to this PR, but now that we're using a "tribool" the variable SkipLeaveOnInt could probably be renamed to something not a double negative like LeaveOnInt. 🚢

@slackpad
Copy link
Contributor Author

slackpad commented Sep 1, 2016

Good call on the name - we should change the variable and the config parameter as well, and deprecate the "skip" config in favor of the clearer one.

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.

None yet

2 participants