zorlin.etcd_cluster
andrewrothstein.etcd-cluster
This tool sets up an etcd cluster. It runs a voting member on each host in the etcd-master
group and a proxy on the other hosts in the etcd
group.
Requirements
Check meta/main.yml for what's needed.
Role Variables
See defaults/main.yml for configuration options.
Dependencies
Refer to meta/main.yml for dependencies.
Example Playbook
Here is how you can set up your inventory file (inventory.ini):
# voting and non-voting members
[etcd]
host[1:n].test
# voting members
[etcd_master]
host[1:3].test
In your playbook, include:
- hosts: etcd
roles:
- role: andrewrothstein.etcd-cluster
# if you don't want to secure your installation, set
# etcd_secure: False
To check the status of the etcd cluster, use:
etcdctl endpoint status --cluster -w table
License
MIT
Author Information
Andrew Rothstein andrew.rothstein@gmail.com
Informazioni sul progetto
configures an etcd cluster (variable hacks by Zorlin)
Installa
ansible-galaxy install zorlin.etcd_cluster
Licenza
mit
Download
253
Proprietario
Developer, sysadmin, distributed storage and free culture person. Still figuring out the rest.