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
下载
431.7k
拥有者
Dreamer, coder