Comments (4)
Not making a difference between even and odd numbers of servers makes to code less complex. But it's true that having an even number of servers has no benefit at all (it's even worse, cause you'll have an increased risk on failures)
Your use case might be out of scope for this role, but if not too complex, it would be nice to support it.
Not entirely sure, but normally, the bootstrap_expect
parameter is only used when initially bootstrapping the cluster. Once the cluster is bootstrapped, you can auto scale without the need to update the value. It just makes sure nodes don't start bootstrapping too early, once the system is running, the raft subsystem keeps a list of servers, and should be able to elect a leader in case of a network separation/failure.
But you should run some tests (especially if your going to use this in production).
from ansible-consul.
Thank you. I will report my experiences here, when I work on auto scaling. But that can take a few months.
from ansible-consul.
@discointheair Can we close this issue?
from ansible-consul.
@groggemans
Yes please close it. ATM I have no time to think about auto scaling.
from ansible-consul.
Related Issues (20)
- No filter named 'ipaddr' found HOT 1
- Minimum supported Consul version HOT 2
- consul_client_address is ignored HOT 1
- Task "Write gossip encryption key locally for use with new servers" is flakey
- What is the purpose of the consul_iface variable
- Role fails to install on Rocky 8.6 HOT 1
- Molecule outdated HOT 1
- Add RHSM Install Option
- Is enabling TLS for windows supported with this role?
- Support for consul validate HOT 1
- Create Dnsmasq configuration fails with `...({{ item.when }}): 'item' is undefined`
- Maintainers wanted HOT 2
- Fix and re-enable suppressed ansible-lint warnings
- Add grpc_tls address and port for consul >= 1.14.0
- Update to Molecule 5.x
- [BUG] Cannot fetch "gossip encryption key" HOT 1
- Debian Installation HOT 1
- Configuration files are not in json format HOT 3
- Check mode missing in one task HOT 1
- ACL Master Token not generated automatically
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-consul.