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

Make the master endpoint lease ttl configurable #15214

Merged
merged 1 commit into from Jul 15, 2017

Conversation

smarterclayton
Copy link
Contributor

Very large clusters can fail to update TTL in a reasonable time.

Fixes #15212

[test] @liggitt @pweil-

Copy link
Contributor

@pweil- pweil- left a comment

Choose a reason for hiding this comment

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

LGTM

// MasterEndpointReconcileTTL sets the time to live in seconds of an endpoint record recorded by each master. The endpoints are checked
// at an interval that is 2/3 of this value and this value defaults to 15s if unset. In very large clusters, this value may be increased to
// reduce the possibility that the master endpoint record expires (due to other load on the etcd server) and causes masters to drop in and
// out of the kubernetes service record. It is not recommended to set this value below 15s.
Copy link
Contributor

Choose a reason for hiding this comment

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

I suppose this could be a warning in the ValidateMasterConfig if it may cause problems

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't know if it's terrible. I expect no one to set unless we tell them

Very large clusters can fail to update TTL in a reasonable time.
@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 72514e8

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/3180/) (Base Commit: 987a609) (PR Branch Commit: 72514e8)

@smarterclayton smarterclayton merged commit e1d18a3 into openshift:master Jul 15, 2017
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

3 participants