andrewrothstein.etcd_cluster

andrewrothstein.etcd_cluster

构建状态

配置一个etcd集群。 在每个etcd-master组中的主机上运行投票节点,在其余etcd组中的主机上运行代理。

要求

查看 meta/main.yml

角色变量

查看 defaults/main.yml

依赖关系

查看 meta/main.yml

示例剧本

示例 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

关于项目

configures an etcd cluster

安装
ansible-galaxy install andrewrothstein.etcd_cluster
许可证
mit
下载
1.8k
拥有者
Dreamer, coder