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

Tuning embedded etcd #2644

Closed
nikkictl opened this issue Jan 29, 2019 · 2 comments
Closed

Tuning embedded etcd #2644

nikkictl opened this issue Jan 29, 2019 · 2 comments
Milestone

Comments

@nikkictl
Copy link

nikkictl commented Jan 29, 2019

An operator may find it beneficial to configure embedded etcd's storage size QuotaBackendBytes and max request size MaxRequestBytes.

// Default to 4G etcd size. TODO: make this configurable.
cfg.QuotaBackendBytes = int64(4 * 1024 * 1024 * 1024)
These values can be loaded as backend flags and config file arguments.

Related to #2641

Expected Behavior

The following command would configure embedded etcd's variables accordingly.

sensu-backend start --etcd-max-request-bytes $((1.5 * 1024 * 1024)) --etcd-quota-backend-bytes $((4 * 1024 * 1024 * 1024))

Current Behavior

There is no way to configure embedded etcd's variables with sensu, however using external etcd would probably allow you to do so.

Possible Solution

Provide config arguments. #2641 solves a similar issue.

Steps to Reproduce (for bugs)

N/A

Context

This would allow us to empower operators to tune embedded etcd. Developers may need to better understand the implications of allowing operators to tune embedded etcd rather than using default (and suggested) values.

Your Environment

N/A

@ghost
Copy link

ghost commented May 13, 2019

I would also like to be able to tweak things like the heartbeat interval and election timeouts.
Some way to add additional configuration options to etcd would be great.

@palourde
Copy link
Contributor

Closed by #2968

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants