andrewrothstein.etcd_cluster
andrewrothstein.etcd_cluster
配置一个etcd集群。 在每个etcd-master
组中的主机上运行投票节点,在其余etcd
组中的主机上运行代理。
要求
角色变量
依赖关系
示例剧本
示例 inventory.ini
# 投票和非投票成员
[etcd]
host[1:n].test
# 投票成员
[etcd_master]
host[1:3].test
在您的剧本中:
- hosts: etcd
roles:
- role: andrewrothstein.etcd_cluster
# 如果您不想保护您的安装,则使用
# etcd_secure: False
获取etcd集群详情
etcdctl endpoint status --cluster -w table
许可证
MIT
作者信息
Andrew Rothstein andrew.rothstein@gmail.com
安装
ansible-galaxy install andrewrothstein.etcd_cluster
许可证
mit
下载
1.8k
拥有者
Dreamer, coder