etcd Formula¶
Service etcd description
Possible source.engine:
- pkg - install etcd package (default)
- docker_hybrid - copy binaries from docker image (specified in server.image)
Sample pillars¶
Certificates¶
Use certificate authentication (for peers and clients). Certificates must be prepared in advance.
etcd:
server:
enabled: true
ssl:
enabled: true
bind:
host: 10.0.175.101
token: $(uuidgen)
members:
- host: 10.0.175.101
name: etcd01
port: 4001
Single etcd service¶
etcd:
server:
enabled: true
bind:
host: 10.0.175.101
token: $(uuidgen)
members:
- host: 10.0.175.101
name: etcd01
port: 4001
Cluster etcd service¶
etcd:
server:
enabled: true
bind:
host: 10.0.175.101
token: $(uuidgen)
members:
- host: 10.0.175.101
name: etcd01
port: 4001
- host: 10.0.175.102
name: etcd02
port: 4001
- host: 10.0.175.103
name: etcd03
port: 4001
etcd proxy¶
etcd:
server:
enabled: true
bind:
host: 10.0.175.101
proxy: true
members:
- host: 10.0.175.101
name: etcd01
- host: 10.0.175.102
name: etcd02
- host: 10.0.175.103
name: etcd03
Run etcd on k8s¶
etcd:
server:
engine: kubernetes
image: etcd:latest
Copy etcd binary from container¶
etcd:
server:
image: quay.io/coreos/etcd:latest
Read more¶
Documentation and Bugs¶
To learn how to install and update salt-formulas, consult the documentation available online at:
In the unfortunate event that bugs are discovered, they should be reported to the appropriate issue tracker. Use Github issue tracker for specific salt formula:
For feature requests, bug reports or blueprints affecting entire ecosystem, use Launchpad salt-formulas project:
You can also join salt-formulas-users team and subscribe to mailing list:
Developers wishing to work on the salt-formulas projects should always base their work on master branch and submit pull request against specific formula.
Any questions or feedback is always welcome so feel free to join our IRC channel:
#salt-formulas @ irc.freenode.net